Diff of the two buildlogs: -- --- b1/build.log 2023-05-05 01:51:33.067763720 +0000 +++ b2/build.log 2023-05-05 02:00:12.196986791 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu May 4 13:43:32 -12 2023 -I: pbuilder-time-stamp: 1683251012 +I: Current time: Thu Jun 6 22:14:35 +14 2024 +I: pbuilder-time-stamp: 1717661675 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./xsd_4.0.0.orig.tar.bz2] I: copying [./xsd_4.0.0-9.debian.tar.xz] I: Extracting source -gpgv: Signature made Sat Aug 21 13:44:50 2021 -12 +gpgv: Signature made Sun Aug 22 15:44:50 2021 +14 gpgv: using RSA key 9236557B170C87F8821C0AC3C1E0D92E986F7C7E gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./xsd_4.0.0-9.dsc: no acceptable signature found @@ -33,135 +33,167 @@ dpkg-source: info: applying 0120-g++10.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2626100/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3337148/tmp/hooks/D01_modify_environment starting +debug: Running on ionos5-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jun 6 22:14 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/3337148/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3337148/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='b61e3815e8314426899ca7450daef11c' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='2626100' - PS1='# ' - PS2='> ' + INVOCATION_ID=08b7a5a9c0484ff2906c1a5ab9f42d62 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=3337148 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.lASDtHRK/pbuilderrc_3VtW --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.lASDtHRK/b1 --logfile b1/build.log xsd_4.0.0-9.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.lASDtHRK/pbuilderrc_vNTJ --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.lASDtHRK/b2 --logfile b2/build.log --extrapackages usrmerge xsd_4.0.0-9.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos1-amd64 5.10.0-22-amd64 #1 SMP Debian 5.10.178-3 (2023-04-22) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-0.deb11.6-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.15-1~bpo11+1 (2023-03-16) x86_64 GNU/Linux I: ls -l /bin total 5632 - -rwxr-xr-x 1 root root 1265648 Apr 23 09:23 bash - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 14568 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 44016 Sep 20 2022 cat - -rwxr-xr-x 1 root root 68656 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 64496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 72752 Sep 20 2022 chown - -rwxr-xr-x 1 root root 151152 Sep 20 2022 cp - -rwxr-xr-x 1 root root 125640 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 121904 Sep 20 2022 date - -rwxr-xr-x 1 root root 89240 Sep 20 2022 dd - -rwxr-xr-x 1 root root 102200 Sep 20 2022 df - -rwxr-xr-x 1 root root 151344 Sep 20 2022 dir - -rwxr-xr-x 1 root root 88656 Mar 22 22:02 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 43856 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 35664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 85600 Mar 22 22:02 findmnt - -rwsr-xr-x 1 root root 35128 Mar 22 20:35 fusermount - -rwxr-xr-x 1 root root 203152 Jan 24 02:43 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 98136 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 22680 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 72824 Sep 20 2022 ln - -rwxr-xr-x 1 root root 53024 Mar 23 00:40 login - -rwxr-xr-x 1 root root 151344 Sep 20 2022 ls - -rwxr-xr-x 1 root root 207168 Mar 22 22:02 lsblk - -rwxr-xr-x 1 root root 97552 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 72912 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 43952 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 59712 Mar 22 22:02 more - -rwsr-xr-x 1 root root 59704 Mar 22 22:02 mount - -rwxr-xr-x 1 root root 18744 Mar 22 22:02 mountpoint - -rwxr-xr-x 1 root root 142968 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43952 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 09:23 rbash -> bash - -rwxr-xr-x 1 root root 52112 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 72752 Sep 20 2022 rm - -rwxr-xr-x 1 root root 56240 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 27560 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 126424 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 43888 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 85008 Sep 20 2022 stty - -rwsr-xr-x 1 root root 72000 Mar 22 22:02 su - -rwxr-xr-x 1 root root 39824 Sep 20 2022 sync - -rwxr-xr-x 1 root root 531984 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 14520 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 109616 Sep 20 2022 touch - -rwxr-xr-x 1 root root 35664 Sep 20 2022 true - -rwxr-xr-x 1 root root 14568 Mar 22 20:35 ulockmgr_server - -rwsr-xr-x 1 root root 35128 Mar 22 22:02 umount - -rwxr-xr-x 1 root root 43888 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 151344 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 72024 Mar 22 22:02 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/2626100/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1265648 Apr 24 2023 bash + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 14568 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 44016 Sep 21 2022 cat + -rwxr-xr-x 1 root root 68656 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 64496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 72752 Sep 21 2022 chown + -rwxr-xr-x 1 root root 151152 Sep 21 2022 cp + -rwxr-xr-x 1 root root 125640 Jan 6 2023 dash + -rwxr-xr-x 1 root root 121904 Sep 21 2022 date + -rwxr-xr-x 1 root root 89240 Sep 21 2022 dd + -rwxr-xr-x 1 root root 102200 Sep 21 2022 df + -rwxr-xr-x 1 root root 151344 Sep 21 2022 dir + -rwxr-xr-x 1 root root 88656 Mar 24 2023 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 2022 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 2022 domainname -> hostname + -rwxr-xr-x 1 root root 43856 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 35664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 85600 Mar 24 2023 findmnt + -rwsr-xr-x 1 root root 35128 Mar 23 2023 fusermount + -rwxr-xr-x 1 root root 203152 Jan 25 2023 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 98136 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 22680 Dec 20 2022 hostname + -rwxr-xr-x 1 root root 72824 Sep 21 2022 ln + -rwxr-xr-x 1 root root 53024 Mar 24 2023 login + -rwxr-xr-x 1 root root 151344 Sep 21 2022 ls + -rwxr-xr-x 1 root root 207168 Mar 24 2023 lsblk + -rwxr-xr-x 1 root root 97552 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 72912 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 43952 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 59712 Mar 24 2023 more + -rwsr-xr-x 1 root root 59704 Mar 24 2023 mount + -rwxr-xr-x 1 root root 18744 Mar 24 2023 mountpoint + -rwxr-xr-x 1 root root 142968 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 2022 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 2023 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43952 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 2023 rbash -> bash + -rwxr-xr-x 1 root root 52112 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 72752 Sep 21 2022 rm + -rwxr-xr-x 1 root root 56240 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 27560 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 126424 Jan 6 2023 sed + lrwxrwxrwx 1 root root 9 Jun 6 22:14 sh -> /bin/bash + -rwxr-xr-x 1 root root 43888 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 85008 Sep 21 2022 stty + -rwsr-xr-x 1 root root 72000 Mar 24 2023 su + -rwxr-xr-x 1 root root 39824 Sep 21 2022 sync + -rwxr-xr-x 1 root root 531984 Apr 7 2023 tar + -rwxr-xr-x 1 root root 14520 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 109616 Sep 21 2022 touch + -rwxr-xr-x 1 root root 35664 Sep 21 2022 true + -rwxr-xr-x 1 root root 14568 Mar 23 2023 ulockmgr_server + -rwsr-xr-x 1 root root 35128 Mar 24 2023 umount + -rwxr-xr-x 1 root root 43888 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 151344 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 72024 Mar 24 2023 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 2022 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/3337148/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -267,7 +299,7 @@ Get: 56 http://deb.debian.org/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-9 [381 kB] Get: 57 http://deb.debian.org/debian bookworm/main amd64 libxerces-c3.2 amd64 3.2.4+debian-1 [874 kB] Get: 58 http://deb.debian.org/debian bookworm/main amd64 libxerces-c-dev amd64 3.2.4+debian-1 [1683 kB] -Fetched 45.8 MB in 1s (78.0 MB/s) +Fetched 45.8 MB in 1s (80.8 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19596 files and directories currently installed.) @@ -513,8 +545,19 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/xsd-4.0.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../xsd_4.0.0-9_source.changes +I: user script /srv/workspace/pbuilder/3337148/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/3337148/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/xsd-4.0.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../xsd_4.0.0-9_source.changes dpkg-buildpackage: info: source package xsd dpkg-buildpackage: info: source version 4.0.0-9 dpkg-buildpackage: info: source distribution unstable @@ -524,7 +567,7 @@ debian/rules clean dh clean dh_auto_clean - make -j15 clean + make -j16 clean make[1]: Entering directory '/build/xsd-4.0.0' rm -f /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/xsd-frontend.l /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/libxsd-frontend.a rm -f /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/xsd-frontend.l.cpp-options @@ -638,8 +681,8 @@ rm -f /build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-driver.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pskel.cxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pskel.hxx -rm -f /build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pimpl.cxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pskel.ixx +rm -f /build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pimpl.cxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pimpl.hxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-driver.cxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/parser/list/driver.o /build/xsd-4.0.0/xsd/tests/cxx/parser/list/driver @@ -757,243 +800,243 @@ rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.ixx -rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/driver.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx -rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/driver.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.ixx -rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/driver.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.ixx -rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/driver.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.ixx -rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/driver.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx -rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/containment/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/containment/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/containment/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/containment/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/containment/driver.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.cxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx -rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/driver.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx -rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/driver.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.cxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.hxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.ixx -rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/detach/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/detach/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/detach/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/detach/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/detach/driver.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.cxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.hxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.ixx -rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/driver.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/dom-parse.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.hxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.ixx -rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/driver.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.ixx -rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/driver.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.ixx -rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/iso-8859-1/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/iso-8859-1/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/iso-8859-1/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/iso-8859-1/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/iso-8859-1/driver.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/iso-8859-1/test.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/iso-8859-1/test.cxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/iso-8859-1/test.hxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/iso-8859-1/test.ixx -rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/iso-8859-1/test-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/driver.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.ixx -rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor/driver.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor/test.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor/test.cxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor/test.hxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor/test.ixx -rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor/test-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/driver.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.ixx -rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/float/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/float/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/float/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/float/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/float/driver.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.ixx -rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/list/ctor/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/list/ctor/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/float/test-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/list/ctor/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/list/ctor/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/list/ctor/driver.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/list/ctor/test.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/list/ctor/test.cxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/list/ctor/test.hxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/list/ctor/test.ixx -rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/list/ctor/test-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/driver.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.hxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.ixx -rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/driver.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.ixx -rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/driver.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.hxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.ixx -rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/driver.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.hxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.ixx -rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/order/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/order/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/order/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/order/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/order/driver.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.hxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.ixx -rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/order/test-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/driver.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.cxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.hxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.ixx -rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/driver.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.cxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.ixx -rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/driver.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.ixx -rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/driver.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/foo.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/bar.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.hxx -rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/foo.cxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.ixx -rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/foo.hxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test-fwd.hxx -rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/bar.cxx +rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/foo.cxx +rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/foo.hxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/foo.ixx -rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/bar.hxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/foo-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/bar.cxx +rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/bar.hxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/bar.ixx -rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/bar-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/driver.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.cxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.hxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.ixx -rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/driver.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/test.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/test.cxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/test.hxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/test.ixx -rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/test-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor/driver.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor/test.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor/test.cxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor/test.hxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor/test.ixx -rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor/test-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard/driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard/driver.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard/test.o rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard/test.cxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard/test.hxx rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard/test.ixx -rm -f /build/xsd-4.0.0/xsd/examples/cxx/parser/generated/library-driver.o /build/xsd-4.0.0/xsd/examples/cxx/parser/generated/library-driver rm -f /build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard/test-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/examples/cxx/parser/generated/library-driver.o /build/xsd-4.0.0/xsd/examples/cxx/parser/generated/library-driver rm -f /build/xsd-4.0.0/xsd/examples/cxx/parser/generated/library-pskel.o rm -f /build/xsd-4.0.0/xsd/examples/cxx/parser/generated/library-pimpl.o rm -f /build/xsd-4.0.0/xsd/examples/cxx/parser/generated/library-driver.o rm -f /build/xsd-4.0.0/xsd/examples/cxx/parser/generated/library-pskel.cxx rm -f /build/xsd-4.0.0/xsd/examples/cxx/parser/generated/library-pskel.hxx -rm -f /build/xsd-4.0.0/xsd/examples/cxx/parser/generated/library-pimpl.cxx rm -f /build/xsd-4.0.0/xsd/examples/cxx/parser/generated/library-pskel.ixx +rm -f /build/xsd-4.0.0/xsd/examples/cxx/parser/generated/library-pimpl.cxx rm -f /build/xsd-4.0.0/xsd/examples/cxx/parser/generated/library-pimpl.hxx rm -f /build/xsd-4.0.0/xsd/examples/cxx/parser/generated/library-driver.cxx rm -f /build/xsd-4.0.0/xsd/examples/cxx/parser/hello/driver.o /build/xsd-4.0.0/xsd/examples/cxx/parser/hello/driver @@ -1061,8 +1104,8 @@ rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/caching/library.cxx rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/caching/library.hxx rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/caching/library.ixx -rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/embedded/driver.o /build/xsd-4.0.0/xsd/examples/cxx/tree/embedded/driver rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/caching/library-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/embedded/driver.o /build/xsd-4.0.0/xsd/examples/cxx/tree/embedded/driver rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/embedded/xsdbin.o /build/xsd-4.0.0/xsd/examples/cxx/tree/embedded/xsdbin rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/embedded/driver.o rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/embedded/grammar-input-stream.o @@ -1072,8 +1115,8 @@ rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/embedded/library.cxx rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/embedded/library.hxx rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/embedded/library.ixx -rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/comments/driver.o /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/comments/driver rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/embedded/library-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/comments/driver.o /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/comments/driver rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/comments/driver.o rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/comments/xml-schema-custom.o rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/comments/dom-parse.o @@ -1081,62 +1124,62 @@ rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/comments/people.cxx rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/comments/people.hxx rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/comments/people.ixx -rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/contacts/driver.o /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/contacts/driver rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/comments/people-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/contacts/driver.o /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/contacts/driver rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/contacts/driver.o rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/contacts/contacts-custom.o rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/contacts/contacts.o rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/contacts/contacts.cxx rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/contacts/contacts.hxx rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/contacts/contacts.ixx -rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/double/driver.o /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/double/driver rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/contacts/contacts-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/double/driver.o /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/double/driver rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/double/driver.o rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/double/double-custom.o rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/double/order.o rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/double/order.cxx rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/double/order.hxx rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/double/order.ixx -rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/mixed/driver.o /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/mixed/driver rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/double/order-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/mixed/driver.o /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/mixed/driver rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/mixed/driver.o rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/mixed/people-custom.o rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/mixed/people.o rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/mixed/people.cxx rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/mixed/people.hxx rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/mixed/people.ixx -rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/taxonomy/driver.o /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/taxonomy/driver rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/mixed/people-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/taxonomy/driver.o /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/taxonomy/driver rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/taxonomy/driver.o rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/taxonomy/people-custom.o rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/taxonomy/people.o rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/taxonomy/people.cxx rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/taxonomy/people.hxx rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/taxonomy/people.ixx -rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/wildcard/driver.o /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/wildcard/driver rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/taxonomy/people-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/wildcard/driver.o /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/wildcard/driver rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/wildcard/driver.o rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/wildcard/wildcard-custom.o rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/wildcard/wildcard.o rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/wildcard/wildcard.cxx rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/wildcard/wildcard.hxx rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/wildcard/wildcard.ixx -rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/hello/driver.o /build/xsd-4.0.0/xsd/examples/cxx/tree/hello/driver rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/custom/wildcard/wildcard-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/hello/driver.o /build/xsd-4.0.0/xsd/examples/cxx/tree/hello/driver rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/hello/driver.o rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/hello/hello.o rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/hello/hello.cxx rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/hello/hello.hxx rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/hello/hello.ixx -rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/library/driver.o /build/xsd-4.0.0/xsd/examples/cxx/tree/library/driver rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/hello/hello-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/library/driver.o /build/xsd-4.0.0/xsd/examples/cxx/tree/library/driver rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/library/driver.o rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/library/library.o rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/library/library.cxx rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/library/library.hxx rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/library/library.ixx -rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/messaging/driver.o /build/xsd-4.0.0/xsd/examples/cxx/tree/messaging/driver rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/library/library-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/messaging/driver.o /build/xsd-4.0.0/xsd/examples/cxx/tree/messaging/driver rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/messaging/driver.o rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/messaging/dom-parse.o rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/messaging/dom-serialize.o @@ -1144,37 +1187,37 @@ rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/messaging/protocol.cxx rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/messaging/protocol.hxx rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/messaging/protocol.ixx -rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/mixed/driver.o /build/xsd-4.0.0/xsd/examples/cxx/tree/mixed/driver rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/messaging/protocol-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/mixed/driver.o /build/xsd-4.0.0/xsd/examples/cxx/tree/mixed/driver rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/mixed/driver.o rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/mixed/text.o rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/mixed/text.cxx rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/mixed/text.hxx rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/mixed/text.ixx -rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/multiroot/driver.o /build/xsd-4.0.0/xsd/examples/cxx/tree/multiroot/driver rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/mixed/text-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/multiroot/driver.o /build/xsd-4.0.0/xsd/examples/cxx/tree/multiroot/driver rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/multiroot/driver.o rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/multiroot/dom-parse.o rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/multiroot/protocol.o rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/multiroot/protocol.cxx rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/multiroot/protocol.hxx rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/multiroot/protocol.ixx -rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/order/element/driver.o /build/xsd-4.0.0/xsd/examples/cxx/tree/order/element/driver rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/multiroot/protocol-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/order/element/driver.o /build/xsd-4.0.0/xsd/examples/cxx/tree/order/element/driver rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/order/element/driver.o rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/order/element/transactions.o rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/order/element/transactions.cxx rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/order/element/transactions.hxx rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/order/element/transactions.ixx -rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/order/mixed/driver.o /build/xsd-4.0.0/xsd/examples/cxx/tree/order/mixed/driver rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/order/element/transactions-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/order/mixed/driver.o /build/xsd-4.0.0/xsd/examples/cxx/tree/order/mixed/driver rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/order/mixed/driver.o rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/order/mixed/text.o rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/order/mixed/text.cxx rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/order/mixed/text.hxx rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/order/mixed/text.ixx -rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/performance/driver.o /build/xsd-4.0.0/xsd/examples/cxx/tree/performance/driver rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/order/mixed/text-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/performance/driver.o /build/xsd-4.0.0/xsd/examples/cxx/tree/performance/driver rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/performance/driver.o rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/performance/parsing.o rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/performance/serialization.o @@ -1183,15 +1226,15 @@ rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/performance/test.cxx rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/performance/test.hxx rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/performance/test.ixx -rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/polymorphism/driver.o /build/xsd-4.0.0/xsd/examples/cxx/tree/polymorphism/driver rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/performance/test-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/polymorphism/driver.o /build/xsd-4.0.0/xsd/examples/cxx/tree/polymorphism/driver rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/polymorphism/driver.o rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/polymorphism/supermen.o rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/polymorphism/supermen.cxx rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/polymorphism/supermen.hxx rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/polymorphism/supermen.ixx -rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/streaming/driver.o /build/xsd-4.0.0/xsd/examples/cxx/tree/streaming/driver rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/polymorphism/supermen-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/streaming/driver.o /build/xsd-4.0.0/xsd/examples/cxx/tree/streaming/driver rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/streaming/driver.o rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/streaming/parser.o rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/streaming/serializer.o @@ -1200,8 +1243,8 @@ rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/streaming/position.cxx rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/streaming/position.hxx rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/streaming/position.ixx -rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/wildcard/driver.o /build/xsd-4.0.0/xsd/examples/cxx/tree/wildcard/driver rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/streaming/position-fwd.hxx +rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/wildcard/driver.o /build/xsd-4.0.0/xsd/examples/cxx/tree/wildcard/driver rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/wildcard/driver.o rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/wildcard/email.o rm -f /build/xsd-4.0.0/xsd/examples/cxx/tree/wildcard/email.cxx @@ -2017,7 +2060,7 @@ dh_autoreconf dh_auto_configure dh_auto_build - make -j15 "INSTALL=install --strip-program=true" + make -j16 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/xsd-4.0.0' x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/xsd.o -c /build/xsd-4.0.0/xsd/xsd/xsd.cxx x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/elements.o -c /build/xsd-4.0.0/xsd/xsd/cxx/elements.cxx @@ -2034,28 +2077,14 @@ x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/parser/parser-source.o -c /build/xsd-4.0.0/xsd/xsd/cxx/parser/parser-source.cxx x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/parser/parser-forward.o -c /build/xsd-4.0.0/xsd/xsd/cxx/parser/parser-forward.cxx x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/parser/impl-header.o -c /build/xsd-4.0.0/xsd/xsd/cxx/parser/impl-header.cxx -In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, - from /build/xsd-4.0.0/xsd/xsd/xsd.hxx:12, - from /build/xsd-4.0.0/xsd/xsd/cxx/parser/validator.hxx:8, - from /build/xsd-4.0.0/xsd/xsd/cxx/parser/validator.cxx:8: -/build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc); - | ^~~~~ -/build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:64:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 64 | operator new (std::size_t, share) throw (std::bad_alloc); - | ^~~~~ -In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:89: -/build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.ixx:62:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 62 | operator new (std::size_t n, share) throw (std::bad_alloc) - | ^~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/parser/impl-source.o -c /build/xsd-4.0.0/xsd/xsd/cxx/parser/impl-source.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/annotation.hxx:8, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph.hxx:8, - from /build/xsd-4.0.0/xsd/xsd/cxx/elements.hxx:15, - from /build/xsd-4.0.0/xsd/xsd/cxx/parser/elements.hxx:14, - from /build/xsd-4.0.0/xsd/xsd/cxx/parser/elements.cxx:5: + from /build/xsd-4.0.0/xsd/xsd/cxx/parser/name-processor.hxx:8, + from /build/xsd-4.0.0/xsd/xsd/cxx/parser/name-processor.cxx:10: /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc); | ^~~~~ @@ -2076,24 +2105,13 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19, - from /build/xsd-4.0.0/xsd/xsd/xsd.hxx:15: -/build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 147 | std::auto_ptr holder_; - | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:8: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/annotation.hxx:8, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph.hxx:8, - from /build/xsd-4.0.0/xsd/xsd/cxx/parser/name-processor.hxx:8, - from /build/xsd-4.0.0/xsd/xsd/cxx/parser/name-processor.cxx:10: + from /build/xsd-4.0.0/xsd/xsd/cxx/elements.hxx:15, + from /build/xsd-4.0.0/xsd/xsd/cxx/elements.cxx:5: /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc); | ^~~~~ @@ -2105,11 +2123,9 @@ 62 | operator new (std::size_t n, share) throw (std::bad_alloc) | ^~~~~ In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, - from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/schema.hxx:11, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/parser.hxx:12, - from /build/xsd-4.0.0/xsd/xsd/xsd.cxx:16: + from /build/xsd-4.0.0/xsd/xsd/xsd.hxx:12, + from /build/xsd-4.0.0/xsd/xsd/cxx/parser/validator.hxx:8, + from /build/xsd-4.0.0/xsd/xsd/cxx/parser/validator.cxx:8: /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc); | ^~~~~ @@ -2120,40 +2136,26 @@ /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.ixx:62:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 62 | operator new (std::size_t n, share) throw (std::bad_alloc) | ^~~~~ -In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, - from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/annotation.hxx:8, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph.hxx:8, - from /build/xsd-4.0.0/xsd/xsd/cxx/parser/state-processor.hxx:8, - from /build/xsd-4.0.0/xsd/xsd/cxx/parser/state-processor.cxx:8: -/build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc); - | ^~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/parser/driver-source.o -c /build/xsd-4.0.0/xsd/xsd/cxx/parser/driver-source.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 147 | std::auto_ptr holder_; | ^~~~~~~~ -/build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:64:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 64 | operator new (std::size_t, share) throw (std::bad_alloc); - | ^~~~~ In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/xsd/xsd.cxx:7: + from /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:8: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:89: -/build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.ixx:62:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 62 | operator new (std::size_t n, share) throw (std::bad_alloc) - | ^~~~~ In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/annotation.hxx:8, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph.hxx:8, from /build/xsd-4.0.0/xsd/xsd/cxx/elements.hxx:15, - from /build/xsd-4.0.0/xsd/xsd/cxx/elements.cxx:5: + from /build/xsd-4.0.0/xsd/xsd/cxx/parser/elements.hxx:14, + from /build/xsd-4.0.0/xsd/xsd/cxx/parser/impl-header.hxx:8, + from /build/xsd-4.0.0/xsd/xsd/cxx/parser/impl-header.cxx:5: /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc); | ^~~~~ @@ -2171,8 +2173,8 @@ from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph.hxx:8, from /build/xsd-4.0.0/xsd/xsd/cxx/elements.hxx:15, from /build/xsd-4.0.0/xsd/xsd/cxx/parser/elements.hxx:14, - from /build/xsd-4.0.0/xsd/xsd/cxx/parser/parser-forward.hxx:8, - from /build/xsd-4.0.0/xsd/xsd/cxx/parser/parser-forward.cxx:5: + from /build/xsd-4.0.0/xsd/xsd/cxx/parser/parser-header.hxx:8, + from /build/xsd-4.0.0/xsd/xsd/cxx/parser/parser-header.cxx:7: /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc); | ^~~~~ @@ -2183,33 +2185,12 @@ /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.ixx:62:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 62 | operator new (std::size_t n, share) throw (std::bad_alloc) | ^~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/parser/impl-source.o -c /build/xsd-4.0.0/xsd/xsd/cxx/parser/impl-source.cxx -In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: -/build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 147 | std::auto_ptr holder_; - | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:8: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: -/build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 147 | std::auto_ptr holder_; - | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:8: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/annotation.hxx:8, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph.hxx:8, - from /build/xsd-4.0.0/xsd/xsd/cxx/parser/generator.cxx:15: + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/schema.hxx:11, + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/parser.hxx:12, + from /build/xsd-4.0.0/xsd/xsd/xsd.cxx:16: /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc); | ^~~~~ @@ -2226,18 +2207,18 @@ 147 | std::auto_ptr holder_; | ^~~~~~~~ In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:8: + from /build/xsd-4.0.0/xsd/xsd/xsd.cxx:7: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19, + from /build/xsd-4.0.0/xsd/xsd/xsd.hxx:15: /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 147 | std::auto_ptr holder_; | ^~~~~~~~ In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/libcutl/cutl/compiler/code-stream.hxx:8, - from /build/xsd-4.0.0/xsd/xsd/cxx/parser/generator.cxx:11: + from /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:8: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -2258,8 +2239,8 @@ from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph.hxx:8, from /build/xsd-4.0.0/xsd/xsd/cxx/elements.hxx:15, from /build/xsd-4.0.0/xsd/xsd/cxx/parser/elements.hxx:14, - from /build/xsd-4.0.0/xsd/xsd/cxx/parser/parser-inline.hxx:8, - from /build/xsd-4.0.0/xsd/xsd/cxx/parser/parser-inline.cxx:5: + from /build/xsd-4.0.0/xsd/xsd/cxx/parser/parser-source.hxx:8, + from /build/xsd-4.0.0/xsd/xsd/cxx/parser/parser-source.cxx:5: /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc); | ^~~~~ @@ -2270,30 +2251,6 @@ /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.ixx:62:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 62 | operator new (std::size_t n, share) throw (std::bad_alloc) | ^~~~~ -/build/xsd-4.0.0/libxsd-frontend/xsd-frontend/parser.hxx:55:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 55 | std::auto_ptr - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/libxsd-frontend/xsd-frontend/parser.hxx:62:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 62 | std::auto_ptr - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/libxsd-frontend/xsd-frontend/parser.hxx:69:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 69 | std::auto_ptr - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/libxsd-frontend/xsd-frontend/parser.hxx:74:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 74 | std::auto_ptr impl_; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] @@ -2311,8 +2268,7 @@ from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph.hxx:8, from /build/xsd-4.0.0/xsd/xsd/cxx/elements.hxx:15, from /build/xsd-4.0.0/xsd/xsd/cxx/parser/elements.hxx:14, - from /build/xsd-4.0.0/xsd/xsd/cxx/parser/parser-header.hxx:8, - from /build/xsd-4.0.0/xsd/xsd/cxx/parser/parser-header.cxx:7: + from /build/xsd-4.0.0/xsd/xsd/cxx/parser/type-processor.cxx:7: /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc); | ^~~~~ @@ -2323,15 +2279,6 @@ /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.ixx:62:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 62 | operator new (std::size_t n, share) throw (std::bad_alloc) | ^~~~~ -/build/xsd-4.0.0/xsd/xsd/cxx/literal-map.cxx: In function 'bool CXX::read_literal_map(const XSDFrontend::NarrowString&, StringLiteralMap&)': -/build/xsd-4.0.0/xsd/xsd/cxx/literal-map.cxx:241:7: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 241 | auto_ptr parser ( - | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/xsd/cxx/literal-map.cxx:5: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, @@ -2339,7 +2286,8 @@ from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph.hxx:8, from /build/xsd-4.0.0/xsd/xsd/cxx/elements.hxx:15, from /build/xsd-4.0.0/xsd/xsd/cxx/parser/elements.hxx:14, - from /build/xsd-4.0.0/xsd/xsd/cxx/parser/type-processor.cxx:7: + from /build/xsd-4.0.0/xsd/xsd/cxx/parser/parser-inline.hxx:8, + from /build/xsd-4.0.0/xsd/xsd/cxx/parser/parser-inline.cxx:5: /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc); | ^~~~~ @@ -2350,25 +2298,13 @@ /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.ixx:62:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 62 | operator new (std::size_t n, share) throw (std::bad_alloc) | ^~~~~ -In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: -/build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 147 | std::auto_ptr holder_; - | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:8: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/annotation.hxx:8, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph.hxx:8, - from /build/xsd-4.0.0/xsd/xsd/cxx/elements.hxx:15, - from /build/xsd-4.0.0/xsd/xsd/cxx/parser/elements.hxx:14, - from /build/xsd-4.0.0/xsd/xsd/cxx/parser/parser-source.hxx:8, - from /build/xsd-4.0.0/xsd/xsd/cxx/parser/parser-source.cxx:5: + from /build/xsd-4.0.0/xsd/xsd/cxx/parser/state-processor.hxx:8, + from /build/xsd-4.0.0/xsd/xsd/cxx/parser/state-processor.cxx:8: /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc); | ^~~~~ @@ -2379,6 +2315,16 @@ /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.ixx:62:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 62 | operator new (std::size_t n, share) throw (std::bad_alloc) | ^~~~~ +In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: +/build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 147 | std::auto_ptr holder_; + | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:8: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, @@ -2386,8 +2332,7 @@ from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph.hxx:8, from /build/xsd-4.0.0/xsd/xsd/cxx/elements.hxx:15, from /build/xsd-4.0.0/xsd/xsd/cxx/parser/elements.hxx:14, - from /build/xsd-4.0.0/xsd/xsd/cxx/parser/impl-header.hxx:8, - from /build/xsd-4.0.0/xsd/xsd/cxx/parser/impl-header.cxx:5: + from /build/xsd-4.0.0/xsd/xsd/cxx/parser/elements.cxx:5: /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc); | ^~~~~ @@ -2408,41 +2353,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/xsd/xsd.cxx: In function 'int main(int, char**)': -/build/xsd-4.0.0/xsd/xsd/xsd.cxx:273:5: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 273 | auto_ptr tree_ops ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/xsd/xsd.cxx:276:5: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 276 | auto_ptr parser_ops ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/xsd/xsd.cxx:438:9: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 438 | auto_ptr schema; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/xsd/xsd.cxx:616:7: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 616 | auto_ptr schema (parser.parse (paths)); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: -/build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 147 | std::auto_ptr holder_; - | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:8: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] @@ -2453,17 +2363,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/code-stream.hxx:152: -/build/xsd-4.0.0/libcutl/cutl/compiler/code-stream.txx: In instantiation of 'cutl::compiler::ostream_filter::~ostream_filter() [with S = cutl::compiler::sloc_counter; C = wchar_t]': -/build/xsd-4.0.0/xsd/xsd/cxx/parser/generator.cxx:771:30: required from here -/build/xsd-4.0.0/libcutl/cutl/compiler/code-stream.txx:89:9: warning: 'throw' will always call 'terminate' [-Wterminate] - 89 | throw; - | ^~~~~ -/build/xsd-4.0.0/libcutl/cutl/compiler/code-stream.txx:89:9: note: in C++11 destructors default to 'noexcept' -/build/xsd-4.0.0/libcutl/cutl/compiler/code-stream.txx: In instantiation of 'cutl::compiler::ostream_filter::~ostream_filter() [with S = cutl::compiler::cxx_indenter; C = wchar_t]': -/build/xsd-4.0.0/xsd/xsd/cxx/parser/generator.cxx:816:30: required from here -/build/xsd-4.0.0/libcutl/cutl/compiler/code-stream.txx:89:9: warning: 'throw' will always call 'terminate' [-Wterminate] -/build/xsd-4.0.0/libcutl/cutl/compiler/code-stream.txx:89:9: note: in C++11 destructors default to 'noexcept' In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, @@ -2493,16 +2392,12 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/parser/driver-source.o -c /build/xsd-4.0.0/xsd/xsd/cxx/parser/driver-source.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/annotation.hxx:8, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph.hxx:8, - from /build/xsd-4.0.0/xsd/xsd/cxx/elements.hxx:15, - from /build/xsd-4.0.0/xsd/xsd/cxx/parser/elements.hxx:14, - from /build/xsd-4.0.0/xsd/xsd/cxx/parser/driver-source.hxx:8, - from /build/xsd-4.0.0/xsd/xsd/cxx/parser/driver-source.cxx:9: + from /build/xsd-4.0.0/xsd/xsd/cxx/parser/generator.cxx:15: /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc); | ^~~~~ @@ -2523,8 +2418,60 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/parser/element-validation-source.o -c /build/xsd-4.0.0/xsd/xsd/cxx/parser/element-validation-source.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/parser/attribute-validation-source.o -c /build/xsd-4.0.0/xsd/xsd/cxx/parser/attribute-validation-source.cxx +In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: +/build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 147 | std::auto_ptr holder_; + | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/libcutl/cutl/compiler/code-stream.hxx:8, + from /build/xsd-4.0.0/xsd/xsd/cxx/parser/generator.cxx:11: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: +/build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 147 | std::auto_ptr holder_; + | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:8: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/xsd/cxx/literal-map.cxx: In function 'bool CXX::read_literal_map(const XSDFrontend::NarrowString&, StringLiteralMap&)': +/build/xsd-4.0.0/xsd/xsd/cxx/literal-map.cxx:241:7: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 241 | auto_ptr parser ( + | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/xsd/xsd/cxx/literal-map.cxx:5: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/libxsd-frontend/xsd-frontend/parser.hxx:55:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 55 | std::auto_ptr + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/libxsd-frontend/xsd-frontend/parser.hxx:62:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 62 | std::auto_ptr + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/libxsd-frontend/xsd-frontend/parser.hxx:69:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 69 | std::auto_ptr + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/libxsd-frontend/xsd-frontend/parser.hxx:74:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 74 | std::auto_ptr impl_; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, @@ -2532,8 +2479,8 @@ from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph.hxx:8, from /build/xsd-4.0.0/xsd/xsd/cxx/elements.hxx:15, from /build/xsd-4.0.0/xsd/xsd/cxx/parser/elements.hxx:14, - from /build/xsd-4.0.0/xsd/xsd/cxx/parser/element-validation-source.hxx:8, - from /build/xsd-4.0.0/xsd/xsd/cxx/parser/element-validation-source.cxx:7: + from /build/xsd-4.0.0/xsd/xsd/cxx/parser/parser-forward.hxx:8, + from /build/xsd-4.0.0/xsd/xsd/cxx/parser/parser-forward.cxx:5: /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc); | ^~~~~ @@ -2561,8 +2508,8 @@ from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph.hxx:8, from /build/xsd-4.0.0/xsd/xsd/cxx/elements.hxx:15, from /build/xsd-4.0.0/xsd/xsd/cxx/parser/elements.hxx:14, - from /build/xsd-4.0.0/xsd/xsd/cxx/parser/attribute-validation-source.hxx:8, - from /build/xsd-4.0.0/xsd/xsd/cxx/parser/attribute-validation-source.cxx:5: + from /build/xsd-4.0.0/xsd/xsd/cxx/parser/driver-source.hxx:8, + from /build/xsd-4.0.0/xsd/xsd/cxx/parser/driver-source.cxx:9: /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc); | ^~~~~ @@ -2573,6 +2520,19 @@ /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.ixx:62:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 62 | operator new (std::size_t n, share) throw (std::bad_alloc) | ^~~~~ +/build/xsd-4.0.0/xsd/xsd/xsd.cxx: In function 'int main(int, char**)': +/build/xsd-4.0.0/xsd/xsd/xsd.cxx:273:5: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 273 | auto_ptr tree_ops ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/xsd/xsd.cxx:276:5: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 276 | auto_ptr parser_ops ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] @@ -2583,7 +2543,30 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/parser/characters-validation-source.o -c /build/xsd-4.0.0/xsd/xsd/cxx/parser/characters-validation-source.cxx +/build/xsd-4.0.0/xsd/xsd/xsd.cxx:438:9: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 438 | auto_ptr schema; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/xsd/xsd.cxx:616:7: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 616 | auto_ptr schema (parser.parse (paths)); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/code-stream.hxx:152: +/build/xsd-4.0.0/libcutl/cutl/compiler/code-stream.txx: In instantiation of 'cutl::compiler::ostream_filter::~ostream_filter() [with S = cutl::compiler::sloc_counter; C = wchar_t]': +/build/xsd-4.0.0/xsd/xsd/cxx/parser/generator.cxx:771:30: required from here +/build/xsd-4.0.0/libcutl/cutl/compiler/code-stream.txx:89:9: warning: 'throw' will always call 'terminate' [-Wterminate] + 89 | throw; + | ^~~~~ +/build/xsd-4.0.0/libcutl/cutl/compiler/code-stream.txx:89:9: note: in C++11 destructors default to 'noexcept' +/build/xsd-4.0.0/libcutl/cutl/compiler/code-stream.txx: In instantiation of 'cutl::compiler::ostream_filter::~ostream_filter() [with S = cutl::compiler::cxx_indenter; C = wchar_t]': +/build/xsd-4.0.0/xsd/xsd/cxx/parser/generator.cxx:816:30: required from here +/build/xsd-4.0.0/libcutl/cutl/compiler/code-stream.txx:89:9: warning: 'throw' will always call 'terminate' [-Wterminate] +/build/xsd-4.0.0/libcutl/cutl/compiler/code-stream.txx:89:9: note: in C++11 destructors default to 'noexcept' +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/parser/element-validation-source.o -c /build/xsd-4.0.0/xsd/xsd/cxx/parser/element-validation-source.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, @@ -2591,8 +2574,8 @@ from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph.hxx:8, from /build/xsd-4.0.0/xsd/xsd/cxx/elements.hxx:15, from /build/xsd-4.0.0/xsd/xsd/cxx/parser/elements.hxx:14, - from /build/xsd-4.0.0/xsd/xsd/cxx/parser/characters-validation-source.hxx:8, - from /build/xsd-4.0.0/xsd/xsd/cxx/parser/characters-validation-source.cxx:5: + from /build/xsd-4.0.0/xsd/xsd/cxx/parser/element-validation-source.hxx:8, + from /build/xsd-4.0.0/xsd/xsd/cxx/parser/element-validation-source.cxx:7: /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc); | ^~~~~ @@ -2613,6 +2596,8 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/parser/attribute-validation-source.o -c /build/xsd-4.0.0/xsd/xsd/cxx/parser/attribute-validation-source.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/parser/characters-validation-source.o -c /build/xsd-4.0.0/xsd/xsd/cxx/parser/characters-validation-source.cxx x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/tree/elements.o -c /build/xsd-4.0.0/xsd/xsd/cxx/tree/elements.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, @@ -2632,7 +2617,6 @@ /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.ixx:62:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 62 | operator new (std::size_t n, share) throw (std::bad_alloc) | ^~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/tree/validator.o -c /build/xsd-4.0.0/xsd/xsd/cxx/tree/validator.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] @@ -2643,29 +2627,56 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/tree/counter.o -c /build/xsd-4.0.0/xsd/xsd/cxx/tree/counter.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/tree/name-processor.o -c /build/xsd-4.0.0/xsd/xsd/cxx/tree/name-processor.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/tree/order-processor.o -c /build/xsd-4.0.0/xsd/xsd/cxx/tree/order-processor.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/annotation.hxx:8, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph.hxx:8, from /build/xsd-4.0.0/xsd/xsd/cxx/elements.hxx:15, - from /build/xsd-4.0.0/xsd/xsd/cxx/tree/elements.hxx:18, - from /build/xsd-4.0.0/xsd/xsd/cxx/tree/validator.hxx:8, - from /build/xsd-4.0.0/xsd/xsd/cxx/tree/validator.cxx:8: + from /build/xsd-4.0.0/xsd/xsd/cxx/parser/elements.hxx:14, + from /build/xsd-4.0.0/xsd/xsd/cxx/parser/attribute-validation-source.hxx:8, + from /build/xsd-4.0.0/xsd/xsd/cxx/parser/attribute-validation-source.cxx:5: /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc); | ^~~~~ /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:64:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 64 | operator new (std::size_t, share) throw (std::bad_alloc); | ^~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/tree/validator.o -c /build/xsd-4.0.0/xsd/xsd/cxx/tree/validator.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:89: /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.ixx:62:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 62 | operator new (std::size_t n, share) throw (std::bad_alloc) | ^~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/tree/polymorphism-processor.o -c /build/xsd-4.0.0/xsd/xsd/cxx/tree/polymorphism-processor.cxx +In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, + from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/annotation.hxx:8, + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph.hxx:8, + from /build/xsd-4.0.0/xsd/xsd/cxx/elements.hxx:15, + from /build/xsd-4.0.0/xsd/xsd/cxx/parser/elements.hxx:14, + from /build/xsd-4.0.0/xsd/xsd/cxx/parser/characters-validation-source.hxx:8, + from /build/xsd-4.0.0/xsd/xsd/cxx/parser/characters-validation-source.cxx:5: +/build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc); + | ^~~~~ +/build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:64:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 64 | operator new (std::size_t, share) throw (std::bad_alloc); + | ^~~~~ +In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:89: +/build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.ixx:62:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 62 | operator new (std::size_t n, share) throw (std::bad_alloc) + | ^~~~~ +In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: +/build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 147 | std::auto_ptr holder_; + | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:8: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/tree/counter.o -c /build/xsd-4.0.0/xsd/xsd/cxx/tree/counter.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] @@ -2688,6 +2699,25 @@ /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc); | ^~~~~ +In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, + from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/annotation.hxx:8, + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph.hxx:8, + from /build/xsd-4.0.0/xsd/xsd/cxx/elements.hxx:15, + from /build/xsd-4.0.0/xsd/xsd/cxx/tree/elements.hxx:18, + from /build/xsd-4.0.0/xsd/xsd/cxx/tree/validator.hxx:8, + from /build/xsd-4.0.0/xsd/xsd/cxx/tree/validator.cxx:8: +/build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc); + | ^~~~~ +/build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:64:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 64 | operator new (std::size_t, share) throw (std::bad_alloc); + | ^~~~~ +In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:89: +/build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.ixx:62:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 62 | operator new (std::size_t n, share) throw (std::bad_alloc) + | ^~~~~ /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:64:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 64 | operator new (std::size_t, share) throw (std::bad_alloc); | ^~~~~ @@ -2695,6 +2725,7 @@ /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.ixx:62:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 62 | operator new (std::size_t n, share) throw (std::bad_alloc) | ^~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/tree/name-processor.o -c /build/xsd-4.0.0/xsd/xsd/cxx/tree/name-processor.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] @@ -2705,7 +2736,18 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/tree/default-value.o -c /build/xsd-4.0.0/xsd/xsd/cxx/tree/default-value.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/tree/order-processor.o -c /build/xsd-4.0.0/xsd/xsd/cxx/tree/order-processor.cxx +In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: +/build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 147 | std::auto_ptr holder_; + | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:8: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/tree/polymorphism-processor.o -c /build/xsd-4.0.0/xsd/xsd/cxx/tree/polymorphism-processor.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, @@ -2751,6 +2793,17 @@ /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.ixx:62:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 62 | operator new (std::size_t n, share) throw (std::bad_alloc) | ^~~~~ +In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: +/build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 147 | std::auto_ptr holder_; + | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:8: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/tree/default-value.o -c /build/xsd-4.0.0/xsd/xsd/cxx/tree/default-value.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, @@ -2779,16 +2832,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: -/build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 147 | std::auto_ptr holder_; - | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:8: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, @@ -2806,6 +2849,7 @@ /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.ixx:62:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 62 | operator new (std::size_t n, share) throw (std::bad_alloc) | ^~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/tree/generator.o -c /build/xsd-4.0.0/xsd/xsd/cxx/tree/generator.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] @@ -2816,7 +2860,8 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/tree/generator.o -c /build/xsd-4.0.0/xsd/xsd/cxx/tree/generator.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/tree/tree-forward.o -c /build/xsd-4.0.0/xsd/xsd/cxx/tree/tree-forward.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/tree/tree-header.o -c /build/xsd-4.0.0/xsd/xsd/cxx/tree/tree-header.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/xsd/xsd/cxx/tree/generator.cxx:11: /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] @@ -2829,23 +2874,6 @@ /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.ixx:62:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 62 | operator new (std::size_t n, share) throw (std::bad_alloc) | ^~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/tree/tree-forward.o -c /build/xsd-4.0.0/xsd/xsd/cxx/tree/tree-forward.cxx -In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/annotation.hxx:8, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph.hxx:8, - from /build/xsd-4.0.0/xsd/xsd/cxx/tree/generator.cxx:17: -/build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 147 | std::auto_ptr holder_; - | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/libcutl/cutl/compiler/code-stream.hxx:8, - from /build/xsd-4.0.0/xsd/xsd/cxx/tree/generator.cxx:13: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/tree/tree-header.o -c /build/xsd-4.0.0/xsd/xsd/cxx/tree/tree-header.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/tree/tree-inline.o -c /build/xsd-4.0.0/xsd/xsd/cxx/tree/tree-inline.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, @@ -2863,12 +2891,16 @@ 62 | operator new (std::size_t n, share) throw (std::bad_alloc) | ^~~~~ In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19, + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/annotation.hxx:8, + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph.hxx:8, + from /build/xsd-4.0.0/xsd/xsd/cxx/tree/generator.cxx:17: /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 147 | std::auto_ptr holder_; | ^~~~~~~~ In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:8: + from /build/xsd-4.0.0/libcutl/cutl/compiler/code-stream.hxx:8, + from /build/xsd-4.0.0/xsd/xsd/cxx/tree/generator.cxx:13: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -2891,6 +2923,27 @@ /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.ixx:62:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 62 | operator new (std::size_t n, share) throw (std::bad_alloc) | ^~~~~ +In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: +/build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 147 | std::auto_ptr holder_; + | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:8: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: +/build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 147 | std::auto_ptr holder_; + | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:8: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/tree/tree-inline.o -c /build/xsd-4.0.0/xsd/xsd/cxx/tree/tree-inline.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, @@ -2928,18 +2981,7 @@ /build/xsd-4.0.0/xsd/xsd/cxx/tree/generator.cxx:784:30: required from here /build/xsd-4.0.0/libcutl/cutl/compiler/code-stream.txx:89:9: warning: 'throw' will always call 'terminate' [-Wterminate] /build/xsd-4.0.0/libcutl/cutl/compiler/code-stream.txx:89:9: note: in C++11 destructors default to 'noexcept' -In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: -/build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 147 | std::auto_ptr holder_; - | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:8: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/tree/tree-source.o -c /build/xsd-4.0.0/xsd/xsd/cxx/tree/tree-source.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/tree/parser-header.o -c /build/xsd-4.0.0/xsd/xsd/cxx/tree/parser-header.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, @@ -2966,6 +3008,8 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/tree/parser-header.o -c /build/xsd-4.0.0/xsd/xsd/cxx/tree/parser-header.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/tree/parser-source.o -c /build/xsd-4.0.0/xsd/xsd/cxx/tree/parser-source.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, @@ -2995,8 +3039,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/tree/parser-source.o -c /build/xsd-4.0.0/xsd/xsd/cxx/tree/parser-source.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/tree/stream-header.o -c /build/xsd-4.0.0/xsd/xsd/cxx/tree/stream-header.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, @@ -3026,6 +3068,10 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/tree/stream-header.o -c /build/xsd-4.0.0/xsd/xsd/cxx/tree/stream-header.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/tree/stream-source.o -c /build/xsd-4.0.0/xsd/xsd/cxx/tree/stream-source.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/tree/serialization-header.o -c /build/xsd-4.0.0/xsd/xsd/cxx/tree/serialization-header.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/tree/serialization-source.o -c /build/xsd-4.0.0/xsd/xsd/cxx/tree/serialization-source.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, @@ -3033,8 +3079,8 @@ from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph.hxx:8, from /build/xsd-4.0.0/xsd/xsd/cxx/elements.hxx:15, from /build/xsd-4.0.0/xsd/xsd/cxx/tree/elements.hxx:18, - from /build/xsd-4.0.0/xsd/xsd/cxx/tree/stream-header.hxx:8, - from /build/xsd-4.0.0/xsd/xsd/cxx/tree/stream-header.cxx:5: + from /build/xsd-4.0.0/xsd/xsd/cxx/tree/stream-source.hxx:8, + from /build/xsd-4.0.0/xsd/xsd/cxx/tree/stream-source.cxx:5: /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc); | ^~~~~ @@ -3045,7 +3091,6 @@ /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.ixx:62:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 62 | operator new (std::size_t n, share) throw (std::bad_alloc) | ^~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/tree/stream-source.o -c /build/xsd-4.0.0/xsd/xsd/cxx/tree/stream-source.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] @@ -3056,8 +3101,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/tree/serialization-header.o -c /build/xsd-4.0.0/xsd/xsd/cxx/tree/serialization-header.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/tree/serialization-source.o -c /build/xsd-4.0.0/xsd/xsd/cxx/tree/serialization-source.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, @@ -3065,8 +3108,8 @@ from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph.hxx:8, from /build/xsd-4.0.0/xsd/xsd/cxx/elements.hxx:15, from /build/xsd-4.0.0/xsd/xsd/cxx/tree/elements.hxx:18, - from /build/xsd-4.0.0/xsd/xsd/cxx/tree/serialization-header.hxx:8, - from /build/xsd-4.0.0/xsd/xsd/cxx/tree/serialization-header.cxx:5: + from /build/xsd-4.0.0/xsd/xsd/cxx/tree/stream-header.hxx:8, + from /build/xsd-4.0.0/xsd/xsd/cxx/tree/stream-header.cxx:5: /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc); | ^~~~~ @@ -3077,6 +3120,16 @@ /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.ixx:62:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 62 | operator new (std::size_t n, share) throw (std::bad_alloc) | ^~~~~ +In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: +/build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 147 | std::auto_ptr holder_; + | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:8: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, @@ -3084,8 +3137,8 @@ from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph.hxx:8, from /build/xsd-4.0.0/xsd/xsd/cxx/elements.hxx:15, from /build/xsd-4.0.0/xsd/xsd/cxx/tree/elements.hxx:18, - from /build/xsd-4.0.0/xsd/xsd/cxx/tree/stream-source.hxx:8, - from /build/xsd-4.0.0/xsd/xsd/cxx/tree/stream-source.cxx:5: + from /build/xsd-4.0.0/xsd/xsd/cxx/tree/serialization-header.hxx:8, + from /build/xsd-4.0.0/xsd/xsd/cxx/tree/serialization-header.cxx:5: /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc); | ^~~~~ @@ -3106,16 +3159,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: -/build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 147 | std::auto_ptr holder_; - | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:8: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, @@ -3146,6 +3189,7 @@ 64 | template class auto_ptr; | ^~~~~~~~ x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/tree/stream-insertion-header.o -c /build/xsd-4.0.0/xsd/xsd/cxx/tree/stream-insertion-header.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/tree/stream-insertion-source.o -c /build/xsd-4.0.0/xsd/xsd/cxx/tree/stream-insertion-source.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, @@ -3175,7 +3219,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/tree/stream-insertion-source.o -c /build/xsd-4.0.0/xsd/xsd/cxx/tree/stream-insertion-source.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, @@ -3206,7 +3249,6 @@ 64 | template class auto_ptr; | ^~~~~~~~ x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/tree/stream-extraction-source.o -c /build/xsd-4.0.0/xsd/xsd/cxx/tree/stream-extraction-source.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/type-map/lexer.o -c /build/xsd-4.0.0/xsd/xsd/type-map/lexer.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, @@ -3236,6 +3278,7 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/type-map/lexer.o -c /build/xsd-4.0.0/xsd/xsd/type-map/lexer.cxx x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/type-map/parser.o -c /build/xsd-4.0.0/xsd/xsd/type-map/parser.cxx x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/processing/cardinality/processor.o -c /build/xsd-4.0.0/xsd/xsd/processing/cardinality/processor.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, @@ -3265,6 +3308,8 @@ 64 | template class auto_ptr; | ^~~~~~~~ x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/processing/inheritance/processor.o -c /build/xsd-4.0.0/xsd/xsd/processing/inheritance/processor.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/options.o -c /build/xsd-4.0.0/xsd/xsd/options.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/options.o -c /build/xsd-4.0.0/xsd/xsd/cxx/options.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, @@ -3290,8 +3335,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/options.o -c /build/xsd-4.0.0/xsd/xsd/options.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/options.o -c /build/xsd-4.0.0/xsd/xsd/cxx/options.cxx x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/tree/options.o -c /build/xsd-4.0.0/xsd/xsd/cxx/tree/options.cxx x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/xsd/xsd -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/xsd/cxx/parser/options.o -c /build/xsd-4.0.0/xsd/xsd/cxx/parser/options.cxx x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/annotation.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/annotation.cxx @@ -3311,16 +3354,6 @@ /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.ixx:62:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 62 | operator new (std::size_t n, share) throw (std::bad_alloc) | ^~~~~ -In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: -/build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 147 | std::auto_ptr holder_; - | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:8: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, @@ -3347,6 +3380,17 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: +/build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 147 | std::auto_ptr holder_; + | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:8: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/attribute.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/attribute.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, @@ -3372,15 +3416,11 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/attribute.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/attribute.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/attribute-group.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/attribute-group.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/complex.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/complex.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/compositors.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/compositors.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/attribute-group.hxx:8, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/attribute-group.cxx:7: + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/attribute.hxx:8, + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/attribute.cxx:7: /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc); | ^~~~~ @@ -3391,11 +3431,24 @@ /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.ixx:62:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 62 | operator new (std::size_t n, share) throw (std::bad_alloc) | ^~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/attribute-group.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/attribute-group.cxx +In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: +/build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 147 | std::auto_ptr holder_; + | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:8: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/complex.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/complex.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/compositors.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/compositors.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/attribute.hxx:8, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/attribute.cxx:7: + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/attribute-group.hxx:8, + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/attribute-group.cxx:7: /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc); | ^~~~~ @@ -3406,6 +3459,17 @@ /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.ixx:62:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 62 | operator new (std::size_t n, share) throw (std::bad_alloc) | ^~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/element.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/element.cxx +In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: +/build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 147 | std::auto_ptr holder_; + | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:8: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, @@ -3421,16 +3485,7 @@ /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.ixx:62:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 62 | operator new (std::size_t n, share) throw (std::bad_alloc) | ^~~~~ -In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: -/build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 147 | std::auto_ptr holder_; - | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:8: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/element-group.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/element-group.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, @@ -3446,7 +3501,6 @@ /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.ixx:62:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 62 | operator new (std::size_t n, share) throw (std::bad_alloc) | ^~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/element.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/element.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] @@ -3470,6 +3524,21 @@ In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/element-group.hxx:8, + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/element-group.cxx:7: +/build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc); + | ^~~~~ +/build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:64:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 64 | operator new (std::size_t, share) throw (std::bad_alloc); + | ^~~~~ +In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:89: +/build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.ixx:62:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 62 | operator new (std::size_t n, share) throw (std::bad_alloc) + | ^~~~~ +In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, + from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/element.hxx:8, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/element.cxx:7: /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] @@ -3482,7 +3551,8 @@ /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.ixx:62:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 62 | operator new (std::size_t n, share) throw (std::bad_alloc) | ^~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/element-group.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/element-group.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/enumeration.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/enumeration.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] @@ -3493,8 +3563,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/enumeration.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/enumeration.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] @@ -3505,11 +3573,12 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/fundamental.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/fundamental.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/element-group.hxx:8, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/element-group.cxx:7: + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/enumeration.hxx:8, + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/enumeration.cxx:7: /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc); | ^~~~~ @@ -3523,8 +3592,8 @@ In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/enumeration.hxx:8, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/enumeration.cxx:7: + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/fundamental.hxx:11, + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/fundamental.cxx:10: /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc); | ^~~~~ @@ -3535,6 +3604,7 @@ /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.ixx:62:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 62 | operator new (std::size_t n, share) throw (std::bad_alloc) | ^~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/list.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/list.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] @@ -3559,7 +3629,6 @@ /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.ixx:62:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 62 | operator new (std::size_t n, share) throw (std::bad_alloc) | ^~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/fundamental.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/fundamental.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] @@ -3580,9 +3649,11 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/list.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/list.cxx x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/namespace.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/namespace.cxx x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/particle.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/particle.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/schema.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/schema.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/union.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/union.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/attribute.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/attribute.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, @@ -3598,12 +3669,11 @@ /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.ixx:62:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 62 | operator new (std::size_t n, share) throw (std::bad_alloc) | ^~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/schema.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/schema.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/fundamental.hxx:11, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/fundamental.cxx:10: + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/namespace.hxx:8, + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/namespace.cxx:7: /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc); | ^~~~~ @@ -3617,8 +3687,23 @@ In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/namespace.hxx:8, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/namespace.cxx:7: + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/schema.hxx:11, + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/schema.cxx:7: +/build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc); + | ^~~~~ +/build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:64:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 64 | operator new (std::size_t, share) throw (std::bad_alloc); + | ^~~~~ +In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:89: +/build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.ixx:62:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 62 | operator new (std::size_t n, share) throw (std::bad_alloc) + | ^~~~~ +In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, + from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/union.hxx:8, + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/union.cxx:7: /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc); | ^~~~~ @@ -3649,22 +3734,13 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/union.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/union.cxx -In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: -/build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 147 | std::auto_ptr holder_; - | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:8: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/attribute-group.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/attribute-group.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/particle.hxx:8, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/particle.cxx:7: + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/elements.hxx:11, + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/attribute.hxx:8, + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/attribute.cxx:5: /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc); | ^~~~~ @@ -3678,8 +3754,8 @@ In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/schema.hxx:11, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/schema.cxx:7: + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/particle.hxx:8, + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/particle.cxx:7: /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc); | ^~~~~ @@ -3700,8 +3776,16 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/attribute.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/attribute.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/attribute-group.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/attribute-group.cxx +In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: +/build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 147 | std::auto_ptr holder_; + | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:8: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] @@ -3713,21 +3797,8 @@ 64 | template class auto_ptr; | ^~~~~~~~ x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/complex.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/complex.cxx -In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, - from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/union.hxx:8, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/union.cxx:7: -/build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc); - | ^~~~~ -/build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:64:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 64 | operator new (std::size_t, share) throw (std::bad_alloc); - | ^~~~~ -In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:89: -/build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.ixx:62:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 62 | operator new (std::size_t n, share) throw (std::bad_alloc) - | ^~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/compositors.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/compositors.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/element.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/element.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] @@ -3758,8 +3829,8 @@ from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/elements.hxx:11, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/attribute.hxx:8, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/attribute.cxx:5: + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/complex.hxx:8, + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/complex.cxx:5: /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc); | ^~~~~ @@ -3770,16 +3841,25 @@ /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.ixx:62:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 62 | operator new (std::size_t n, share) throw (std::bad_alloc) | ^~~~~ +In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: +/build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 147 | std::auto_ptr holder_; + | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:8: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/elements.hxx:11, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/complex.hxx:8, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/complex.cxx:5: + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/compositors.hxx:8, + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/compositors.cxx:5: /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc); | ^~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/compositors.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/compositors.cxx /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:64:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 64 | operator new (std::size_t, share) throw (std::bad_alloc); | ^~~~~ @@ -3797,17 +3877,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/element.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/element.cxx -In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: -/build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 147 | std::auto_ptr holder_; - | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:8: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] @@ -3818,8 +3887,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/element-group.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/element-group.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/elements.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/elements.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, @@ -3836,12 +3903,25 @@ /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.ixx:62:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 62 | operator new (std::size_t n, share) throw (std::bad_alloc) | ^~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/element-group.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/element-group.cxx +In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: +/build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 147 | std::auto_ptr holder_; + | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:8: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/elements.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/elements.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/enumeration.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/enumeration.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/fundamental.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/fundamental.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/elements.hxx:11, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/compositors.hxx:8, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/compositors.cxx:5: + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/elements.cxx:5: /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc); | ^~~~~ @@ -3852,16 +3932,6 @@ /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.ixx:62:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 62 | operator new (std::size_t n, share) throw (std::bad_alloc) | ^~~~~ -In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: -/build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 147 | std::auto_ptr holder_; - | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:8: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, @@ -3902,7 +3972,8 @@ from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/elements.hxx:11, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/elements.cxx:5: + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/enumeration.hxx:8, + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/enumeration.cxx:5: /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc); | ^~~~~ @@ -3913,7 +3984,8 @@ /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.ixx:62:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 62 | operator new (std::size_t n, share) throw (std::bad_alloc) | ^~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/enumeration.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/enumeration.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/list.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/list.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/namespace.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/namespace.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] @@ -3924,15 +3996,12 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/fundamental.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/fundamental.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/list.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/list.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/namespace.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/namespace.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/elements.hxx:11, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/enumeration.hxx:8, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/enumeration.cxx:5: + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/fundamental.hxx:8, + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/fundamental.cxx:5: /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc); | ^~~~~ @@ -3943,6 +4012,8 @@ /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.ixx:62:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 62 | operator new (std::size_t n, share) throw (std::bad_alloc) | ^~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/particle.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/particle.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/schema.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/schema.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] @@ -3953,13 +4024,12 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/particle.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/particle.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/elements.hxx:11, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/fundamental.hxx:8, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/fundamental.cxx:5: + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/namespace.hxx:8, + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/namespace.cxx:5: /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc); | ^~~~~ @@ -3996,22 +4066,6 @@ /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.ixx:62:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 62 | operator new (std::size_t n, share) throw (std::bad_alloc) | ^~~~~ -In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, - from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/elements.hxx:11, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/namespace.hxx:8, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/namespace.cxx:5: -/build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc); - | ^~~~~ -/build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:64:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 64 | operator new (std::size_t, share) throw (std::bad_alloc); - | ^~~~~ -In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:89: -/build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.ixx:62:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 62 | operator new (std::size_t n, share) throw (std::bad_alloc) - | ^~~~~ In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] @@ -4022,6 +4076,7 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/union.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/union.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, @@ -4048,20 +4103,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: -/build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 147 | std::auto_ptr holder_; - | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:8: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/schema.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/schema.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/union.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/traversal/union.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/transformations/anonymous.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/transformations/anonymous.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/transformations/enum-synthesis.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/transformations/enum-synthesis.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, @@ -4078,9 +4119,6 @@ /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.ixx:62:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 62 | operator new (std::size_t n, share) throw (std::bad_alloc) | ^~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/transformations/restriction.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/transformations/restriction.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/transformations/schema-per-type.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/transformations/schema-per-type.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/transformations/simplifier.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/transformations/simplifier.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] @@ -4091,6 +4129,8 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/transformations/anonymous.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/transformations/anonymous.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/transformations/enum-synthesis.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/transformations/enum-synthesis.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, @@ -4148,6 +4188,7 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/transformations/restriction.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/transformations/restriction.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] @@ -4168,6 +4209,10 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/transformations/schema-per-type.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/transformations/schema-per-type.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/transformations/simplifier.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/transformations/simplifier.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/generators/dependencies.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/generators/dependencies.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/types.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/types.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, @@ -4189,6 +4234,22 @@ from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/annotation.hxx:8, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph.hxx:8, + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/generators/dependencies.cxx:5: +/build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc); + | ^~~~~ +/build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:64:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 64 | operator new (std::size_t, share) throw (std::bad_alloc); + | ^~~~~ +In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:89: +/build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.ixx:62:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 62 | operator new (std::size_t n, share) throw (std::bad_alloc) + | ^~~~~ +In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, + from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/annotation.hxx:8, + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph.hxx:8, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/transformations/restriction.cxx:8: /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc); @@ -4210,6 +4271,7 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/parser.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/parser.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] @@ -4220,23 +4282,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, - from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/annotation.hxx:8, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph.hxx:8, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/transformations/schema-per-type.cxx:14: -/build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc); - | ^~~~~ -/build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:64:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 64 | operator new (std::size_t, share) throw (std::bad_alloc); - | ^~~~~ -In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:89: -/build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.ixx:62:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 62 | operator new (std::size_t n, share) throw (std::bad_alloc) - | ^~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/generators/dependencies.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/generators/dependencies.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] @@ -4247,13 +4292,12 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/types.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/types.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr.hxx:8, from /build/xsd-4.0.0/libcutl/cutl/container/graph.hxx:11, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:17, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/annotation.hxx:8, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph.hxx:8, - from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/generators/dependencies.cxx:5: + from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/transformations/schema-per-type.cxx:14: /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc); | ^~~~~ @@ -4264,9 +4308,6 @@ /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.ixx:62:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 62 | operator new (std::size_t n, share) throw (std::bad_alloc) | ^~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/parser.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/parser.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/schema-dom-parser.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/schema-dom-parser.cxx -x86_64-linux-gnu-gcc -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -o /build/xsd-4.0.0/libcutl/cutl/details/expat/xmlparse.o -c /build/xsd-4.0.0/libcutl/cutl/details/expat/xmlparse.c In file included from /build/xsd-4.0.0/libcutl/cutl/compiler/context.hxx:14, from /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/semantic-graph/elements.hxx:19: /build/xsd-4.0.0/libcutl/cutl/container/any.hxx:147:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] @@ -4277,6 +4318,8 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libxsd-frontend -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/schema-dom-parser.o -c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/schema-dom-parser.cxx +x86_64-linux-gnu-gcc -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -o /build/xsd-4.0.0/libcutl/cutl/details/expat/xmlparse.o -c /build/xsd-4.0.0/libcutl/cutl/details/expat/xmlparse.c x86_64-linux-gnu-gcc -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -o /build/xsd-4.0.0/libcutl/cutl/details/expat/xmlrole.o -c /build/xsd-4.0.0/libcutl/cutl/details/expat/xmlrole.c x86_64-linux-gnu-gcc -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -o /build/xsd-4.0.0/libcutl/cutl/details/expat/xmltok.o -c /build/xsd-4.0.0/libcutl/cutl/details/expat/xmltok.c x86_64-linux-gnu-gcc -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -o /build/xsd-4.0.0/libcutl/cutl/details/genx/genx.o -c /build/xsd-4.0.0/libcutl/cutl/details/genx/genx.c @@ -4306,6 +4349,7 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +x86_64-linux-gnu-gcc -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -o /build/xsd-4.0.0/libcutl/cutl/details/genx/char-props.o -c /build/xsd-4.0.0/libcutl/cutl/details/genx/char-props.c /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/parser.hxx:55:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 55 | std::auto_ptr | ^~~~~~~~ @@ -4330,8 +4374,24 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-gcc -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -o /build/xsd-4.0.0/libcutl/cutl/details/genx/char-props.o -c /build/xsd-4.0.0/libcutl/cutl/details/genx/char-props.c x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/exception.o -c /build/xsd-4.0.0/libcutl/cutl/exception.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.o -c /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/fs/exception.o -c /build/xsd-4.0.0/libcutl/cutl/fs/exception.cxx +In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.cxx:5: +/build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc); + | ^~~~~ +/build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:64:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 64 | operator new (std::size_t, share) throw (std::bad_alloc); + | ^~~~~ +In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:89: +/build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.ixx:62:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 62 | operator new (std::size_t n, share) throw (std::bad_alloc) + | ^~~~~ +/build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.cxx:28:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 28 | operator new (size_t n, cutl::share s) throw (std::bad_alloc) + | ^~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/fs/path.o -c /build/xsd-4.0.0/libcutl/cutl/fs/path.cxx /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/parser.cxx:1323:5: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1323 | auto_ptr | ^~~~~~~~ @@ -4350,6 +4410,7 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/fs/auto-remove.o -c /build/xsd-4.0.0/libcutl/cutl/fs/auto-remove.cxx /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/parser.cxx:1863:3: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1863 | auto_ptr Parser::Impl:: | ^~~~~~~~ @@ -4370,7 +4431,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.o -c /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.cxx /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/parser.cxx: In member function 'std::auto_ptr XSDFrontend::Parser::Impl::parse(const XSDFrontend::SemanticGraph::Path&)': /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/parser.cxx:1900:5: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1900 | auto_ptr rs (new Schema (tu, root.line (), root.column ())); @@ -4392,21 +4452,7 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.cxx:5: -/build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:34:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc); - | ^~~~~ -/build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:64:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 64 | operator new (std::size_t, share) throw (std::bad_alloc); - | ^~~~~ -In file included from /build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.hxx:89: -/build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.ixx:62:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 62 | operator new (std::size_t n, share) throw (std::bad_alloc) - | ^~~~~ -/build/xsd-4.0.0/libcutl/cutl/shared-ptr/base.cxx:28:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 28 | operator new (size_t n, cutl::share s) throw (std::bad_alloc) - | ^~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/fs/exception.o -c /build/xsd-4.0.0/libcutl/cutl/fs/exception.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/re/re.o -c /build/xsd-4.0.0/libcutl/cutl/re/re.cxx /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/parser.cxx: In member function 'XSDFrontend::XML::AutoPtr XSDFrontend::Parser::Impl::dom(const XSDFrontend::SemanticGraph::Path&, bool)': /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/parser.cxx:5061:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 5061 | std::auto_ptr xsd_parser ( @@ -4433,10 +4479,9 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/fs/path.o -c /build/xsd-4.0.0/libcutl/cutl/fs/path.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/fs/auto-remove.o -c /build/xsd-4.0.0/libcutl/cutl/fs/auto-remove.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/re/re.o -c /build/xsd-4.0.0/libcutl/cutl/re/re.cxx x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/xml/qname.o -c /build/xsd-4.0.0/libcutl/cutl/xml/qname.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/xml/parser.o -c /build/xsd-4.0.0/libcutl/cutl/xml/parser.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/xml/serializer.o -c /build/xsd-4.0.0/libcutl/cutl/xml/serializer.cxx /build/xsd-4.0.0/libcutl/cutl/fs/auto-remove.cxx: In destructor 'cutl::fs::auto_remove::~auto_remove()': /build/xsd-4.0.0/libcutl/cutl/fs/auto-remove.cxx:20:11: warning: 'throw' will always call 'terminate' [-Wterminate] 20 | throw error (errno); @@ -4447,9 +4492,8 @@ 32 | throw error (errno); | ^~~~~~~~~~~~~~~~~~~ /build/xsd-4.0.0/libcutl/cutl/fs/auto-remove.cxx:32:13: note: in C++11 destructors default to 'noexcept' -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/xml/parser.o -c /build/xsd-4.0.0/libcutl/cutl/xml/parser.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/xml/serializer.o -c /build/xsd-4.0.0/libcutl/cutl/xml/serializer.cxx x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/xml/value-traits.o -c /build/xsd-4.0.0/libcutl/cutl/xml/value-traits.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/compiler/context.o -c /build/xsd-4.0.0/libcutl/cutl/compiler/context.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/details/boost/scoped_ptr.hpp:14, from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/regex_workaround.hpp:41, from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/regex.hpp:32, @@ -4510,7 +4554,7 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/compiler/context.o -c /build/xsd-4.0.0/libcutl/cutl/compiler/context.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/compiler/type-info.o -c /build/xsd-4.0.0/libcutl/cutl/compiler/type-info.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/details/boost/functional/hash.hpp:6, from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/basic_regex.hpp:23, from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/regex.hpp:67: @@ -4713,6 +4757,7 @@ /usr/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/compiler/cxx-indenter.o -c /build/xsd-4.0.0/libcutl/cutl/compiler/cxx-indenter.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/details/boost/functional/hash/hash.hpp:529: /build/xsd-4.0.0/libcutl/cutl/details/boost/functional/hash/extensions.hpp:264:16: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 264 | : std::unary_function @@ -4730,14 +4775,13 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/compiler/type-info.o -c /build/xsd-4.0.0/libcutl/cutl/compiler/type-info.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/compiler/cxx-indenter.o -c /build/xsd-4.0.0/libcutl/cutl/compiler/cxx-indenter.cxx x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/regex.o -c /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/regex.cxx x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/usinstances.o -c /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/usinstances.cxx x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/regex_raw_buffer.o -c /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/regex_raw_buffer.cxx x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/fileiter.o -c /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/fileiter.cxx x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/cpp_regex_traits.o -c /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/cpp_regex_traits.cxx x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/instances.o -c /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/instances.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/wide_posix_api.o -c /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/wide_posix_api.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/details/boost/scoped_ptr.hpp:14, from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/regex_workaround.hpp:41, from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/regex.hpp:32, @@ -4797,7 +4841,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/wide_posix_api.o -c /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/wide_posix_api.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/details/boost/functional/hash.hpp:6, from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/basic_regex.hpp:23, from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/regex.hpp:67: @@ -4999,6 +5042,7 @@ /usr/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/regex_debug.o -c /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/regex_debug.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/details/boost/functional/hash/hash.hpp:529: /build/xsd-4.0.0/libcutl/cutl/details/boost/functional/hash/extensions.hpp:264:16: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 264 | : std::unary_function @@ -5006,7 +5050,6 @@ /usr/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/regex_debug.o -c /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/regex_debug.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/details/boost/scoped_ptr.hpp:14, from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/regex_workaround.hpp:41, from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/fileiter.cxx:28: @@ -5018,8 +5061,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/c_regex_traits.o -c /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/c_regex_traits.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/posix_api.o -c /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/posix_api.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp:32, from /build/xsd-4.0.0/libcutl/cutl/details/boost/shared_ptr.hpp:17, from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/regex_workaround.hpp:43: @@ -5066,11 +5107,13 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/c_regex_traits.o -c /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/c_regex_traits.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/posix_api.o -c /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/posix_api.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/details/boost/scoped_ptr.hpp:14, from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/regex_workaround.hpp:41, - from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/regex.hpp:32, - from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex.hpp:31, - from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/instances.cxx:30: + from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/regex_traits.hpp:26, + from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/regex_traits.hpp:27, + from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/cpp_regex_traits.cxx:22: /build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/scoped_ptr.hpp:68:31: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 68 | explicit scoped_ptr( std::auto_ptr p ) BOOST_NOEXCEPT : px( p.release() ) | ^~~~~~~~ @@ -5127,9 +5170,9 @@ | ^~~~~~~~ In file included from /build/xsd-4.0.0/libcutl/cutl/details/boost/scoped_ptr.hpp:14, from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/regex_workaround.hpp:41, - from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/regex_traits.hpp:26, - from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/regex_traits.hpp:27, - from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/cpp_regex_traits.cxx:22: + from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/regex.hpp:32, + from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex.hpp:31, + from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/instances.cxx:30: /build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/scoped_ptr.hpp:68:31: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 68 | explicit scoped_ptr( std::auto_ptr p ) BOOST_NOEXCEPT : px( p.release() ) | ^~~~~~~~ @@ -5392,11 +5435,71 @@ /usr/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/wc_regex_traits.o -c /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/wc_regex_traits.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/details/boost/scoped_ptr.hpp:14, from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/regex_workaround.hpp:41, from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/regex.hpp:32, from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex.hpp:31, - from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/posix_api.cxx:23: + from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/wide_posix_api.cxx:25: +/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/scoped_ptr.hpp:68:31: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 68 | explicit scoped_ptr( std::auto_ptr p ) BOOST_NOEXCEPT : px( p.release() ) + | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/scoped_ptr.hpp:21: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/cregex.o -c /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/cregex.cxx +In file included from /build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp:32, + from /build/xsd-4.0.0/libcutl/cutl/details/boost/shared_ptr.hpp:17, + from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/regex_workaround.hpp:43: +/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/detail/shared_count.hpp:323:33: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 323 | explicit shared_count( std::auto_ptr & r ): pi_( new sp_counted_impl_p( r.get() ) ) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp:247:65: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 247 | template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp:446:31: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 446 | explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp:459:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 459 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp:525:34: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 525 | shared_ptr & operator=( std::auto_ptr & r ) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp:534:34: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 534 | shared_ptr & operator=( std::auto_ptr && r ) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp: In member function 'cutl_details_boost::shared_ptr& cutl_details_boost::shared_ptr::operator=(std::auto_ptr<_Up>&&)': +/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp:536:38: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 536 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +In file included from /build/xsd-4.0.0/libcutl/cutl/details/boost/scoped_ptr.hpp:14, + from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/regex_workaround.hpp:41, + from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/c_regex_traits.hpp:26, + from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/c_regex_traits.cxx:28: /build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/scoped_ptr.hpp:68:31: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 68 | explicit scoped_ptr( std::auto_ptr p ) BOOST_NOEXCEPT : px( p.release() ) | ^~~~~~~~ @@ -5414,7 +5517,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/wc_regex_traits.o -c /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/wc_regex_traits.cxx /build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp:247:65: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 247 | template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R > | ^~~~~~~~ @@ -5452,9 +5554,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/cregex.o -c /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/cregex.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/w32_regex_traits.o -c /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/w32_regex_traits.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/regex_traits_defaults.o -c /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/regex_traits_defaults.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/details/boost/functional/hash.hpp:6, from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/basic_regex.hpp:23, from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/regex.hpp:67: @@ -5632,19 +5731,6 @@ /usr/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -In file included from /build/xsd-4.0.0/libcutl/cutl/details/boost/scoped_ptr.hpp:14, - from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/regex_workaround.hpp:41, - from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/regex.hpp:32, - from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex.hpp:31, - from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/wide_posix_api.cxx:25: -/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/scoped_ptr.hpp:68:31: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 68 | explicit scoped_ptr( std::auto_ptr p ) BOOST_NOEXCEPT : px( p.release() ) - | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/scoped_ptr.hpp:21: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/libcutl/cutl/details/boost/functional/hash/hash.hpp:357:24: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 357 | : public std::unary_function \ | ^~~~~~~~~~~~~~ @@ -5669,6 +5755,28 @@ /usr/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ +In file included from /build/xsd-4.0.0/libcutl/cutl/details/boost/functional/hash/hash.hpp:529: +/build/xsd-4.0.0/libcutl/cutl/details/boost/functional/hash/extensions.hpp:264:16: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 264 | : std::unary_function + | ^~~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/w32_regex_traits.o -c /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/w32_regex_traits.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/regex_traits_defaults.o -c /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/regex_traits_defaults.cxx +In file included from /build/xsd-4.0.0/libcutl/cutl/details/boost/scoped_ptr.hpp:14, + from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/regex_workaround.hpp:41, + from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/regex.hpp:32, + from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex.hpp:31, + from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/cregex.cxx:22: +/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/scoped_ptr.hpp:68:31: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 68 | explicit scoped_ptr( std::auto_ptr p ) BOOST_NOEXCEPT : px( p.release() ) + | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/scoped_ptr.hpp:21: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ In file included from /build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp:32, from /build/xsd-4.0.0/libcutl/cutl/details/boost/shared_ptr.hpp:17, from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/regex_workaround.hpp:43: @@ -5715,19 +5823,24 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/static_mutex.o -c /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/static_mutex.cxx -In file included from /build/xsd-4.0.0/libcutl/cutl/details/boost/functional/hash/hash.hpp:529: -/build/xsd-4.0.0/libcutl/cutl/details/boost/functional/hash/extensions.hpp:264:16: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 264 | : std::unary_function - | ^~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/icu.o -c /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/icu.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/details/boost/scoped_ptr.hpp:14, from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/regex_workaround.hpp:41, from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/c_regex_traits.hpp:26, - from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/c_regex_traits.cxx:28: + from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/wc_regex_traits.cxx:76: +/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/scoped_ptr.hpp:68:31: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 68 | explicit scoped_ptr( std::auto_ptr p ) BOOST_NOEXCEPT : px( p.release() ) + | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/wc_regex_traits.cxx:23: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/static_mutex.o -c /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/static_mutex.cxx +In file included from /build/xsd-4.0.0/libcutl/cutl/details/boost/scoped_ptr.hpp:14, + from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/regex_workaround.hpp:41, + from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/regex.hpp:32, + from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex.hpp:31, + from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/posix_api.cxx:23: /build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/scoped_ptr.hpp:68:31: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 68 | explicit scoped_ptr( std::auto_ptr p ) BOOST_NOEXCEPT : px( p.release() ) | ^~~~~~~~ @@ -5782,6 +5895,54 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +In file included from /build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp:32, + from /build/xsd-4.0.0/libcutl/cutl/details/boost/shared_ptr.hpp:17, + from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/regex_workaround.hpp:43: +/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/detail/shared_count.hpp:323:33: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 323 | explicit shared_count( std::auto_ptr & r ): pi_( new sp_counted_impl_p( r.get() ) ) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp:247:65: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 247 | template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp:446:31: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 446 | explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp:459:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 459 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp:525:34: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 525 | shared_ptr & operator=( std::auto_ptr & r ) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp:534:34: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 534 | shared_ptr & operator=( std::auto_ptr && r ) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp: In member function 'cutl_details_boost::shared_ptr& cutl_details_boost::shared_ptr::operator=(std::auto_ptr<_Up>&&)': +/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp:536:38: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 536 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/icu.o -c /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/icu.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/winstances.o -c /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/winstances.cxx In file included from /build/xsd-4.0.0/libcutl/cutl/details/boost/functional/hash.hpp:6, from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/basic_regex.hpp:23, from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/regex.hpp:67: @@ -5983,190 +6144,6 @@ /usr/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/libcutl -I/build/xsd-4.0.0/libcutl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/winstances.o -c /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/winstances.cxx -In file included from /build/xsd-4.0.0/libcutl/cutl/details/boost/functional/hash/hash.hpp:529: -/build/xsd-4.0.0/libcutl/cutl/details/boost/functional/hash/extensions.hpp:264:16: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 264 | : std::unary_function - | ^~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -In file included from /build/xsd-4.0.0/libcutl/cutl/details/boost/scoped_ptr.hpp:14, - from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/regex_workaround.hpp:41, - from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/c_regex_traits.hpp:26, - from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/wc_regex_traits.cxx:76: -/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/scoped_ptr.hpp:68:31: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 68 | explicit scoped_ptr( std::auto_ptr p ) BOOST_NOEXCEPT : px( p.release() ) - | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/wc_regex_traits.cxx:23: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from /build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp:32, - from /build/xsd-4.0.0/libcutl/cutl/details/boost/shared_ptr.hpp:17, - from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/regex_workaround.hpp:43: -/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/detail/shared_count.hpp:323:33: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 323 | explicit shared_count( std::auto_ptr & r ): pi_( new sp_counted_impl_p( r.get() ) ) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp:247:65: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 247 | template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp:446:31: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 446 | explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp:459:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 459 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp:525:34: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 525 | shared_ptr & operator=( std::auto_ptr & r ) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp:534:34: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 534 | shared_ptr & operator=( std::auto_ptr && r ) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp: In member function 'cutl_details_boost::shared_ptr& cutl_details_boost::shared_ptr::operator=(std::auto_ptr<_Up>&&)': -/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp:536:38: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 536 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from /build/xsd-4.0.0/libcutl/cutl/details/boost/scoped_ptr.hpp:14, - from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/regex_workaround.hpp:41, - from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/regex.hpp:32, - from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex.hpp:31, - from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/cregex.cxx:22: -/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/scoped_ptr.hpp:68:31: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 68 | explicit scoped_ptr( std::auto_ptr p ) BOOST_NOEXCEPT : px( p.release() ) - | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/scoped_ptr.hpp:21: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from /build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp:32, - from /build/xsd-4.0.0/libcutl/cutl/details/boost/shared_ptr.hpp:17, - from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/regex_workaround.hpp:43: -/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/detail/shared_count.hpp:323:33: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 323 | explicit shared_count( std::auto_ptr & r ): pi_( new sp_counted_impl_p( r.get() ) ) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp:247:65: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 247 | template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp:446:31: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 446 | explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp:459:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 459 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp:525:34: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 525 | shared_ptr & operator=( std::auto_ptr & r ) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp:534:34: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 534 | shared_ptr & operator=( std::auto_ptr && r ) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp: In member function 'cutl_details_boost::shared_ptr& cutl_details_boost::shared_ptr::operator=(std::auto_ptr<_Up>&&)': -/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp:536:38: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 536 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from /build/xsd-4.0.0/libcutl/cutl/details/boost/scoped_ptr.hpp:14, - from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/regex_workaround.hpp:41, - from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/regex_traits.hpp:26, - from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/regex_traits.hpp:27, - from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/regex_traits_defaults.cxx:20: -/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/scoped_ptr.hpp:68:31: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 68 | explicit scoped_ptr( std::auto_ptr p ) BOOST_NOEXCEPT : px( p.release() ) - | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/scoped_ptr.hpp:21: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from /build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp:32, - from /build/xsd-4.0.0/libcutl/cutl/details/boost/shared_ptr.hpp:17, - from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/regex_workaround.hpp:43: -/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/detail/shared_count.hpp:323:33: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 323 | explicit shared_count( std::auto_ptr & r ): pi_( new sp_counted_impl_p( r.get() ) ) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp:247:65: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 247 | template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp:446:31: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 446 | explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp:459:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 459 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp:525:34: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 525 | shared_ptr & operator=( std::auto_ptr & r ) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp:534:34: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 534 | shared_ptr & operator=( std::auto_ptr && r ) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp: In member function 'cutl_details_boost::shared_ptr& cutl_details_boost::shared_ptr::operator=(std::auto_ptr<_Up>&&)': -/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp:536:38: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 536 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ In file included from /build/xsd-4.0.0/libcutl/cutl/details/boost/functional/hash.hpp:6, from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/basic_regex.hpp:23, from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/regex.hpp:67: @@ -6375,6 +6352,72 @@ /usr/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ +In file included from /build/xsd-4.0.0/libcutl/cutl/details/boost/functional/hash/hash.hpp:529: +/build/xsd-4.0.0/libcutl/cutl/details/boost/functional/hash/extensions.hpp:264:16: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 264 | : std::unary_function + | ^~~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +In file included from /build/xsd-4.0.0/libcutl/cutl/details/boost/scoped_ptr.hpp:14, + from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/regex_workaround.hpp:41, + from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/regex_traits.hpp:26, + from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/regex_traits.hpp:27, + from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/src/regex_traits_defaults.cxx:20: +/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/scoped_ptr.hpp:68:31: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 68 | explicit scoped_ptr( std::auto_ptr p ) BOOST_NOEXCEPT : px( p.release() ) + | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/scoped_ptr.hpp:21: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +In file included from /build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp:32, + from /build/xsd-4.0.0/libcutl/cutl/details/boost/shared_ptr.hpp:17, + from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/regex_workaround.hpp:43: +/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/detail/shared_count.hpp:323:33: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 323 | explicit shared_count( std::auto_ptr & r ): pi_( new sp_counted_impl_p( r.get() ) ) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp:247:65: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 247 | template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp:446:31: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 446 | explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp:459:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 459 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp:525:34: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 525 | shared_ptr & operator=( std::auto_ptr & r ) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp:534:34: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 534 | shared_ptr & operator=( std::auto_ptr && r ) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp: In member function 'cutl_details_boost::shared_ptr& cutl_details_boost::shared_ptr::operator=(std::auto_ptr<_Up>&&)': +/build/xsd-4.0.0/libcutl/cutl/details/boost/smart_ptr/shared_ptr.hpp:536:38: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 536 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ In file included from /build/xsd-4.0.0/libcutl/cutl/details/boost/scoped_ptr.hpp:14, from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/regex_workaround.hpp:41, from /build/xsd-4.0.0/libcutl/cutl/details/boost/regex/v4/regex.hpp:32, @@ -6653,7 +6696,7 @@ x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/xsd/xsd /build/xsd-4.0.0/xsd/xsd/xsd.o /build/xsd-4.0.0/xsd/xsd/cxx/elements.o /build/xsd-4.0.0/xsd/xsd/cxx/literal-map.o /build/xsd-4.0.0/xsd/xsd/cxx/option-types.o /build/xsd-4.0.0/xsd/xsd/cxx/parser/elements.o /build/xsd-4.0.0/xsd/xsd/cxx/parser/validator.o /build/xsd-4.0.0/xsd/xsd/cxx/parser/name-processor.o /build/xsd-4.0.0/xsd/xsd/cxx/parser/type-processor.o /build/xsd-4.0.0/xsd/xsd/cxx/parser/state-processor.o /build/xsd-4.0.0/xsd/xsd/cxx/parser/generator.o /build/xsd-4.0.0/xsd/xsd/cxx/parser/parser-header.o /build/xsd-4.0.0/xsd/xsd/cxx/parser/parser-inline.o /build/xsd-4.0.0/xsd/xsd/cxx/parser/parser-source.o /build/xsd-4.0.0/xsd/xsd/cxx/parser/parser-forward.o /build/xsd-4.0.0/xsd/xsd/cxx/parser/impl-header.o /build/xsd-4.0.0/xsd/xsd/cxx/parser/impl-source.o /build/xsd-4.0.0/xsd/xsd/cxx/parser/driver-source.o /build/xsd-4.0.0/xsd/xsd/cxx/parser/element-validation-source.o /build/xsd-4.0.0/xsd/xsd/cxx/parser/attribute-validation-source.o /build/xsd-4.0.0/xsd/xsd/cxx/parser/characters-validation-source.o /build/xsd-4.0.0/xsd/xsd/cxx/tree/elements.o /build/xsd-4.0.0/xsd/xsd/cxx/tree/validator.o /build/xsd-4.0.0/xsd/xsd/cxx/tree/counter.o /build/xsd-4.0.0/xsd/xsd/cxx/tree/name-processor.o /build/xsd-4.0.0/xsd/xsd/cxx/tree/order-processor.o /build/xsd-4.0.0/xsd/xsd/cxx/tree/polymorphism-processor.o /build/xsd-4.0.0/xsd/xsd/cxx/tree/default-value.o /build/xsd-4.0.0/xsd/xsd/cxx/tree/generator.o /build/xsd-4.0.0/xsd/xsd/cxx/tree/tree-forward.o /build/xsd-4.0.0/xsd/xsd/cxx/tree/tree-header.o /build/xsd-4.0.0/xsd/xsd/cxx/tree/tree-inline.o /build/xsd-4.0.0/xsd/xsd/cxx/tree/tree-source.o /build/xsd-4.0.0/xsd/xsd/cxx/tree/parser-header.o /build/xsd-4.0.0/xsd/xsd/cxx/tree/parser-source.o /build/xsd-4.0.0/xsd/xsd/cxx/tree/stream-header.o /build/xsd-4.0.0/xsd/xsd/cxx/tree/stream-source.o /build/xsd-4.0.0/xsd/xsd/cxx/tree/serialization-header.o /build/xsd-4.0.0/xsd/xsd/cxx/tree/serialization-source.o /build/xsd-4.0.0/xsd/xsd/cxx/tree/stream-insertion-header.o /build/xsd-4.0.0/xsd/xsd/cxx/tree/stream-insertion-source.o /build/xsd-4.0.0/xsd/xsd/cxx/tree/stream-extraction-source.o /build/xsd-4.0.0/xsd/xsd/type-map/lexer.o /build/xsd-4.0.0/xsd/xsd/type-map/parser.o /build/xsd-4.0.0/xsd/xsd/processing/cardinality/processor.o /build/xsd-4.0.0/xsd/xsd/processing/inheritance/processor.o /build/xsd-4.0.0/xsd/xsd/options.o /build/xsd-4.0.0/xsd/xsd/cxx/options.o /build/xsd-4.0.0/xsd/xsd/cxx/tree/options.o /build/xsd-4.0.0/xsd/xsd/cxx/parser/options.o /build/xsd-4.0.0/libxsd-frontend/xsd-frontend/libxsd-frontend.a /build/xsd-4.0.0/libcutl/cutl/libcutl.a /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so /build/xsd-4.0.0/libcutl/cutl/libcutl.a /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so make[1]: Leaving directory '/build/xsd-4.0.0' dh_auto_test - make -j15 test + make -j16 test make[1]: Entering directory '/build/xsd-4.0.0' x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/binary -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/binary -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/binary/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/binary/driver.cxx x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/boolean -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/boolean -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/boolean/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/boolean/driver.cxx @@ -6668,7 +6711,7 @@ x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/string -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/string -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/string/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/string/driver.cxx x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/uri -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/uri -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/uri/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/uri/driver.cxx In file included from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:10, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/byte/driver.cxx:10: + from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/binary/driver.cxx:10: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -6691,7 +6734,7 @@ 64 | template class auto_ptr; | ^~~~~~~~ In file included from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:10, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/binary/driver.cxx:10: + from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/boolean/driver.cxx:10: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -6713,44 +6756,8 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:668:19: note: in expansion of macro 'XSD_AUTO_PTR' - 668 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:673:11: note: in expansion of macro 'XSD_AUTO_PTR' - 673 | XSD_AUTO_PTR buf_; - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:690:19: note: in expansion of macro 'XSD_AUTO_PTR' - 690 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:695:11: note: in expansion of macro 'XSD_AUTO_PTR' - 695 | XSD_AUTO_PTR buf_; - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ In file included from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:10, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/date-time/driver.cxx:10: + from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/byte/driver.cxx:10: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -6844,17 +6851,8 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1640:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1640 | XSD_AUTO_PTR base64_binary_pimpl:: - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ In file included from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:10, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/boolean/driver.cxx:10: + from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/int/driver.cxx:10: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -6876,17 +6874,31 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:10, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/float/driver.cxx:11: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1731:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1731 | XSD_AUTO_PTR hex_binary_pimpl:: - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:498:19: note: in expansion of macro 'XSD_AUTO_PTR' + 498 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:9, + from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:12: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:511:19: note: in expansion of macro 'XSD_AUTO_PTR' + 511 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:10, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/long/driver.cxx:10: + from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/qname/driver.cxx:10: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -6908,8 +6920,44 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:668:19: note: in expansion of macro 'XSD_AUTO_PTR' + 668 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:673:11: note: in expansion of macro 'XSD_AUTO_PTR' + 673 | XSD_AUTO_PTR buf_; + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:690:19: note: in expansion of macro 'XSD_AUTO_PTR' + 690 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:695:11: note: in expansion of macro 'XSD_AUTO_PTR' + 695 | XSD_AUTO_PTR buf_; + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ In file included from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:10, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/integer/driver.cxx:14: + from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/date-time/driver.cxx:10: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -6934,18 +6982,36 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1640:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1640 | XSD_AUTO_PTR base64_binary_pimpl:: - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:668:19: note: in expansion of macro 'XSD_AUTO_PTR' + 668 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1731:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1731 | XSD_AUTO_PTR hex_binary_pimpl:: - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:673:11: note: in expansion of macro 'XSD_AUTO_PTR' + 673 | XSD_AUTO_PTR buf_; + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:690:19: note: in expansion of macro 'XSD_AUTO_PTR' + 690 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:695:11: note: in expansion of macro 'XSD_AUTO_PTR' + 695 | XSD_AUTO_PTR buf_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -7058,7 +7124,7 @@ 64 | template class auto_ptr; | ^~~~~~~~ In file included from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:10, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/qname/driver.cxx:10: + from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/integer/driver.cxx:14: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -7101,26 +7167,26 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:668:19: note: in expansion of macro 'XSD_AUTO_PTR' - 668 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1640:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1640 | XSD_AUTO_PTR base64_binary_pimpl:: + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:673:11: note: in expansion of macro 'XSD_AUTO_PTR' - 673 | XSD_AUTO_PTR buf_; - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1731:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1731 | XSD_AUTO_PTR hex_binary_pimpl:: + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:690:19: note: in expansion of macro 'XSD_AUTO_PTR' - 690 | virtual XSD_AUTO_PTR +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:668:19: note: in expansion of macro 'XSD_AUTO_PTR' + 668 | virtual XSD_AUTO_PTR | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; @@ -7128,8 +7194,8 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:695:11: note: in expansion of macro 'XSD_AUTO_PTR' - 695 | XSD_AUTO_PTR buf_; +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:673:11: note: in expansion of macro 'XSD_AUTO_PTR' + 673 | XSD_AUTO_PTR buf_; | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; @@ -7137,18 +7203,18 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1640:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1640 | XSD_AUTO_PTR base64_binary_pimpl:: - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:690:19: note: in expansion of macro 'XSD_AUTO_PTR' + 690 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1731:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1731 | XSD_AUTO_PTR hex_binary_pimpl:: - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:695:11: note: in expansion of macro 'XSD_AUTO_PTR' + 695 | XSD_AUTO_PTR buf_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -7171,7 +7237,7 @@ 64 | template class auto_ptr; | ^~~~~~~~ In file included from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:10, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/string/driver.cxx:11: + from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/long/driver.cxx:10: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -7214,18 +7280,18 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:668:19: note: in expansion of macro 'XSD_AUTO_PTR' - 668 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1640:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1640 | XSD_AUTO_PTR base64_binary_pimpl:: + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:673:11: note: in expansion of macro 'XSD_AUTO_PTR' - 673 | XSD_AUTO_PTR buf_; - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1731:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1731 | XSD_AUTO_PTR hex_binary_pimpl:: + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -7241,18 +7307,18 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:690:19: note: in expansion of macro 'XSD_AUTO_PTR' - 690 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1731:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1731 | XSD_AUTO_PTR hex_binary_pimpl:: + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:695:11: note: in expansion of macro 'XSD_AUTO_PTR' - 695 | XSD_AUTO_PTR buf_; - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1640:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1640 | XSD_AUTO_PTR base64_binary_pimpl:: + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -7265,34 +7331,29 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:10, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/int/driver.cxx:10: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:498:19: note: in expansion of macro 'XSD_AUTO_PTR' - 498 | virtual XSD_AUTO_PTR +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:668:19: note: in expansion of macro 'XSD_AUTO_PTR' + 668 | virtual XSD_AUTO_PTR | ^~~~~~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:9, - from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:12: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:511:19: note: in expansion of macro 'XSD_AUTO_PTR' - 511 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:673:11: note: in expansion of macro 'XSD_AUTO_PTR' + 673 | XSD_AUTO_PTR buf_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:668:19: note: in expansion of macro 'XSD_AUTO_PTR' - 668 | virtual XSD_AUTO_PTR +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:690:19: note: in expansion of macro 'XSD_AUTO_PTR' + 690 | virtual XSD_AUTO_PTR | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; @@ -7300,8 +7361,8 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:673:11: note: in expansion of macro 'XSD_AUTO_PTR' - 673 | XSD_AUTO_PTR buf_; +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:695:11: note: in expansion of macro 'XSD_AUTO_PTR' + 695 | XSD_AUTO_PTR buf_; | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; @@ -7309,18 +7370,18 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:690:19: note: in expansion of macro 'XSD_AUTO_PTR' - 690 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1640:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1640 | XSD_AUTO_PTR base64_binary_pimpl:: + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:695:11: note: in expansion of macro 'XSD_AUTO_PTR' - 695 | XSD_AUTO_PTR buf_; - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1731:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1731 | XSD_AUTO_PTR hex_binary_pimpl:: + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -7401,47 +7462,52 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:10, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/float/driver.cxx:11: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:498:19: note: in expansion of macro 'XSD_AUTO_PTR' - 498 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:9, - from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:12: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1640:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1640 | XSD_AUTO_PTR base64_binary_pimpl:: + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:511:19: note: in expansion of macro 'XSD_AUTO_PTR' - 511 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1731:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1731 | XSD_AUTO_PTR hex_binary_pimpl:: + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/xsd/xsd cxx-parser --generate-inline --skel-file-suffix -pskel --std c++98 --output-dir /build/xsd-4.0.0/xsd/tests/cxx/parser/built-in/ /build/xsd-4.0.0/xsd/tests/cxx/parser/built-in/test.xsd +/build/xsd-4.0.0/xsd/xsd/xsd cxx-parser --generate-inline --skel-file-suffix -pskel --type-map /build/xsd-4.0.0/xsd/tests/cxx/parser/enumeration/test.map --std c++98 --output-dir /build/xsd-4.0.0/xsd/tests/cxx/parser/enumeration/ /build/xsd-4.0.0/xsd/tests/cxx/parser/enumeration/test.xsd +/build/xsd-4.0.0/xsd/xsd/xsd cxx-parser --generate-inline --skel-file-suffix -pskel --generate-print-impl --generate-test-driver --force-overwrite --std c++98 --output-dir /build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/ /build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test.xsd +In file included from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:10, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/short/driver.cxx:10: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1640:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1640 | XSD_AUTO_PTR base64_binary_pimpl:: - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:498:19: note: in expansion of macro 'XSD_AUTO_PTR' + 498 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:9, + from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:12: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1731:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1731 | XSD_AUTO_PTR hex_binary_pimpl:: - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:511:19: note: in expansion of macro 'XSD_AUTO_PTR' + 511 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/xsd/xsd cxx-parser --generate-inline --skel-file-suffix -pskel --std c++98 --output-dir /build/xsd-4.0.0/xsd/tests/cxx/parser/list/ /build/xsd-4.0.0/xsd/tests/cxx/parser/list/test.xsd +/build/xsd-4.0.0/xsd/xsd/xsd cxx-parser --generate-inline --skel-file-suffix -pskel --generate-validation --std c++98 --output-dir /build/xsd-4.0.0/xsd/tests/cxx/parser/recursive/ /build/xsd-4.0.0/xsd/tests/cxx/parser/recursive/test.xsd /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -7478,26 +7544,12 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1640:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1640 | XSD_AUTO_PTR base64_binary_pimpl:: - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1731:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1731 | XSD_AUTO_PTR hex_binary_pimpl:: - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/xsd/xsd cxx-parser --generate-inline --skel-file-suffix -pskel --generate-validation --std c++98 --output-dir /build/xsd-4.0.0/xsd/tests/cxx/parser/name-clash/inheritance/ /build/xsd-4.0.0/xsd/tests/cxx/parser/name-clash/inheritance/test.xsd +/build/xsd-4.0.0/xsd/xsd/xsd cxx-parser --generate-inline --skel-file-suffix -pskel --generate-polymorphic --std c++98 --output-dir /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/same-type/ /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/same-type/test.xsd +/build/xsd-4.0.0/xsd/xsd/xsd cxx-parser --generate-inline --skel-file-suffix -pskel --generate-polymorphic --std c++98 --output-dir /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/recursive/ /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/recursive/test.xsd +/build/xsd-4.0.0/xsd/xsd/xsd cxx-parser --generate-inline --skel-file-suffix -pskel --std c++98 --output-dir /build/xsd-4.0.0/xsd/tests/cxx/parser/test-template/ /build/xsd-4.0.0/xsd/tests/cxx/parser/test-template/test.xsd In file included from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:10, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/short/driver.cxx:10: + from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/string/driver.cxx:11: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -7519,9 +7571,8 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/xsd/xsd cxx-parser --generate-inline --skel-file-suffix -pskel --std c++98 --output-dir /build/xsd-4.0.0/xsd/tests/cxx/parser/built-in/ /build/xsd-4.0.0/xsd/tests/cxx/parser/built-in/test.xsd -/build/xsd-4.0.0/xsd/xsd/xsd cxx-parser --generate-inline --skel-file-suffix -pskel --type-map /build/xsd-4.0.0/xsd/tests/cxx/parser/enumeration/test.map --std c++98 --output-dir /build/xsd-4.0.0/xsd/tests/cxx/parser/enumeration/ /build/xsd-4.0.0/xsd/tests/cxx/parser/enumeration/test.xsd -/build/xsd-4.0.0/xsd/xsd/xsd cxx-parser --generate-inline --skel-file-suffix -pskel --generate-print-impl --generate-test-driver --force-overwrite --std c++98 --output-dir /build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/ /build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test.xsd +/build/xsd-4.0.0/xsd/xsd/xsd cxx-parser --generate-inline --skel-file-suffix -pskel --generate-validation --std c++98 --output-dir /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/all/ /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/all/test.xsd +/build/xsd-4.0.0/xsd/xsd/xsd cxx-parser --generate-inline --skel-file-suffix -pskel --generate-validation --std c++98 --output-dir /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/any/ /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/any/test.xsd /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -7540,7 +7591,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/xsd/xsd cxx-parser --generate-inline --skel-file-suffix -pskel --std c++98 --output-dir /build/xsd-4.0.0/xsd/tests/cxx/parser/list/ /build/xsd-4.0.0/xsd/tests/cxx/parser/list/test.xsd /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -7559,7 +7609,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/xsd/xsd cxx-parser --generate-inline --skel-file-suffix -pskel --generate-validation --std c++98 --output-dir /build/xsd-4.0.0/xsd/tests/cxx/parser/recursive/ /build/xsd-4.0.0/xsd/tests/cxx/parser/recursive/test.xsd /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -7578,15 +7627,14 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/xsd/xsd cxx-parser --generate-inline --skel-file-suffix -pskel --generate-validation --std c++98 --output-dir /build/xsd-4.0.0/xsd/tests/cxx/parser/name-clash/inheritance/ /build/xsd-4.0.0/xsd/tests/cxx/parser/name-clash/inheritance/test.xsd -/build/xsd-4.0.0/xsd/xsd/xsd cxx-parser --generate-inline --skel-file-suffix -pskel --generate-polymorphic --std c++98 --output-dir /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/same-type/ /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/same-type/test.xsd -/build/xsd-4.0.0/xsd/xsd/xsd cxx-parser --generate-inline --skel-file-suffix -pskel --generate-polymorphic --std c++98 --output-dir /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/recursive/ /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/recursive/test.xsd -/build/xsd-4.0.0/xsd/xsd/xsd cxx-parser --generate-inline --skel-file-suffix -pskel --std c++98 --output-dir /build/xsd-4.0.0/xsd/tests/cxx/parser/test-template/ /build/xsd-4.0.0/xsd/tests/cxx/parser/test-template/test.xsd -/build/xsd-4.0.0/xsd/xsd/xsd cxx-parser --generate-inline --skel-file-suffix -pskel --generate-validation --std c++98 --output-dir /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/all/ /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/all/test.xsd -/build/xsd-4.0.0/xsd/xsd/xsd cxx-parser --generate-inline --skel-file-suffix -pskel --generate-validation --std c++98 --output-dir /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/any/ /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/any/test.xsd /build/xsd-4.0.0/xsd/xsd/xsd cxx-parser --generate-inline --skel-file-suffix -pskel --generate-validation --std c++98 --output-dir /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/attribute/ /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/attribute/test.xsd /build/xsd-4.0.0/xsd/xsd/xsd cxx-parser --generate-inline --skel-file-suffix -pskel --generate-validation --std c++98 --output-dir /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/any-type/ /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/any-type/test.xsd /build/xsd-4.0.0/xsd/xsd/xsd cxx-parser --generate-inline --skel-file-suffix -pskel --generate-validation --std c++98 --output-dir /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/choice/ /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/choice/test.xsd +/build/xsd-4.0.0/xsd/xsd/xsd cxx-parser --generate-inline --skel-file-suffix -pskel --generate-validation --std c++98 --output-dir /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/restriction/ /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/restriction/test.xsd +/build/xsd-4.0.0/xsd/xsd/xsd cxx-parser --generate-inline --skel-file-suffix -pskel --generate-validation --std c++98 --output-dir /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/sequence/ /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/sequence/test.xsd +/build/xsd-4.0.0/xsd/xsd/xsd cxx-parser --generate-inline --skel-file-suffix -pskel --std c++98 --output-dir /build/xsd-4.0.0/xsd/tests/cxx/parser/union/ /build/xsd-4.0.0/xsd/tests/cxx/parser/union/test.xsd +/build/xsd-4.0.0/xsd/xsd/xsd cxx-tree --generate-inline --generate-any-type --generate-serialization --generate-ostream --generate-comparison --std c++98 --output-dir /build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/ /build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.xsd +/build/xsd-4.0.0/xsd/xsd/xsd cxx-tree --generate-inline --char-type char --generate-inline --generate-ostream --generate-serialization --generate-default-ctor --generate-from-base-ctor --root-element-all --std c++98 --output-dir /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/ /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.xsd /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -7605,11 +7653,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/xsd/xsd cxx-parser --generate-inline --skel-file-suffix -pskel --generate-validation --std c++98 --output-dir /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/restriction/ /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/restriction/test.xsd -/build/xsd-4.0.0/xsd/xsd/xsd cxx-parser --generate-inline --skel-file-suffix -pskel --generate-validation --std c++98 --output-dir /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/sequence/ /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/sequence/test.xsd -/build/xsd-4.0.0/xsd/xsd/xsd cxx-parser --generate-inline --skel-file-suffix -pskel --std c++98 --output-dir /build/xsd-4.0.0/xsd/tests/cxx/parser/union/ /build/xsd-4.0.0/xsd/tests/cxx/parser/union/test.xsd -/build/xsd-4.0.0/xsd/xsd/xsd cxx-tree --generate-inline --generate-any-type --generate-serialization --generate-ostream --generate-comparison --std c++98 --output-dir /build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/ /build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.xsd -/build/xsd-4.0.0/xsd/xsd/xsd cxx-tree --generate-inline --char-type char --generate-inline --generate-ostream --generate-serialization --generate-default-ctor --generate-from-base-ctor --root-element-all --std c++98 --output-dir /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/ /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.xsd /build/xsd-4.0.0/xsd/xsd/xsd cxx-tree --generate-inline --root-element root --generate-ostream --std c++98 --output-dir /build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/ /build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.xsd /build/xsd-4.0.0/xsd/xsd/xsd cxx-tree --generate-inline --generate-comparison --std c++98 --output-dir /build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/ /build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.xsd /build/xsd-4.0.0/xsd/xsd/xsd cxx-tree --generate-inline --generate-serialization --std c++98 --output-dir /build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/ /build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.xsd @@ -7651,10 +7694,8 @@ x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl -I/build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pimpl.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pimpl.cxx x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/list -I/build/xsd-4.0.0/xsd/tests/cxx/parser/list -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/list/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/list/driver.cxx x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/list -I/build/xsd-4.0.0/xsd/tests/cxx/parser/list -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/list/test-pskel.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/list/test-pskel.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/recursive -I/build/xsd-4.0.0/xsd/tests/cxx/parser/recursive -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/recursive/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/recursive/driver.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/recursive -I/build/xsd-4.0.0/xsd/tests/cxx/parser/recursive -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/recursive/test-pskel.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/recursive/test-pskel.cxx -In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/built-in/test-pskel.hxx:42, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/built-in/driver.cxx:11: +In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/enumeration/test-pskel.hxx:42, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/enumeration/driver.cxx:11: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -7663,7 +7704,7 @@ | ^~~~~~~~~~~~ In file included from /usr/include/c++/12/memory:76, from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:9, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/built-in/test-pskel.hxx:72: + from /build/xsd-4.0.0/xsd/tests/cxx/parser/enumeration/test-pskel.hxx:74: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -7694,46 +7735,54 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/built-in/test-pskel.hxx:42, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/built-in/driver.cxx:11: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1159:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1159 | XSD_AUTO_PTR base64_binary_pimpl:: - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:498:19: note: in expansion of macro 'XSD_AUTO_PTR' + 498 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:9, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/built-in/test-pskel.hxx:72: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: In member function 'virtual std::auto_ptr xsd::cxx::parser::non_validating::base64_binary_pimpl::post_base64_binary()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1201:11: note: in expansion of macro 'XSD_AUTO_PTR' - 1201 | XSD_AUTO_PTR buf (new buffer (capacity, capacity)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:511:19: note: in expansion of macro 'XSD_AUTO_PTR' + 511 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: At global scope: +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/recursive -I/build/xsd-4.0.0/xsd/tests/cxx/parser/recursive -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/recursive/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/recursive/driver.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/recursive -I/build/xsd-4.0.0/xsd/tests/cxx/parser/recursive -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/recursive/test-pskel.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/recursive/test-pskel.cxx +In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pskel.hxx:42, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pskel.cxx:41: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1311:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1311 | XSD_AUTO_PTR hex_binary_pimpl:: - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:498:19: note: in expansion of macro 'XSD_AUTO_PTR' + 498 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:9, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pskel.hxx:80: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: In member function 'virtual std::auto_ptr xsd::cxx::parser::non_validating::hex_binary_pimpl::post_hex_binary()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1320:11: note: in expansion of macro 'XSD_AUTO_PTR' - 1320 | XSD_AUTO_PTR buf (new buffer (n)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:511:19: note: in expansion of macro 'XSD_AUTO_PTR' + 511 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/name-clash/inheritance -I/build/xsd-4.0.0/xsd/tests/cxx/parser/name-clash/inheritance -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/name-clash/inheritance/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/name-clash/inheritance/driver.cxx In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/built-in/test-pskel.hxx:42, from /build/xsd-4.0.0/xsd/tests/cxx/parser/built-in/test-pskel.cxx:41: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] @@ -7775,128 +7824,80 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx:381:11: note: in expansion of macro 'XSD_AUTO_PTR' - 381 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:97:11: note: in expansion of macro 'XSD_AUTO_PTR' - 97 | XSD_AUTO_PTR sax (create_sax_ (f, p)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xsd::cxx::xml::error_handler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:126:11: note: in expansion of macro 'XSD_AUTO_PTR' - 126 | XSD_AUTO_PTR sax (create_sax_ (f, p)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xercesc_3_2::ErrorHandler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': +In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pskel.hxx:42, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pimpl.hxx:11, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-driver.cxx:8: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:155:11: note: in expansion of macro 'XSD_AUTO_PTR' - 155 | XSD_AUTO_PTR sax (create_sax_ (f, p)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:498:19: note: in expansion of macro 'XSD_AUTO_PTR' + 498 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:9, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pskel.hxx:80: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:392:11: note: in expansion of macro 'XSD_AUTO_PTR' - 392 | XSD_AUTO_PTR sax (create_sax_ (f, p)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:511:19: note: in expansion of macro 'XSD_AUTO_PTR' + 511 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xsd::cxx::xml::error_handler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:407:11: note: in expansion of macro 'XSD_AUTO_PTR' - 407 | XSD_AUTO_PTR sax (create_sax_ (f, p)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.hxx:568:19: note: in expansion of macro 'XSD_AUTO_PTR' + 568 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xercesc_3_2::ErrorHandler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:423:11: note: in expansion of macro 'XSD_AUTO_PTR' - 423 | XSD_AUTO_PTR sax (create_sax_ (f, p)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.hxx:586:19: note: in expansion of macro 'XSD_AUTO_PTR' + 586 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:571:9: note: in expansion of macro 'XSD_AUTO_PTR' - 571 | XSD_AUTO_PTR document:: - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.hxx:568:19: note: in expansion of macro 'XSD_AUTO_PTR' + 568 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'std::auto_ptr xsd::cxx::parser::xerces::document::create_sax_(xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:576:11: note: in expansion of macro 'XSD_AUTO_PTR' - 576 | XSD_AUTO_PTR sax ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/parser/built-in/test-pskel.hxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/parser/built-in/test-pskel.hxx:376:27: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 376 | base64_binary (::std::auto_ptr< ::xml_schema::buffer >); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/parser/built-in/test-pskel.hxx:379:24: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 379 | hex_binary (::std::auto_ptr< ::xml_schema::buffer >); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.hxx:586:19: note: in expansion of macro 'XSD_AUTO_PTR' + 586 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/list/test-pskel.hxx:42, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/list/driver.cxx:11: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:498:19: note: in expansion of macro 'XSD_AUTO_PTR' - 498 | virtual XSD_AUTO_PTR +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.hxx:568:19: note: in expansion of macro 'XSD_AUTO_PTR' + 568 | virtual XSD_AUTO_PTR | ^~~~~~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:9, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/list/test-pskel.hxx:74: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:511:19: note: in expansion of macro 'XSD_AUTO_PTR' - 511 | virtual XSD_AUTO_PTR +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.hxx:586:19: note: in expansion of macro 'XSD_AUTO_PTR' + 586 | virtual XSD_AUTO_PTR | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; @@ -7904,42 +7905,45 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/parser/built-in/driver.cxx:280:18: note: in expansion of macro 'XSD_AUTO_PTR' - 280 | base64_binary (XSD_AUTO_PTR v) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1159:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1159 | XSD_AUTO_PTR base64_binary_pimpl:: + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: In member function 'virtual std::auto_ptr xsd::cxx::parser::non_validating::base64_binary_pimpl::post_base64_binary()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/parser/built-in/driver.cxx:287:15: note: in expansion of macro 'XSD_AUTO_PTR' - 287 | hex_binary (XSD_AUTO_PTR v) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1201:11: note: in expansion of macro 'XSD_AUTO_PTR' + 1201 | XSD_AUTO_PTR buf (new buffer (capacity, capacity)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.hxx:568:19: note: in expansion of macro 'XSD_AUTO_PTR' - 568 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1311:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1311 | XSD_AUTO_PTR hex_binary_pimpl:: + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: In member function 'virtual std::auto_ptr xsd::cxx::parser::non_validating::hex_binary_pimpl::post_hex_binary()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.hxx:586:19: note: in expansion of macro 'XSD_AUTO_PTR' - 586 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1320:11: note: in expansion of macro 'XSD_AUTO_PTR' + 1320 | XSD_AUTO_PTR buf (new buffer (n)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pskel.hxx:42, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pimpl.hxx:11, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pimpl.cxx:8: +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/name-clash/inheritance -I/build/xsd-4.0.0/xsd/tests/cxx/parser/name-clash/inheritance -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/name-clash/inheritance/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/name-clash/inheritance/driver.cxx +In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/enumeration/test-pskel.hxx:42, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/enumeration/test-pskel.cxx:41: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -7948,7 +7952,7 @@ | ^~~~~~~~~~~~ In file included from /usr/include/c++/12/memory:76, from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:9, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pskel.hxx:80: + from /build/xsd-4.0.0/xsd/tests/cxx/parser/enumeration/test-pskel.hxx:74: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -7979,26 +7983,42 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/enumeration/test-pskel.hxx:42, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/enumeration/driver.cxx:11: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:498:19: note: in expansion of macro 'XSD_AUTO_PTR' - 498 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:9, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/enumeration/test-pskel.hxx:74: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1159:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1159 | XSD_AUTO_PTR base64_binary_pimpl:: + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: In member function 'virtual std::auto_ptr xsd::cxx::parser::non_validating::base64_binary_pimpl::post_base64_binary()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:511:19: note: in expansion of macro 'XSD_AUTO_PTR' - 511 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1201:11: note: in expansion of macro 'XSD_AUTO_PTR' + 1201 | XSD_AUTO_PTR buf (new buffer (capacity, capacity)); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1311:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1311 | XSD_AUTO_PTR hex_binary_pimpl:: + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: In member function 'virtual std::auto_ptr xsd::cxx::parser::non_validating::hex_binary_pimpl::post_hex_binary()': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1320:11: note: in expansion of macro 'XSD_AUTO_PTR' + 1320 | XSD_AUTO_PTR buf (new buffer (n)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -8041,44 +8061,52 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/enumeration/test-pskel.hxx:42, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/enumeration/test-pskel.cxx:41: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:498:19: note: in expansion of macro 'XSD_AUTO_PTR' - 498 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:9, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/enumeration/test-pskel.hxx:74: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1159:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1159 | XSD_AUTO_PTR base64_binary_pimpl:: + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: In member function 'virtual std::auto_ptr xsd::cxx::parser::non_validating::base64_binary_pimpl::post_base64_binary()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:511:19: note: in expansion of macro 'XSD_AUTO_PTR' - 511 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1201:11: note: in expansion of macro 'XSD_AUTO_PTR' + 1201 | XSD_AUTO_PTR buf (new buffer (capacity, capacity)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.hxx:568:19: note: in expansion of macro 'XSD_AUTO_PTR' - 568 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1311:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1311 | XSD_AUTO_PTR hex_binary_pimpl:: + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: In member function 'virtual std::auto_ptr xsd::cxx::parser::non_validating::hex_binary_pimpl::post_hex_binary()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.hxx:586:19: note: in expansion of macro 'XSD_AUTO_PTR' - 586 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1320:11: note: in expansion of macro 'XSD_AUTO_PTR' + 1320 | XSD_AUTO_PTR buf (new buffer (n)); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx:381:11: note: in expansion of macro 'XSD_AUTO_PTR' + 381 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -8121,91 +8149,90 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pskel.hxx:42, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pimpl.hxx:11, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-driver.cxx:8: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:498:19: note: in expansion of macro 'XSD_AUTO_PTR' - 498 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:9, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pskel.hxx:80: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:97:11: note: in expansion of macro 'XSD_AUTO_PTR' + 97 | XSD_AUTO_PTR sax (create_sax_ (f, p)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xsd::cxx::xml::error_handler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:511:19: note: in expansion of macro 'XSD_AUTO_PTR' - 511 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:126:11: note: in expansion of macro 'XSD_AUTO_PTR' + 126 | XSD_AUTO_PTR sax (create_sax_ (f, p)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xercesc_3_2::ErrorHandler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.hxx:568:19: note: in expansion of macro 'XSD_AUTO_PTR' - 568 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:155:11: note: in expansion of macro 'XSD_AUTO_PTR' + 155 | XSD_AUTO_PTR sax (create_sax_ (f, p)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.hxx:586:19: note: in expansion of macro 'XSD_AUTO_PTR' - 586 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:392:11: note: in expansion of macro 'XSD_AUTO_PTR' + 392 | XSD_AUTO_PTR sax (create_sax_ (f, p)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/recursive/test-pskel.hxx:42, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/recursive/driver.cxx:11: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xsd::cxx::xml::error_handler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:498:19: note: in expansion of macro 'XSD_AUTO_PTR' - 498 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:9, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/recursive/test-pskel.hxx:71: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:407:11: note: in expansion of macro 'XSD_AUTO_PTR' + 407 | XSD_AUTO_PTR sax (create_sax_ (f, p)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xercesc_3_2::ErrorHandler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:511:19: note: in expansion of macro 'XSD_AUTO_PTR' - 511 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:423:11: note: in expansion of macro 'XSD_AUTO_PTR' + 423 | XSD_AUTO_PTR sax (create_sax_ (f, p)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.hxx:568:19: note: in expansion of macro 'XSD_AUTO_PTR' - 568 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:571:9: note: in expansion of macro 'XSD_AUTO_PTR' + 571 | XSD_AUTO_PTR document:: + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'std::auto_ptr xsd::cxx::parser::xerces::document::create_sax_(xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.hxx:586:19: note: in expansion of macro 'XSD_AUTO_PTR' - 586 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:576:11: note: in expansion of macro 'XSD_AUTO_PTR' + 576 | XSD_AUTO_PTR sax ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/name-clash/inheritance -I/build/xsd-4.0.0/xsd/tests/cxx/parser/name-clash/inheritance -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/name-clash/inheritance/test-pskel.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/name-clash/inheritance/test-pskel.cxx In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pskel.hxx:42, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pskel.cxx:41: + from /build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pimpl.hxx:11, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pimpl.cxx:8: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -8227,241 +8254,292 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:668:19: note: in expansion of macro 'XSD_AUTO_PTR' - 668 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx:381:11: note: in expansion of macro 'XSD_AUTO_PTR' + 381 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:673:11: note: in expansion of macro 'XSD_AUTO_PTR' - 673 | XSD_AUTO_PTR buf_; +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx:381:11: note: in expansion of macro 'XSD_AUTO_PTR' + 381 | XSD_AUTO_PTR | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:690:19: note: in expansion of macro 'XSD_AUTO_PTR' - 690 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:97:11: note: in expansion of macro 'XSD_AUTO_PTR' + 97 | XSD_AUTO_PTR sax (create_sax_ (f, p)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:695:11: note: in expansion of macro 'XSD_AUTO_PTR' - 695 | XSD_AUTO_PTR buf_; +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:97:11: note: in expansion of macro 'XSD_AUTO_PTR' + 97 | XSD_AUTO_PTR sax (create_sax_ (f, p)); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xsd::cxx::xml::error_handler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.hxx:568:19: note: in expansion of macro 'XSD_AUTO_PTR' - 568 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:126:11: note: in expansion of macro 'XSD_AUTO_PTR' + 126 | XSD_AUTO_PTR sax (create_sax_ (f, p)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xsd::cxx::xml::error_handler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.hxx:586:19: note: in expansion of macro 'XSD_AUTO_PTR' - 586 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:126:11: note: in expansion of macro 'XSD_AUTO_PTR' + 126 | XSD_AUTO_PTR sax (create_sax_ (f, p)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xercesc_3_2::ErrorHandler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1159:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1159 | XSD_AUTO_PTR base64_binary_pimpl:: - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:155:11: note: in expansion of macro 'XSD_AUTO_PTR' + 155 | XSD_AUTO_PTR sax (create_sax_ (f, p)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: In member function 'virtual std::auto_ptr xsd::cxx::parser::non_validating::base64_binary_pimpl::post_base64_binary()': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xercesc_3_2::ErrorHandler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1201:11: note: in expansion of macro 'XSD_AUTO_PTR' - 1201 | XSD_AUTO_PTR buf (new buffer (capacity, capacity)); +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:155:11: note: in expansion of macro 'XSD_AUTO_PTR' + 155 | XSD_AUTO_PTR sax (create_sax_ (f, p)); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1311:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1311 | XSD_AUTO_PTR hex_binary_pimpl:: - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:392:11: note: in expansion of macro 'XSD_AUTO_PTR' + 392 | XSD_AUTO_PTR sax (create_sax_ (f, p)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: In member function 'virtual std::auto_ptr xsd::cxx::parser::non_validating::hex_binary_pimpl::post_hex_binary()': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1320:11: note: in expansion of macro 'XSD_AUTO_PTR' - 1320 | XSD_AUTO_PTR buf (new buffer (n)); +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:392:11: note: in expansion of macro 'XSD_AUTO_PTR' + 392 | XSD_AUTO_PTR sax (create_sax_ (f, p)); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xsd::cxx::xml::error_handler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1159:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1159 | XSD_AUTO_PTR base64_binary_pimpl:: - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:407:11: note: in expansion of macro 'XSD_AUTO_PTR' + 407 | XSD_AUTO_PTR sax (create_sax_ (f, p)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: In member function 'virtual std::auto_ptr xsd::cxx::parser::non_validating::base64_binary_pimpl::post_base64_binary()': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xsd::cxx::xml::error_handler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1201:11: note: in expansion of macro 'XSD_AUTO_PTR' - 1201 | XSD_AUTO_PTR buf (new buffer (capacity, capacity)); +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:407:11: note: in expansion of macro 'XSD_AUTO_PTR' + 407 | XSD_AUTO_PTR sax (create_sax_ (f, p)); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xercesc_3_2::ErrorHandler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1311:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1311 | XSD_AUTO_PTR hex_binary_pimpl:: - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:423:11: note: in expansion of macro 'XSD_AUTO_PTR' + 423 | XSD_AUTO_PTR sax (create_sax_ (f, p)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: In member function 'virtual std::auto_ptr xsd::cxx::parser::non_validating::hex_binary_pimpl::post_hex_binary()': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xercesc_3_2::ErrorHandler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1320:11: note: in expansion of macro 'XSD_AUTO_PTR' - 1320 | XSD_AUTO_PTR buf (new buffer (n)); +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:423:11: note: in expansion of macro 'XSD_AUTO_PTR' + 423 | XSD_AUTO_PTR sax (create_sax_ (f, p)); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1640:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1640 | XSD_AUTO_PTR base64_binary_pimpl:: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:571:9: note: in expansion of macro 'XSD_AUTO_PTR' + 571 | XSD_AUTO_PTR document:: | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1731:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1731 | XSD_AUTO_PTR hex_binary_pimpl:: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:571:9: note: in expansion of macro 'XSD_AUTO_PTR' + 571 | XSD_AUTO_PTR document:: | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'std::auto_ptr xsd::cxx::parser::xerces::document::create_sax_(xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1159:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1159 | XSD_AUTO_PTR base64_binary_pimpl:: - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:576:11: note: in expansion of macro 'XSD_AUTO_PTR' + 576 | XSD_AUTO_PTR sax ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: In member function 'virtual std::auto_ptr xsd::cxx::parser::non_validating::base64_binary_pimpl::post_base64_binary()': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'std::auto_ptr xsd::cxx::parser::xerces::document::create_sax_(xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1201:11: note: in expansion of macro 'XSD_AUTO_PTR' - 1201 | XSD_AUTO_PTR buf (new buffer (capacity, capacity)); +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:576:11: note: in expansion of macro 'XSD_AUTO_PTR' + 576 | XSD_AUTO_PTR sax ( | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1311:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1311 | XSD_AUTO_PTR hex_binary_pimpl:: - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/parser/built-in/test-pskel.hxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/parser/built-in/test-pskel.hxx:376:27: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 376 | base64_binary (::std::auto_ptr< ::xml_schema::buffer >); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: In member function 'virtual std::auto_ptr xsd::cxx::parser::non_validating::hex_binary_pimpl::post_hex_binary()': +/build/xsd-4.0.0/xsd/tests/cxx/parser/built-in/test-pskel.hxx:379:24: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 379 | hex_binary (::std::auto_ptr< ::xml_schema::buffer >); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pskel.hxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pskel.hxx:698:27: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 698 | base64_binary (::std::auto_ptr< ::xml_schema::buffer >); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pskel.hxx:701:24: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 701 | hex_binary (::std::auto_ptr< ::xml_schema::buffer >); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/parser/built-in/test-pskel.cxx:209:25: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 209 | base64_binary (::std::auto_ptr< ::xml_schema::buffer >) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/parser/built-in/test-pskel.cxx:214:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 214 | hex_binary (::std::auto_ptr< ::xml_schema::buffer >) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/list/test-pskel.hxx:42, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/list/driver.cxx:11: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1320:11: note: in expansion of macro 'XSD_AUTO_PTR' - 1320 | XSD_AUTO_PTR buf (new buffer (n)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:498:19: note: in expansion of macro 'XSD_AUTO_PTR' + 498 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:9, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/list/test-pskel.hxx:74: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1159:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1159 | XSD_AUTO_PTR base64_binary_pimpl:: - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:511:19: note: in expansion of macro 'XSD_AUTO_PTR' + 511 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: In member function 'virtual std::auto_ptr xsd::cxx::parser::non_validating::base64_binary_pimpl::post_base64_binary()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1201:11: note: in expansion of macro 'XSD_AUTO_PTR' - 1201 | XSD_AUTO_PTR buf (new buffer (capacity, capacity)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.hxx:568:19: note: in expansion of macro 'XSD_AUTO_PTR' + 568 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pskel.cxx:577:25: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 577 | base64_binary (::std::auto_ptr< ::xml_schema::buffer >) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pskel.cxx:582:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 582 | hex_binary (::std::auto_ptr< ::xml_schema::buffer >) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1311:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1311 | XSD_AUTO_PTR hex_binary_pimpl:: - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.hxx:586:19: note: in expansion of macro 'XSD_AUTO_PTR' + 586 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: In member function 'virtual std::auto_ptr xsd::cxx::parser::non_validating::hex_binary_pimpl::post_hex_binary()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1320:11: note: in expansion of macro 'XSD_AUTO_PTR' - 1320 | XSD_AUTO_PTR buf (new buffer (n)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.hxx:568:19: note: in expansion of macro 'XSD_AUTO_PTR' + 568 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx:381:11: note: in expansion of macro 'XSD_AUTO_PTR' - 381 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.hxx:586:19: note: in expansion of macro 'XSD_AUTO_PTR' + 586 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -8574,55 +8652,63 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx:381:11: note: in expansion of macro 'XSD_AUTO_PTR' - 381 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:571:9: note: in expansion of macro 'XSD_AUTO_PTR' + 571 | XSD_AUTO_PTR document:: + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/list/test-pskel.hxx:42, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/list/test-pskel.cxx:41: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'std::auto_ptr xsd::cxx::parser::xerces::document::create_sax_(xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:498:19: note: in expansion of macro 'XSD_AUTO_PTR' - 498 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:9, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/list/test-pskel.hxx:74: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:576:11: note: in expansion of macro 'XSD_AUTO_PTR' + 576 | XSD_AUTO_PTR sax ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/parser/built-in/test-pskel.hxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/parser/built-in/test-pskel.hxx:376:27: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 376 | base64_binary (::std::auto_ptr< ::xml_schema::buffer >); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/parser/built-in/test-pskel.hxx:379:24: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 379 | hex_binary (::std::auto_ptr< ::xml_schema::buffer >); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:511:19: note: in expansion of macro 'XSD_AUTO_PTR' - 511 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/parser/built-in/driver.cxx:280:18: note: in expansion of macro 'XSD_AUTO_PTR' + 280 | base64_binary (XSD_AUTO_PTR v) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:571:9: note: in expansion of macro 'XSD_AUTO_PTR' - 571 | XSD_AUTO_PTR document:: - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/parser/built-in/driver.cxx:287:15: note: in expansion of macro 'XSD_AUTO_PTR' + 287 | hex_binary (XSD_AUTO_PTR v) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'std::auto_ptr xsd::cxx::parser::xerces::document::create_sax_(xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:576:11: note: in expansion of macro 'XSD_AUTO_PTR' - 576 | XSD_AUTO_PTR sax ( +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx:381:11: note: in expansion of macro 'XSD_AUTO_PTR' + 381 | XSD_AUTO_PTR | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; @@ -8677,16 +8763,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:97:11: note: in expansion of macro 'XSD_AUTO_PTR' - 97 | XSD_AUTO_PTR sax (create_sax_ (f, p)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xercesc_3_2::ErrorHandler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -8697,23 +8773,12 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xsd::cxx::xml::error_handler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:126:11: note: in expansion of macro 'XSD_AUTO_PTR' - 126 | XSD_AUTO_PTR sax (create_sax_ (f, p)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xercesc_3_2::ErrorHandler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:155:11: note: in expansion of macro 'XSD_AUTO_PTR' - 155 | XSD_AUTO_PTR sax (create_sax_ (f, p)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1159:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1159 | XSD_AUTO_PTR base64_binary_pimpl:: + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -8737,69 +8802,84 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: In member function 'virtual std::auto_ptr xsd::cxx::parser::non_validating::base64_binary_pimpl::post_base64_binary()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:392:11: note: in expansion of macro 'XSD_AUTO_PTR' - 392 | XSD_AUTO_PTR sax (create_sax_ (f, p)); +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1201:11: note: in expansion of macro 'XSD_AUTO_PTR' + 1201 | XSD_AUTO_PTR buf (new buffer (capacity, capacity)); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xsd::cxx::xml::error_handler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:407:11: note: in expansion of macro 'XSD_AUTO_PTR' - 407 | XSD_AUTO_PTR sax (create_sax_ (f, p)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1311:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1311 | XSD_AUTO_PTR hex_binary_pimpl:: + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xercesc_3_2::ErrorHandler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: In member function 'virtual std::auto_ptr xsd::cxx::parser::non_validating::hex_binary_pimpl::post_hex_binary()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:423:11: note: in expansion of macro 'XSD_AUTO_PTR' - 423 | XSD_AUTO_PTR sax (create_sax_ (f, p)); +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1320:11: note: in expansion of macro 'XSD_AUTO_PTR' + 1320 | XSD_AUTO_PTR buf (new buffer (n)); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:571:9: note: in expansion of macro 'XSD_AUTO_PTR' - 571 | XSD_AUTO_PTR document:: - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pskel.hxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pskel.hxx:698:27: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 698 | base64_binary (::std::auto_ptr< ::xml_schema::buffer >); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'std::auto_ptr xsd::cxx::parser::xerces::document::create_sax_(xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:576:11: note: in expansion of macro 'XSD_AUTO_PTR' - 576 | XSD_AUTO_PTR sax ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pskel.hxx:701:24: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 701 | hex_binary (::std::auto_ptr< ::xml_schema::buffer >); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/parser/built-in/test-pskel.hxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/parser/built-in/test-pskel.hxx:376:27: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 376 | base64_binary (::std::auto_ptr< ::xml_schema::buffer >); +/build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pimpl.hxx:254:27: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 254 | base64_binary (::std::auto_ptr< ::xml_schema::buffer >); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/parser/built-in/test-pskel.hxx:379:24: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 379 | hex_binary (::std::auto_ptr< ::xml_schema::buffer >); +/build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pimpl.hxx:257:24: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 257 | hex_binary (::std::auto_ptr< ::xml_schema::buffer >); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/list/test-pskel.hxx:42, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/list/test-pskel.cxx:41: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:498:19: note: in expansion of macro 'XSD_AUTO_PTR' + 498 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:9, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/list/test-pskel.hxx:74: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:511:19: note: in expansion of macro 'XSD_AUTO_PTR' + 511 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -8818,33 +8898,41 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/parser/built-in/test-pskel.cxx:209:25: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 209 | base64_binary (::std::auto_ptr< ::xml_schema::buffer >) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1159:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1159 | XSD_AUTO_PTR base64_binary_pimpl:: + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/parser/built-in/test-pskel.cxx:214:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 214 | hex_binary (::std::auto_ptr< ::xml_schema::buffer >) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: In member function 'virtual std::auto_ptr xsd::cxx::parser::non_validating::base64_binary_pimpl::post_base64_binary()': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1201:11: note: in expansion of macro 'XSD_AUTO_PTR' + 1201 | XSD_AUTO_PTR buf (new buffer (capacity, capacity)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx:381:11: note: in expansion of macro 'XSD_AUTO_PTR' - 381 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1311:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1311 | XSD_AUTO_PTR hex_binary_pimpl:: + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: In member function 'virtual std::auto_ptr xsd::cxx::parser::non_validating::hex_binary_pimpl::post_hex_binary()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:97:11: note: in expansion of macro 'XSD_AUTO_PTR' - 97 | XSD_AUTO_PTR sax (create_sax_ (f, p)); +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1320:11: note: in expansion of macro 'XSD_AUTO_PTR' + 1320 | XSD_AUTO_PTR buf (new buffer (n)); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; @@ -8859,6 +8947,16 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:97:11: note: in expansion of macro 'XSD_AUTO_PTR' + 97 | XSD_AUTO_PTR sax (create_sax_ (f, p)); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xsd::cxx::xml::error_handler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -8909,42 +9007,52 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:97:11: note: in expansion of macro 'XSD_AUTO_PTR' - 97 | XSD_AUTO_PTR sax (create_sax_ (f, p)); +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:571:9: note: in expansion of macro 'XSD_AUTO_PTR' + 571 | XSD_AUTO_PTR document:: + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'std::auto_ptr xsd::cxx::parser::xerces::document::create_sax_(xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:576:11: note: in expansion of macro 'XSD_AUTO_PTR' + 576 | XSD_AUTO_PTR sax ( | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:571:9: note: in expansion of macro 'XSD_AUTO_PTR' - 571 | XSD_AUTO_PTR document:: - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx:381:11: note: in expansion of macro 'XSD_AUTO_PTR' + 381 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xsd::cxx::xml::error_handler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:126:11: note: in expansion of macro 'XSD_AUTO_PTR' - 126 | XSD_AUTO_PTR sax (create_sax_ (f, p)); +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:97:11: note: in expansion of macro 'XSD_AUTO_PTR' + 97 | XSD_AUTO_PTR sax (create_sax_ (f, p)); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'std::auto_ptr xsd::cxx::parser::xerces::document::create_sax_(xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xsd::cxx::xml::error_handler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:576:11: note: in expansion of macro 'XSD_AUTO_PTR' - 576 | XSD_AUTO_PTR sax ( +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:126:11: note: in expansion of macro 'XSD_AUTO_PTR' + 126 | XSD_AUTO_PTR sax (create_sax_ (f, p)); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; @@ -9048,39 +9156,26 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pskel.hxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pskel.hxx:698:27: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 698 | base64_binary (::std::auto_ptr< ::xml_schema::buffer >); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pskel.hxx:701:24: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 701 | hex_binary (::std::auto_ptr< ::xml_schema::buffer >); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/name-clash/inheritance -I/build/xsd-4.0.0/xsd/tests/cxx/parser/name-clash/inheritance -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/name-clash/inheritance/test-pskel.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/name-clash/inheritance/test-pskel.cxx -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx: At global scope: +In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/recursive/test-pskel.hxx:42, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/recursive/test-pskel.cxx:41: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx:381:11: note: in expansion of macro 'XSD_AUTO_PTR' - 381 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pimpl.hxx:254:27: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 254 | base64_binary (::std::auto_ptr< ::xml_schema::buffer >); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:498:19: note: in expansion of macro 'XSD_AUTO_PTR' + 498 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:9, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/recursive/test-pskel.hxx:71: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pimpl.hxx:257:24: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 257 | hex_binary (::std::auto_ptr< ::xml_schema::buffer >); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:511:19: note: in expansion of macro 'XSD_AUTO_PTR' + 511 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -9091,109 +9186,75 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx:381:11: note: in expansion of macro 'XSD_AUTO_PTR' 381 | XSD_AUTO_PTR | ^~~~~~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:97:11: note: in expansion of macro 'XSD_AUTO_PTR' - 97 | XSD_AUTO_PTR sax (create_sax_ (f, p)); - | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xsd::cxx::xml::error_handler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:126:11: note: in expansion of macro 'XSD_AUTO_PTR' - 126 | XSD_AUTO_PTR sax (create_sax_ (f, p)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:668:19: note: in expansion of macro 'XSD_AUTO_PTR' + 668 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xercesc_3_2::ErrorHandler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:155:11: note: in expansion of macro 'XSD_AUTO_PTR' - 155 | XSD_AUTO_PTR sax (create_sax_ (f, p)); +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:673:11: note: in expansion of macro 'XSD_AUTO_PTR' + 673 | XSD_AUTO_PTR buf_; | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:392:11: note: in expansion of macro 'XSD_AUTO_PTR' - 392 | XSD_AUTO_PTR sax (create_sax_ (f, p)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:690:19: note: in expansion of macro 'XSD_AUTO_PTR' + 690 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xsd::cxx::xml::error_handler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:407:11: note: in expansion of macro 'XSD_AUTO_PTR' - 407 | XSD_AUTO_PTR sax (create_sax_ (f, p)); +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:695:11: note: in expansion of macro 'XSD_AUTO_PTR' + 695 | XSD_AUTO_PTR buf_; | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xercesc_3_2::ErrorHandler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:423:11: note: in expansion of macro 'XSD_AUTO_PTR' - 423 | XSD_AUTO_PTR sax (create_sax_ (f, p)); +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:97:11: note: in expansion of macro 'XSD_AUTO_PTR' + 97 | XSD_AUTO_PTR sax (create_sax_ (f, p)); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:571:9: note: in expansion of macro 'XSD_AUTO_PTR' - 571 | XSD_AUTO_PTR document:: - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'std::auto_ptr xsd::cxx::parser::xerces::document::create_sax_(xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': +In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/recursive/test-pskel.hxx:42, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/recursive/driver.cxx:11: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:576:11: note: in expansion of macro 'XSD_AUTO_PTR' - 576 | XSD_AUTO_PTR sax ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pskel.hxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pskel.hxx:698:27: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 698 | base64_binary (::std::auto_ptr< ::xml_schema::buffer >); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pskel.hxx:701:24: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 701 | hex_binary (::std::auto_ptr< ::xml_schema::buffer >); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:498:19: note: in expansion of macro 'XSD_AUTO_PTR' + 498 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:9, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/recursive/test-pskel.hxx:71: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:97:11: note: in expansion of macro 'XSD_AUTO_PTR' - 97 | XSD_AUTO_PTR sax (create_sax_ (f, p)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:511:19: note: in expansion of macro 'XSD_AUTO_PTR' + 511 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -9267,15 +9328,39 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pskel.cxx:577:25: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 577 | base64_binary (::std::auto_ptr< ::xml_schema::buffer >) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:668:19: note: in expansion of macro 'XSD_AUTO_PTR' + 668 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pskel.cxx:582:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 582 | hex_binary (::std::auto_ptr< ::xml_schema::buffer >) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:673:11: note: in expansion of macro 'XSD_AUTO_PTR' + 673 | XSD_AUTO_PTR buf_; + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:690:19: note: in expansion of macro 'XSD_AUTO_PTR' + 690 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:695:11: note: in expansion of macro 'XSD_AUTO_PTR' + 695 | XSD_AUTO_PTR buf_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -9349,6 +9434,7 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/same-type -I/build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/same-type -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/same-type/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/same-type/driver.cxx /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -9382,53 +9468,39 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx:381:11: note: in expansion of macro 'XSD_AUTO_PTR' - 381 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:97:11: note: in expansion of macro 'XSD_AUTO_PTR' - 97 | XSD_AUTO_PTR sax (create_sax_ (f, p)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1640:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1640 | XSD_AUTO_PTR base64_binary_pimpl:: + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xsd::cxx::xml::error_handler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:126:11: note: in expansion of macro 'XSD_AUTO_PTR' - 126 | XSD_AUTO_PTR sax (create_sax_ (f, p)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1731:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1731 | XSD_AUTO_PTR hex_binary_pimpl:: + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xercesc_3_2::ErrorHandler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:155:11: note: in expansion of macro 'XSD_AUTO_PTR' - 155 | XSD_AUTO_PTR sax (create_sax_ (f, p)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1640:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1640 | XSD_AUTO_PTR base64_binary_pimpl:: + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:392:11: note: in expansion of macro 'XSD_AUTO_PTR' - 392 | XSD_AUTO_PTR sax (create_sax_ (f, p)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1731:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1731 | XSD_AUTO_PTR hex_binary_pimpl:: + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -9444,48 +9516,20 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xsd::cxx::xml::error_handler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:407:11: note: in expansion of macro 'XSD_AUTO_PTR' - 407 | XSD_AUTO_PTR sax (create_sax_ (f, p)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xercesc_3_2::ErrorHandler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:423:11: note: in expansion of macro 'XSD_AUTO_PTR' - 423 | XSD_AUTO_PTR sax (create_sax_ (f, p)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:571:9: note: in expansion of macro 'XSD_AUTO_PTR' - 571 | XSD_AUTO_PTR document:: - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pimpl.cxx:445:25: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 445 | base64_binary (::std::auto_ptr< ::xml_schema::buffer > base64_binary) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'std::auto_ptr xsd::cxx::parser::xerces::document::create_sax_(xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:576:11: note: in expansion of macro 'XSD_AUTO_PTR' - 576 | XSD_AUTO_PTR sax ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pimpl.cxx:451:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 451 | hex_binary (::std::auto_ptr< ::xml_schema::buffer > hex_binary) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/recursive/test-pskel.hxx:42, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/recursive/test-pskel.cxx:41: +In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/name-clash/inheritance/test-pskel.hxx:42, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/name-clash/inheritance/driver.cxx:11: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -9494,7 +9538,7 @@ | ^~~~~~~~~~~~ In file included from /usr/include/c++/12/memory:76, from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:9, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/recursive/test-pskel.hxx:71: + from /build/xsd-4.0.0/xsd/tests/cxx/parser/name-clash/inheritance/test-pskel.hxx:74: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -9507,15 +9551,12 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pimpl.cxx:445:25: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 445 | base64_binary (::std::auto_ptr< ::xml_schema::buffer > base64_binary) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pimpl.cxx:451:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 451 | hex_binary (::std::auto_ptr< ::xml_schema::buffer > hex_binary) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx:381:11: note: in expansion of macro 'XSD_AUTO_PTR' + 381 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -9555,98 +9596,83 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/name-clash/inheritance/test-pskel.hxx:42, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/name-clash/inheritance/driver.cxx:11: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:498:19: note: in expansion of macro 'XSD_AUTO_PTR' - 498 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:9, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/name-clash/inheritance/test-pskel.hxx:74: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:511:19: note: in expansion of macro 'XSD_AUTO_PTR' - 511 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:668:19: note: in expansion of macro 'XSD_AUTO_PTR' - 668 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:97:11: note: in expansion of macro 'XSD_AUTO_PTR' + 97 | XSD_AUTO_PTR sax (create_sax_ (f, p)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xsd::cxx::xml::error_handler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:673:11: note: in expansion of macro 'XSD_AUTO_PTR' - 673 | XSD_AUTO_PTR buf_; +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:126:11: note: in expansion of macro 'XSD_AUTO_PTR' + 126 | XSD_AUTO_PTR sax (create_sax_ (f, p)); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xercesc_3_2::ErrorHandler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:690:19: note: in expansion of macro 'XSD_AUTO_PTR' - 690 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:155:11: note: in expansion of macro 'XSD_AUTO_PTR' + 155 | XSD_AUTO_PTR sax (create_sax_ (f, p)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:695:11: note: in expansion of macro 'XSD_AUTO_PTR' - 695 | XSD_AUTO_PTR buf_; +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:392:11: note: in expansion of macro 'XSD_AUTO_PTR' + 392 | XSD_AUTO_PTR sax (create_sax_ (f, p)); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xsd::cxx::xml::error_handler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1640:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1640 | XSD_AUTO_PTR base64_binary_pimpl:: - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:407:11: note: in expansion of macro 'XSD_AUTO_PTR' + 407 | XSD_AUTO_PTR sax (create_sax_ (f, p)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xercesc_3_2::ErrorHandler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1731:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1731 | XSD_AUTO_PTR hex_binary_pimpl:: - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:423:11: note: in expansion of macro 'XSD_AUTO_PTR' + 423 | XSD_AUTO_PTR sax (create_sax_ (f, p)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1640:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1640 | XSD_AUTO_PTR base64_binary_pimpl:: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:571:9: note: in expansion of macro 'XSD_AUTO_PTR' + 571 | XSD_AUTO_PTR document:: | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'std::auto_ptr xsd::cxx::parser::xerces::document::create_sax_(xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1731:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1731 | XSD_AUTO_PTR hex_binary_pimpl:: - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:576:11: note: in expansion of macro 'XSD_AUTO_PTR' + 576 | XSD_AUTO_PTR sax ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -9689,15 +9715,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx:381:11: note: in expansion of macro 'XSD_AUTO_PTR' - 381 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -9748,107 +9765,113 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:97:11: note: in expansion of macro 'XSD_AUTO_PTR' - 97 | XSD_AUTO_PTR sax (create_sax_ (f, p)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1640:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1640 | XSD_AUTO_PTR base64_binary_pimpl:: + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xsd::cxx::xml::error_handler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:126:11: note: in expansion of macro 'XSD_AUTO_PTR' - 126 | XSD_AUTO_PTR sax (create_sax_ (f, p)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1731:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1731 | XSD_AUTO_PTR hex_binary_pimpl:: + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xercesc_3_2::ErrorHandler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': +In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/name-clash/inheritance/test-pskel.hxx:42, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/name-clash/inheritance/test-pskel.cxx:41: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:155:11: note: in expansion of macro 'XSD_AUTO_PTR' - 155 | XSD_AUTO_PTR sax (create_sax_ (f, p)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:498:19: note: in expansion of macro 'XSD_AUTO_PTR' + 498 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:9, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/name-clash/inheritance/test-pskel.hxx:74: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:392:11: note: in expansion of macro 'XSD_AUTO_PTR' - 392 | XSD_AUTO_PTR sax (create_sax_ (f, p)); +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:511:19: note: in expansion of macro 'XSD_AUTO_PTR' + 511 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx:381:11: note: in expansion of macro 'XSD_AUTO_PTR' + 381 | XSD_AUTO_PTR | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xsd::cxx::xml::error_handler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:407:11: note: in expansion of macro 'XSD_AUTO_PTR' - 407 | XSD_AUTO_PTR sax (create_sax_ (f, p)); +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:97:11: note: in expansion of macro 'XSD_AUTO_PTR' + 97 | XSD_AUTO_PTR sax (create_sax_ (f, p)); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xercesc_3_2::ErrorHandler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xsd::cxx::xml::error_handler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:423:11: note: in expansion of macro 'XSD_AUTO_PTR' - 423 | XSD_AUTO_PTR sax (create_sax_ (f, p)); +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:126:11: note: in expansion of macro 'XSD_AUTO_PTR' + 126 | XSD_AUTO_PTR sax (create_sax_ (f, p)); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xercesc_3_2::ErrorHandler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:571:9: note: in expansion of macro 'XSD_AUTO_PTR' - 571 | XSD_AUTO_PTR document:: - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:155:11: note: in expansion of macro 'XSD_AUTO_PTR' + 155 | XSD_AUTO_PTR sax (create_sax_ (f, p)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'std::auto_ptr xsd::cxx::parser::xerces::document::create_sax_(xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:576:11: note: in expansion of macro 'XSD_AUTO_PTR' - 576 | XSD_AUTO_PTR sax ( +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:392:11: note: in expansion of macro 'XSD_AUTO_PTR' + 392 | XSD_AUTO_PTR sax (create_sax_ (f, p)); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/same-type -I/build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/same-type -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/same-type/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/same-type/driver.cxx -In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/name-clash/inheritance/test-pskel.hxx:42, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/name-clash/inheritance/test-pskel.cxx:41: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xsd::cxx::xml::error_handler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:498:19: note: in expansion of macro 'XSD_AUTO_PTR' - 498 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:9, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/name-clash/inheritance/test-pskel.hxx:74: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:407:11: note: in expansion of macro 'XSD_AUTO_PTR' + 407 | XSD_AUTO_PTR sax (create_sax_ (f, p)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xercesc_3_2::ErrorHandler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:511:19: note: in expansion of macro 'XSD_AUTO_PTR' - 511 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:423:11: note: in expansion of macro 'XSD_AUTO_PTR' + 423 | XSD_AUTO_PTR sax (create_sax_ (f, p)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -9888,6 +9911,27 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:571:9: note: in expansion of macro 'XSD_AUTO_PTR' + 571 | XSD_AUTO_PTR document:: + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'std::auto_ptr xsd::cxx::parser::xerces::document::create_sax_(xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:576:11: note: in expansion of macro 'XSD_AUTO_PTR' + 576 | XSD_AUTO_PTR sax ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/same-type -I/build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/same-type -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/same-type/test-pskel.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/same-type/test-pskel.cxx /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -9906,8 +9950,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/same-type -I/build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/same-type -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/same-type/test-pskel.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/same-type/test-pskel.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/recursive -I/build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/recursive -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/recursive/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/recursive/driver.cxx /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -10038,128 +10080,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/recursive/test-pskel.hxx:42, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/recursive/driver.cxx:11: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:498:19: note: in expansion of macro 'XSD_AUTO_PTR' - 498 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:9, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/recursive/test-pskel.hxx:78: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:511:19: note: in expansion of macro 'XSD_AUTO_PTR' - 511 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/same-type/test-pskel.hxx:42, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/same-type/test-pskel.cxx:41: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:498:19: note: in expansion of macro 'XSD_AUTO_PTR' - 498 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:9, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/same-type/test-pskel.hxx:74: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:511:19: note: in expansion of macro 'XSD_AUTO_PTR' - 511 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.hxx:568:19: note: in expansion of macro 'XSD_AUTO_PTR' - 568 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.hxx:586:19: note: in expansion of macro 'XSD_AUTO_PTR' - 586 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.hxx:568:19: note: in expansion of macro 'XSD_AUTO_PTR' - 568 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.hxx:586:19: note: in expansion of macro 'XSD_AUTO_PTR' - 586 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1159:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1159 | XSD_AUTO_PTR base64_binary_pimpl:: - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: In member function 'virtual std::auto_ptr xsd::cxx::parser::non_validating::base64_binary_pimpl::post_base64_binary()': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1201:11: note: in expansion of macro 'XSD_AUTO_PTR' - 1201 | XSD_AUTO_PTR buf (new buffer (capacity, capacity)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1311:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1311 | XSD_AUTO_PTR hex_binary_pimpl:: - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: In member function 'virtual std::auto_ptr xsd::cxx::parser::non_validating::hex_binary_pimpl::post_hex_binary()': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1320:11: note: in expansion of macro 'XSD_AUTO_PTR' - 1320 | XSD_AUTO_PTR buf (new buffer (n)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/recursive -I/build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/recursive -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/recursive/test-pimpl.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/recursive/test-pimpl.cxx /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -10199,42 +10119,45 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/recursive -I/build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/recursive -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/recursive/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/recursive/driver.cxx +In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/same-type/test-pskel.hxx:42, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/same-type/test-pskel.cxx:41: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1159:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1159 | XSD_AUTO_PTR base64_binary_pimpl:: - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:498:19: note: in expansion of macro 'XSD_AUTO_PTR' + 498 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:9, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/same-type/test-pskel.hxx:74: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: In member function 'virtual std::auto_ptr xsd::cxx::parser::non_validating::base64_binary_pimpl::post_base64_binary()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1201:11: note: in expansion of macro 'XSD_AUTO_PTR' - 1201 | XSD_AUTO_PTR buf (new buffer (capacity, capacity)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:511:19: note: in expansion of macro 'XSD_AUTO_PTR' + 511 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1311:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1311 | XSD_AUTO_PTR hex_binary_pimpl:: - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.hxx:568:19: note: in expansion of macro 'XSD_AUTO_PTR' + 568 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: In member function 'virtual std::auto_ptr xsd::cxx::parser::non_validating::hex_binary_pimpl::post_hex_binary()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1320:11: note: in expansion of macro 'XSD_AUTO_PTR' - 1320 | XSD_AUTO_PTR buf (new buffer (n)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.hxx:586:19: note: in expansion of macro 'XSD_AUTO_PTR' + 586 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -10328,92 +10251,41 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx:381:11: note: in expansion of macro 'XSD_AUTO_PTR' - 381 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:97:11: note: in expansion of macro 'XSD_AUTO_PTR' - 97 | XSD_AUTO_PTR sax (create_sax_ (f, p)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xsd::cxx::xml::error_handler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:126:11: note: in expansion of macro 'XSD_AUTO_PTR' - 126 | XSD_AUTO_PTR sax (create_sax_ (f, p)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xercesc_3_2::ErrorHandler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:155:11: note: in expansion of macro 'XSD_AUTO_PTR' - 155 | XSD_AUTO_PTR sax (create_sax_ (f, p)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:392:11: note: in expansion of macro 'XSD_AUTO_PTR' - 392 | XSD_AUTO_PTR sax (create_sax_ (f, p)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xsd::cxx::xml::error_handler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:407:11: note: in expansion of macro 'XSD_AUTO_PTR' - 407 | XSD_AUTO_PTR sax (create_sax_ (f, p)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1159:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1159 | XSD_AUTO_PTR base64_binary_pimpl:: + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xercesc_3_2::ErrorHandler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: In member function 'virtual std::auto_ptr xsd::cxx::parser::non_validating::base64_binary_pimpl::post_base64_binary()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:423:11: note: in expansion of macro 'XSD_AUTO_PTR' - 423 | XSD_AUTO_PTR sax (create_sax_ (f, p)); +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1201:11: note: in expansion of macro 'XSD_AUTO_PTR' + 1201 | XSD_AUTO_PTR buf (new buffer (capacity, capacity)); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:571:9: note: in expansion of macro 'XSD_AUTO_PTR' - 571 | XSD_AUTO_PTR document:: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1311:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1311 | XSD_AUTO_PTR hex_binary_pimpl:: | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'std::auto_ptr xsd::cxx::parser::xerces::document::create_sax_(xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: In member function 'virtual std::auto_ptr xsd::cxx::parser::non_validating::hex_binary_pimpl::post_hex_binary()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:576:11: note: in expansion of macro 'XSD_AUTO_PTR' - 576 | XSD_AUTO_PTR sax ( +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1320:11: note: in expansion of macro 'XSD_AUTO_PTR' + 1320 | XSD_AUTO_PTR buf (new buffer (n)); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; @@ -10508,11 +10380,9 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/recursive -I/build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/recursive -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/recursive/test-pskel.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/recursive/test-pskel.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/test-template -I/build/xsd-4.0.0/xsd/tests/cxx/parser/test-template -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/test-template/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/test-template/driver.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/recursive -I/build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/recursive -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/recursive/test-pimpl.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/recursive/test-pimpl.cxx In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/recursive/test-pskel.hxx:42, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/recursive/test-pimpl.hxx:8, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/recursive/test-pimpl.cxx:7: + from /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/recursive/driver.cxx:11: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -10552,7 +10422,7 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/test-template -I/build/xsd-4.0.0/xsd/tests/cxx/parser/test-template -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/test-template/test-pskel.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/test-template/test-pskel.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/recursive -I/build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/recursive -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/recursive/test-pskel.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/recursive/test-pskel.cxx /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -10572,7 +10442,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/all -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/all -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/all/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/all/driver.cxx /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -10593,7 +10462,8 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/all -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/all -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/all/test-pskel.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/all/test-pskel.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/test-template -I/build/xsd-4.0.0/xsd/tests/cxx/parser/test-template -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/test-template/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/test-template/driver.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/test-template -I/build/xsd-4.0.0/xsd/tests/cxx/parser/test-template -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/test-template/test-pskel.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/test-template/test-pskel.cxx /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -10684,50 +10554,10 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/any -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/any -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/any/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/any/driver.cxx -In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/test-template/test-pskel.hxx:42, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/test-template/driver.cxx:11: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:498:19: note: in expansion of macro 'XSD_AUTO_PTR' - 498 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:9, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/test-template/test-pskel.hxx:72: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:511:19: note: in expansion of macro 'XSD_AUTO_PTR' - 511 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.hxx:568:19: note: in expansion of macro 'XSD_AUTO_PTR' - 568 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.hxx:586:19: note: in expansion of macro 'XSD_AUTO_PTR' - 586 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/test-template/test-pskel.hxx:42, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/test-template/test-pskel.cxx:41: +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/all -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/all -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/all/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/all/driver.cxx +In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/recursive/test-pskel.hxx:42, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/recursive/test-pimpl.hxx:8, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/recursive/test-pimpl.cxx:7: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -10736,7 +10566,7 @@ | ^~~~~~~~~~~~ In file included from /usr/include/c++/12/memory:76, from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:9, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/test-template/test-pskel.hxx:72: + from /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/recursive/test-pskel.hxx:78: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -10847,45 +10677,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1159:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1159 | XSD_AUTO_PTR base64_binary_pimpl:: - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: In member function 'virtual std::auto_ptr xsd::cxx::parser::non_validating::base64_binary_pimpl::post_base64_binary()': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1201:11: note: in expansion of macro 'XSD_AUTO_PTR' - 1201 | XSD_AUTO_PTR buf (new buffer (capacity, capacity)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1311:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1311 | XSD_AUTO_PTR hex_binary_pimpl:: - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: In member function 'virtual std::auto_ptr xsd::cxx::parser::non_validating::hex_binary_pimpl::post_hex_binary()': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1320:11: note: in expansion of macro 'XSD_AUTO_PTR' - 1320 | XSD_AUTO_PTR buf (new buffer (n)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -10976,7 +10767,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/any -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/any -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/any/test-pskel.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/any/test-pskel.cxx /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -11016,6 +10806,47 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/test-template/test-pskel.hxx:42, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/test-template/driver.cxx:11: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:498:19: note: in expansion of macro 'XSD_AUTO_PTR' + 498 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:9, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/test-template/test-pskel.hxx:72: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:511:19: note: in expansion of macro 'XSD_AUTO_PTR' + 511 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.hxx:568:19: note: in expansion of macro 'XSD_AUTO_PTR' + 568 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.hxx:586:19: note: in expansion of macro 'XSD_AUTO_PTR' + 586 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -11106,6 +10937,56 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1159:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1159 | XSD_AUTO_PTR base64_binary_pimpl:: + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: In member function 'virtual std::auto_ptr xsd::cxx::parser::non_validating::base64_binary_pimpl::post_base64_binary()': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1201:11: note: in expansion of macro 'XSD_AUTO_PTR' + 1201 | XSD_AUTO_PTR buf (new buffer (capacity, capacity)); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1311:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1311 | XSD_AUTO_PTR hex_binary_pimpl:: + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: In member function 'virtual std::auto_ptr xsd::cxx::parser::non_validating::hex_binary_pimpl::post_hex_binary()': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1320:11: note: in expansion of macro 'XSD_AUTO_PTR' + 1320 | XSD_AUTO_PTR buf (new buffer (n)); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/all -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/all -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/all/test-pskel.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/all/test-pskel.cxx +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx:381:11: note: in expansion of macro 'XSD_AUTO_PTR' + 381 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/all/test-pskel.hxx:42, from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/all/driver.cxx:12: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] @@ -11129,16 +11010,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx:381:11: note: in expansion of macro 'XSD_AUTO_PTR' - 381 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -11199,7 +11070,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/attribute -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/attribute -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/attribute/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/attribute/driver.cxx /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -11256,6 +11126,7 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/any -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/any -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/any/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/any/driver.cxx /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -11274,24 +11145,24 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/all/test-pskel.hxx:42, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/all/test-pskel.cxx:41: +In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/test-template/test-pskel.hxx:42, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/test-template/test-pskel.cxx:41: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:498:19: note: in expansion of macro 'XSD_AUTO_PTR' +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:498:19: note: in expansion of macro 'XSD_AUTO_PTR' 498 | virtual XSD_AUTO_PTR | ^~~~~~~~~~~~ In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:9, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/all/test-pskel.hxx:74: + from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:9, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/test-template/test-pskel.hxx:72: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:511:19: note: in expansion of macro 'XSD_AUTO_PTR' +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:511:19: note: in expansion of macro 'XSD_AUTO_PTR' 511 | virtual XSD_AUTO_PTR | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here @@ -11300,8 +11171,8 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:668:19: note: in expansion of macro 'XSD_AUTO_PTR' - 668 | virtual XSD_AUTO_PTR +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.hxx:568:19: note: in expansion of macro 'XSD_AUTO_PTR' + 568 | virtual XSD_AUTO_PTR | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; @@ -11309,17 +11180,8 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:673:11: note: in expansion of macro 'XSD_AUTO_PTR' - 673 | XSD_AUTO_PTR buf_; - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:690:19: note: in expansion of macro 'XSD_AUTO_PTR' - 690 | virtual XSD_AUTO_PTR +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.hxx:586:19: note: in expansion of macro 'XSD_AUTO_PTR' + 586 | virtual XSD_AUTO_PTR | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; @@ -11327,15 +11189,6 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:695:11: note: in expansion of macro 'XSD_AUTO_PTR' - 695 | XSD_AUTO_PTR buf_; - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx:381:11: note: in expansion of macro 'XSD_AUTO_PTR' 381 | XSD_AUTO_PTR | ^~~~~~~~~~~~ @@ -11425,45 +11278,44 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1640:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1640 | XSD_AUTO_PTR base64_binary_pimpl:: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1159:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1159 | XSD_AUTO_PTR base64_binary_pimpl:: | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: In member function 'virtual std::auto_ptr xsd::cxx::parser::non_validating::base64_binary_pimpl::post_base64_binary()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1731:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1731 | XSD_AUTO_PTR hex_binary_pimpl:: - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1201:11: note: in expansion of macro 'XSD_AUTO_PTR' + 1201 | XSD_AUTO_PTR buf (new buffer (capacity, capacity)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/attribute -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/attribute -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/attribute/test-pskel.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/attribute/test-pskel.cxx -In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/any/test-pskel.hxx:42, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/any/test-pskel.cxx:41: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:498:19: note: in expansion of macro 'XSD_AUTO_PTR' - 498 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:9, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/any/test-pskel.hxx:74: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1311:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1311 | XSD_AUTO_PTR hex_binary_pimpl:: + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: In member function 'virtual std::auto_ptr xsd::cxx::parser::non_validating::hex_binary_pimpl::post_hex_binary()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:511:19: note: in expansion of macro 'XSD_AUTO_PTR' - 511 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1320:11: note: in expansion of macro 'XSD_AUTO_PTR' + 1320 | XSD_AUTO_PTR buf (new buffer (n)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/any -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/any -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/any/test-pskel.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/any/test-pskel.cxx +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -11503,88 +11355,113 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:668:19: note: in expansion of macro 'XSD_AUTO_PTR' - 668 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:392:11: note: in expansion of macro 'XSD_AUTO_PTR' + 392 | XSD_AUTO_PTR sax (create_sax_ (f, p)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xsd::cxx::xml::error_handler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:673:11: note: in expansion of macro 'XSD_AUTO_PTR' - 673 | XSD_AUTO_PTR buf_; +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:407:11: note: in expansion of macro 'XSD_AUTO_PTR' + 407 | XSD_AUTO_PTR sax (create_sax_ (f, p)); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xercesc_3_2::ErrorHandler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:690:19: note: in expansion of macro 'XSD_AUTO_PTR' - 690 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:423:11: note: in expansion of macro 'XSD_AUTO_PTR' + 423 | XSD_AUTO_PTR sax (create_sax_ (f, p)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:695:11: note: in expansion of macro 'XSD_AUTO_PTR' - 695 | XSD_AUTO_PTR buf_; - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:571:9: note: in expansion of macro 'XSD_AUTO_PTR' + 571 | XSD_AUTO_PTR document:: + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'std::auto_ptr xsd::cxx::parser::xerces::document::create_sax_(xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:392:11: note: in expansion of macro 'XSD_AUTO_PTR' - 392 | XSD_AUTO_PTR sax (create_sax_ (f, p)); +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:576:11: note: in expansion of macro 'XSD_AUTO_PTR' + 576 | XSD_AUTO_PTR sax ( | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xsd::cxx::xml::error_handler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/attribute -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/attribute -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/attribute/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/attribute/driver.cxx +In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/all/test-pskel.hxx:42, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/all/test-pskel.cxx:41: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:407:11: note: in expansion of macro 'XSD_AUTO_PTR' - 407 | XSD_AUTO_PTR sax (create_sax_ (f, p)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:498:19: note: in expansion of macro 'XSD_AUTO_PTR' + 498 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:9, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/all/test-pskel.hxx:74: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xercesc_3_2::ErrorHandler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:423:11: note: in expansion of macro 'XSD_AUTO_PTR' - 423 | XSD_AUTO_PTR sax (create_sax_ (f, p)); +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:511:19: note: in expansion of macro 'XSD_AUTO_PTR' + 511 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/attribute -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/attribute -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/attribute/test-pskel.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/attribute/test-pskel.cxx +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:668:19: note: in expansion of macro 'XSD_AUTO_PTR' + 668 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:673:11: note: in expansion of macro 'XSD_AUTO_PTR' + 673 | XSD_AUTO_PTR buf_; | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:571:9: note: in expansion of macro 'XSD_AUTO_PTR' - 571 | XSD_AUTO_PTR document:: - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:690:19: note: in expansion of macro 'XSD_AUTO_PTR' + 690 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'std::auto_ptr xsd::cxx::parser::xerces::document::create_sax_(xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:576:11: note: in expansion of macro 'XSD_AUTO_PTR' - 576 | XSD_AUTO_PTR sax ( +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:695:11: note: in expansion of macro 'XSD_AUTO_PTR' + 695 | XSD_AUTO_PTR buf_; | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; @@ -11773,8 +11650,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/any-type -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/any-type -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/any-type/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/any-type/driver.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/any-type -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/any-type -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/any-type/test-pskel.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/any-type/test-pskel.cxx /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -11864,8 +11739,9 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/attribute/test-pskel.hxx:42, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/attribute/test-pskel.cxx:41: +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/any-type -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/any-type -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/any-type/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/any-type/driver.cxx +In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/any/test-pskel.hxx:42, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/any/test-pskel.cxx:41: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -11874,7 +11750,7 @@ | ^~~~~~~~~~~~ In file included from /usr/include/c++/12/memory:76, from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:9, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/attribute/test-pskel.hxx:80: + from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/any/test-pskel.hxx:74: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -11923,6 +11799,7 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/any-type -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/any-type -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/any-type/test-pskel.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/any-type/test-pskel.cxx /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -11941,154 +11818,158 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/attribute/test-pskel.hxx:42, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/attribute/driver.cxx:12: +x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/binary/driver /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/binary/driver.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:498:19: note: in expansion of macro 'XSD_AUTO_PTR' - 498 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:9, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/attribute/test-pskel.hxx:80: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx:381:11: note: in expansion of macro 'XSD_AUTO_PTR' + 381 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:511:19: note: in expansion of macro 'XSD_AUTO_PTR' - 511 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:97:11: note: in expansion of macro 'XSD_AUTO_PTR' + 97 | XSD_AUTO_PTR sax (create_sax_ (f, p)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xsd::cxx::xml::error_handler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:668:19: note: in expansion of macro 'XSD_AUTO_PTR' - 668 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:126:11: note: in expansion of macro 'XSD_AUTO_PTR' + 126 | XSD_AUTO_PTR sax (create_sax_ (f, p)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xercesc_3_2::ErrorHandler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:673:11: note: in expansion of macro 'XSD_AUTO_PTR' - 673 | XSD_AUTO_PTR buf_; +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:155:11: note: in expansion of macro 'XSD_AUTO_PTR' + 155 | XSD_AUTO_PTR sax (create_sax_ (f, p)); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:690:19: note: in expansion of macro 'XSD_AUTO_PTR' - 690 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:392:11: note: in expansion of macro 'XSD_AUTO_PTR' + 392 | XSD_AUTO_PTR sax (create_sax_ (f, p)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xsd::cxx::xml::error_handler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:695:11: note: in expansion of macro 'XSD_AUTO_PTR' - 695 | XSD_AUTO_PTR buf_; +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:407:11: note: in expansion of macro 'XSD_AUTO_PTR' + 407 | XSD_AUTO_PTR sax (create_sax_ (f, p)); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xercesc_3_2::ErrorHandler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx:381:11: note: in expansion of macro 'XSD_AUTO_PTR' - 381 | XSD_AUTO_PTR +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:423:11: note: in expansion of macro 'XSD_AUTO_PTR' + 423 | XSD_AUTO_PTR sax (create_sax_ (f, p)); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:97:11: note: in expansion of macro 'XSD_AUTO_PTR' - 97 | XSD_AUTO_PTR sax (create_sax_ (f, p)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:571:9: note: in expansion of macro 'XSD_AUTO_PTR' + 571 | XSD_AUTO_PTR document:: + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xsd::cxx::xml::error_handler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'std::auto_ptr xsd::cxx::parser::xerces::document::create_sax_(xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:126:11: note: in expansion of macro 'XSD_AUTO_PTR' - 126 | XSD_AUTO_PTR sax (create_sax_ (f, p)); +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:576:11: note: in expansion of macro 'XSD_AUTO_PTR' + 576 | XSD_AUTO_PTR sax ( | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xercesc_3_2::ErrorHandler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': +x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/boolean/driver /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/boolean/driver.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so +In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/attribute/test-pskel.hxx:42, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/attribute/driver.cxx:12: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:155:11: note: in expansion of macro 'XSD_AUTO_PTR' - 155 | XSD_AUTO_PTR sax (create_sax_ (f, p)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:498:19: note: in expansion of macro 'XSD_AUTO_PTR' + 498 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:9, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/attribute/test-pskel.hxx:80: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:392:11: note: in expansion of macro 'XSD_AUTO_PTR' - 392 | XSD_AUTO_PTR sax (create_sax_ (f, p)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:511:19: note: in expansion of macro 'XSD_AUTO_PTR' + 511 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xsd::cxx::xml::error_handler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:407:11: note: in expansion of macro 'XSD_AUTO_PTR' - 407 | XSD_AUTO_PTR sax (create_sax_ (f, p)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:668:19: note: in expansion of macro 'XSD_AUTO_PTR' + 668 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xercesc_3_2::ErrorHandler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:423:11: note: in expansion of macro 'XSD_AUTO_PTR' - 423 | XSD_AUTO_PTR sax (create_sax_ (f, p)); +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:673:11: note: in expansion of macro 'XSD_AUTO_PTR' + 673 | XSD_AUTO_PTR buf_; | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:571:9: note: in expansion of macro 'XSD_AUTO_PTR' - 571 | XSD_AUTO_PTR document:: - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:690:19: note: in expansion of macro 'XSD_AUTO_PTR' + 690 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'std::auto_ptr xsd::cxx::parser::xerces::document::create_sax_(xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:576:11: note: in expansion of macro 'XSD_AUTO_PTR' - 576 | XSD_AUTO_PTR sax ( +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:695:11: note: in expansion of macro 'XSD_AUTO_PTR' + 695 | XSD_AUTO_PTR buf_; | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/byte/driver /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/byte/driver.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so +x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/float/driver /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/float/driver.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -12107,7 +11988,8 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/binary/driver /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/binary/driver.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so +x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/int/driver /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/int/driver.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so +x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/integer/driver /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/integer/driver.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -12197,8 +12079,11 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/any-type/test-pskel.hxx:42, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/any-type/driver.cxx:12: +x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/long/driver /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/long/driver.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so +x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/qname/driver /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/qname/driver.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so +x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/short/driver /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/short/driver.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so +In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/attribute/test-pskel.hxx:42, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/attribute/test-pskel.cxx:41: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -12207,7 +12092,7 @@ | ^~~~~~~~~~~~ In file included from /usr/include/c++/12/memory:76, from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:9, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/any-type/test-pskel.hxx:75: + from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/attribute/test-pskel.hxx:80: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -12256,28 +12141,11 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/boolean/driver /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/boolean/driver.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1640:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1640 | XSD_AUTO_PTR base64_binary_pimpl:: - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1731:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1731 | XSD_AUTO_PTR hex_binary_pimpl:: - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/byte/driver /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/byte/driver.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so +x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/string/driver /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/string/driver.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so +x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/uri/driver /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/uri/driver.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/choice -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/choice -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/choice/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/choice/driver.cxx In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/any-type/test-pskel.hxx:42, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/any-type/test-pskel.cxx:41: + from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/any-type/driver.cxx:12: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -12335,98 +12203,106 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/any-type/test-pskel.hxx:42, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/any-type/test-pskel.cxx:41: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx:381:11: note: in expansion of macro 'XSD_AUTO_PTR' - 381 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:498:19: note: in expansion of macro 'XSD_AUTO_PTR' + 498 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:9, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/any-type/test-pskel.hxx:75: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:97:11: note: in expansion of macro 'XSD_AUTO_PTR' - 97 | XSD_AUTO_PTR sax (create_sax_ (f, p)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:511:19: note: in expansion of macro 'XSD_AUTO_PTR' + 511 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xsd::cxx::xml::error_handler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:126:11: note: in expansion of macro 'XSD_AUTO_PTR' - 126 | XSD_AUTO_PTR sax (create_sax_ (f, p)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:668:19: note: in expansion of macro 'XSD_AUTO_PTR' + 668 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xercesc_3_2::ErrorHandler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:155:11: note: in expansion of macro 'XSD_AUTO_PTR' - 155 | XSD_AUTO_PTR sax (create_sax_ (f, p)); +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:673:11: note: in expansion of macro 'XSD_AUTO_PTR' + 673 | XSD_AUTO_PTR buf_; | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:392:11: note: in expansion of macro 'XSD_AUTO_PTR' - 392 | XSD_AUTO_PTR sax (create_sax_ (f, p)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:690:19: note: in expansion of macro 'XSD_AUTO_PTR' + 690 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xsd::cxx::xml::error_handler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:407:11: note: in expansion of macro 'XSD_AUTO_PTR' - 407 | XSD_AUTO_PTR sax (create_sax_ (f, p)); +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:695:11: note: in expansion of macro 'XSD_AUTO_PTR' + 695 | XSD_AUTO_PTR buf_; | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xercesc_3_2::ErrorHandler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:423:11: note: in expansion of macro 'XSD_AUTO_PTR' - 423 | XSD_AUTO_PTR sax (create_sax_ (f, p)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1640:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1640 | XSD_AUTO_PTR base64_binary_pimpl:: + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:571:9: note: in expansion of macro 'XSD_AUTO_PTR' - 571 | XSD_AUTO_PTR document:: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1731:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1731 | XSD_AUTO_PTR hex_binary_pimpl:: | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'std::auto_ptr xsd::cxx::parser::xerces::document::create_sax_(xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/choice -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/choice -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/choice/test-pskel.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/choice/test-pskel.cxx /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:576:11: note: in expansion of macro 'XSD_AUTO_PTR' - 576 | XSD_AUTO_PTR sax ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1640:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1640 | XSD_AUTO_PTR base64_binary_pimpl:: + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1731:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1731 | XSD_AUTO_PTR hex_binary_pimpl:: + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/restriction -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/restriction -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/restriction/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/restriction/driver.cxx +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1640:9: note: in expansion of macro 'XSD_AUTO_PTR' 1640 | XSD_AUTO_PTR base64_binary_pimpl:: | ^~~~~~~~~~~~ @@ -12442,8 +12318,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/float/driver /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/float/driver.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so -x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/int/driver /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/int/driver.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -12533,96 +12407,96 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/integer/driver /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/integer/driver.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so -x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/long/driver /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/long/driver.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so -x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/qname/driver /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/qname/driver.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so -x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/short/driver /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/short/driver.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so -x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/string/driver /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/string/driver.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so -x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/uri/driver /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/built-in/uri/driver.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/choice -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/choice -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/choice/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/choice/driver.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/choice -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/choice -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/choice/test-pskel.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/choice/test-pskel.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/restriction -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/restriction -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/restriction/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/restriction/driver.cxx x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/restriction -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/restriction -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/restriction/test-pskel.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/restriction/test-pskel.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/sequence -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/sequence -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/sequence/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/sequence/driver.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/sequence -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/sequence -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/sequence/test-pskel.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/sequence/test-pskel.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/union -I/build/xsd-4.0.0/xsd/tests/cxx/parser/union -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/union/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/union/driver.cxx -In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/choice/test-pskel.hxx:42, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/choice/test-pskel.cxx:41: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:498:19: note: in expansion of macro 'XSD_AUTO_PTR' - 498 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:9, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/choice/test-pskel.hxx:74: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx:381:11: note: in expansion of macro 'XSD_AUTO_PTR' + 381 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:511:19: note: in expansion of macro 'XSD_AUTO_PTR' - 511 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:97:11: note: in expansion of macro 'XSD_AUTO_PTR' + 97 | XSD_AUTO_PTR sax (create_sax_ (f, p)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xsd::cxx::xml::error_handler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:668:19: note: in expansion of macro 'XSD_AUTO_PTR' - 668 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:126:11: note: in expansion of macro 'XSD_AUTO_PTR' + 126 | XSD_AUTO_PTR sax (create_sax_ (f, p)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xercesc_3_2::ErrorHandler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:673:11: note: in expansion of macro 'XSD_AUTO_PTR' - 673 | XSD_AUTO_PTR buf_; +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:155:11: note: in expansion of macro 'XSD_AUTO_PTR' + 155 | XSD_AUTO_PTR sax (create_sax_ (f, p)); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:690:19: note: in expansion of macro 'XSD_AUTO_PTR' - 690 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:392:11: note: in expansion of macro 'XSD_AUTO_PTR' + 392 | XSD_AUTO_PTR sax (create_sax_ (f, p)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xsd::cxx::xml::error_handler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:695:11: note: in expansion of macro 'XSD_AUTO_PTR' - 695 | XSD_AUTO_PTR buf_; +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:407:11: note: in expansion of macro 'XSD_AUTO_PTR' + 407 | XSD_AUTO_PTR sax (create_sax_ (f, p)); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xercesc_3_2::ErrorHandler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1640:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1640 | XSD_AUTO_PTR base64_binary_pimpl:: - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:423:11: note: in expansion of macro 'XSD_AUTO_PTR' + 423 | XSD_AUTO_PTR sax (create_sax_ (f, p)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1731:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1731 | XSD_AUTO_PTR hex_binary_pimpl:: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:571:9: note: in expansion of macro 'XSD_AUTO_PTR' + 571 | XSD_AUTO_PTR document:: | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'std::auto_ptr xsd::cxx::parser::xerces::document::create_sax_(xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:576:11: note: in expansion of macro 'XSD_AUTO_PTR' + 576 | XSD_AUTO_PTR sax ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -12712,9 +12586,9 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/union -I/build/xsd-4.0.0/xsd/tests/cxx/parser/union -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/union/test-pskel.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/union/test-pskel.cxx -In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/restriction/test-pskel.hxx:42, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/restriction/test-pskel.cxx:41: +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/sequence -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/sequence -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/sequence/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/sequence/driver.cxx +In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/choice/test-pskel.hxx:42, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/choice/test-pskel.cxx:41: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -12723,7 +12597,7 @@ | ^~~~~~~~~~~~ In file included from /usr/include/c++/12/memory:76, from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:9, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/restriction/test-pskel.hxx:79: + from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/choice/test-pskel.hxx:74: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -12772,8 +12646,9 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/sequence/test-pskel.hxx:42, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/sequence/test-pskel.cxx:41: +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/sequence -I/build/xsd-4.0.0/xsd/tests/cxx/parser/validation/sequence -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/sequence/test-pskel.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/sequence/test-pskel.cxx +In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/choice/test-pskel.hxx:42, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/choice/driver.cxx:12: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -12782,7 +12657,7 @@ | ^~~~~~~~~~~~ In file included from /usr/include/c++/12/memory:76, from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:9, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/sequence/test-pskel.hxx:74: + from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/choice/test-pskel.hxx:74: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -12831,103 +12706,133 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/choice/test-pskel.hxx:42, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/choice/driver.cxx:12: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:498:19: note: in expansion of macro 'XSD_AUTO_PTR' - 498 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:9, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/choice/test-pskel.hxx:74: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1640:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1640 | XSD_AUTO_PTR base64_binary_pimpl:: + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:511:19: note: in expansion of macro 'XSD_AUTO_PTR' - 511 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1731:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1731 | XSD_AUTO_PTR hex_binary_pimpl:: + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:668:19: note: in expansion of macro 'XSD_AUTO_PTR' - 668 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1640:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1640 | XSD_AUTO_PTR base64_binary_pimpl:: + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:673:11: note: in expansion of macro 'XSD_AUTO_PTR' - 673 | XSD_AUTO_PTR buf_; +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1731:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1731 | XSD_AUTO_PTR hex_binary_pimpl:: + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx:381:11: note: in expansion of macro 'XSD_AUTO_PTR' + 381 | XSD_AUTO_PTR | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:690:19: note: in expansion of macro 'XSD_AUTO_PTR' - 690 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:97:11: note: in expansion of macro 'XSD_AUTO_PTR' + 97 | XSD_AUTO_PTR sax (create_sax_ (f, p)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xsd::cxx::xml::error_handler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:695:11: note: in expansion of macro 'XSD_AUTO_PTR' - 695 | XSD_AUTO_PTR buf_; +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:126:11: note: in expansion of macro 'XSD_AUTO_PTR' + 126 | XSD_AUTO_PTR sax (create_sax_ (f, p)); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xercesc_3_2::ErrorHandler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1640:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1640 | XSD_AUTO_PTR base64_binary_pimpl:: - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:155:11: note: in expansion of macro 'XSD_AUTO_PTR' + 155 | XSD_AUTO_PTR sax (create_sax_ (f, p)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1731:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1731 | XSD_AUTO_PTR hex_binary_pimpl:: - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:392:11: note: in expansion of macro 'XSD_AUTO_PTR' + 392 | XSD_AUTO_PTR sax (create_sax_ (f, p)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xsd::cxx::xml::error_handler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1640:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1640 | XSD_AUTO_PTR base64_binary_pimpl:: - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:407:11: note: in expansion of macro 'XSD_AUTO_PTR' + 407 | XSD_AUTO_PTR sax (create_sax_ (f, p)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xercesc_3_2::ErrorHandler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1731:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1731 | XSD_AUTO_PTR hex_binary_pimpl:: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:423:11: note: in expansion of macro 'XSD_AUTO_PTR' + 423 | XSD_AUTO_PTR sax (create_sax_ (f, p)); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:571:9: note: in expansion of macro 'XSD_AUTO_PTR' + 571 | XSD_AUTO_PTR document:: | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'std::auto_ptr xsd::cxx::parser::xerces::document::create_sax_(xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:576:11: note: in expansion of macro 'XSD_AUTO_PTR' + 576 | XSD_AUTO_PTR sax ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/restriction/test-pskel.hxx:42, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/restriction/driver.cxx:12: + from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/restriction/test-pskel.cxx:41: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -12952,18 +12857,39 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1640:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1640 | XSD_AUTO_PTR base64_binary_pimpl:: - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx:381:11: note: in expansion of macro 'XSD_AUTO_PTR' + 381 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1731:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1731 | XSD_AUTO_PTR hex_binary_pimpl:: - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:97:11: note: in expansion of macro 'XSD_AUTO_PTR' + 97 | XSD_AUTO_PTR sax (create_sax_ (f, p)); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xsd::cxx::xml::error_handler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:126:11: note: in expansion of macro 'XSD_AUTO_PTR' + 126 | XSD_AUTO_PTR sax (create_sax_ (f, p)); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xercesc_3_2::ErrorHandler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:155:11: note: in expansion of macro 'XSD_AUTO_PTR' + 155 | XSD_AUTO_PTR sax (create_sax_ (f, p)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -13003,134 +12929,149 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type -I/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/driver.cxx +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx:381:11: note: in expansion of macro 'XSD_AUTO_PTR' - 381 | XSD_AUTO_PTR +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:392:11: note: in expansion of macro 'XSD_AUTO_PTR' + 392 | XSD_AUTO_PTR sax (create_sax_ (f, p)); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xsd::cxx::xml::error_handler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:97:11: note: in expansion of macro 'XSD_AUTO_PTR' - 97 | XSD_AUTO_PTR sax (create_sax_ (f, p)); +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:407:11: note: in expansion of macro 'XSD_AUTO_PTR' + 407 | XSD_AUTO_PTR sax (create_sax_ (f, p)); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xsd::cxx::xml::error_handler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xercesc_3_2::ErrorHandler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:126:11: note: in expansion of macro 'XSD_AUTO_PTR' - 126 | XSD_AUTO_PTR sax (create_sax_ (f, p)); +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:423:11: note: in expansion of macro 'XSD_AUTO_PTR' + 423 | XSD_AUTO_PTR sax (create_sax_ (f, p)); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const std::__cxx11::basic_string<_CharT>&, xercesc_3_2::ErrorHandler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:155:11: note: in expansion of macro 'XSD_AUTO_PTR' - 155 | XSD_AUTO_PTR sax (create_sax_ (f, p)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:571:9: note: in expansion of macro 'XSD_AUTO_PTR' + 571 | XSD_AUTO_PTR document:: + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'std::auto_ptr xsd::cxx::parser::xerces::document::create_sax_(xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:392:11: note: in expansion of macro 'XSD_AUTO_PTR' - 392 | XSD_AUTO_PTR sax (create_sax_ (f, p)); +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:576:11: note: in expansion of macro 'XSD_AUTO_PTR' + 576 | XSD_AUTO_PTR sax ( | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xsd::cxx::xml::error_handler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': +In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/restriction/test-pskel.hxx:42, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/restriction/driver.cxx:12: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:407:11: note: in expansion of macro 'XSD_AUTO_PTR' - 407 | XSD_AUTO_PTR sax (create_sax_ (f, p)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:498:19: note: in expansion of macro 'XSD_AUTO_PTR' + 498 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:9, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/restriction/test-pskel.hxx:79: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'void xsd::cxx::parser::xerces::document::parse(const xercesc_3_2::InputSource&, xercesc_3_2::ErrorHandler&, xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:423:11: note: in expansion of macro 'XSD_AUTO_PTR' - 423 | XSD_AUTO_PTR sax (create_sax_ (f, p)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:511:19: note: in expansion of macro 'XSD_AUTO_PTR' + 511 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: At global scope: +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/union -I/build/xsd-4.0.0/xsd/tests/cxx/parser/union -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/union/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/union/driver.cxx /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:571:9: note: in expansion of macro 'XSD_AUTO_PTR' - 571 | XSD_AUTO_PTR document:: - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:668:19: note: in expansion of macro 'XSD_AUTO_PTR' + 668 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: In member function 'std::auto_ptr xsd::cxx::parser::xerces::document::create_sax_(xsd::cxx::parser::xerces::flags, const xsd::cxx::parser::xerces::properties&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx:576:11: note: in expansion of macro 'XSD_AUTO_PTR' - 576 | XSD_AUTO_PTR sax ( +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:673:11: note: in expansion of macro 'XSD_AUTO_PTR' + 673 | XSD_AUTO_PTR buf_; | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/union/test-pskel.hxx:42, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/union/driver.cxx:11: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:498:19: note: in expansion of macro 'XSD_AUTO_PTR' - 498 | virtual XSD_AUTO_PTR +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:690:19: note: in expansion of macro 'XSD_AUTO_PTR' + 690 | virtual XSD_AUTO_PTR | ^~~~~~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:9, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/union/test-pskel.hxx:73: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:511:19: note: in expansion of macro 'XSD_AUTO_PTR' - 511 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:695:11: note: in expansion of macro 'XSD_AUTO_PTR' + 695 | XSD_AUTO_PTR buf_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.hxx:568:19: note: in expansion of macro 'XSD_AUTO_PTR' - 568 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1640:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1640 | XSD_AUTO_PTR base64_binary_pimpl:: + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.hxx:586:19: note: in expansion of macro 'XSD_AUTO_PTR' - 586 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1731:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1731 | XSD_AUTO_PTR hex_binary_pimpl:: + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1640:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1640 | XSD_AUTO_PTR base64_binary_pimpl:: + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1731:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1731 | XSD_AUTO_PTR hex_binary_pimpl:: + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -13203,15 +13144,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx:381:11: note: in expansion of macro 'XSD_AUTO_PTR' - 381 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -13232,21 +13164,35 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/sequence/test-pskel.hxx:42, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/sequence/driver.cxx:12: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1640:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1640 | XSD_AUTO_PTR base64_binary_pimpl:: - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:498:19: note: in expansion of macro 'XSD_AUTO_PTR' + 498 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:9, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/sequence/test-pskel.hxx:74: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1731:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1731 | XSD_AUTO_PTR hex_binary_pimpl:: - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:511:19: note: in expansion of macro 'XSD_AUTO_PTR' + 511 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx:381:11: note: in expansion of macro 'XSD_AUTO_PTR' + 381 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -13310,29 +13256,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/sequence/test-pskel.hxx:42, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/sequence/driver.cxx:12: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:498:19: note: in expansion of macro 'XSD_AUTO_PTR' - 498 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:9, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/sequence/test-pskel.hxx:74: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:511:19: note: in expansion of macro 'XSD_AUTO_PTR' - 511 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -13389,65 +13312,52 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/sequence/test-pskel.hxx:42, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/sequence/test-pskel.cxx:41: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1159:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1159 | XSD_AUTO_PTR base64_binary_pimpl:: - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:498:19: note: in expansion of macro 'XSD_AUTO_PTR' + 498 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:9, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/validation/sequence/test-pskel.hxx:74: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: In member function 'virtual std::auto_ptr xsd::cxx::parser::non_validating::base64_binary_pimpl::post_base64_binary()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1201:11: note: in expansion of macro 'XSD_AUTO_PTR' - 1201 | XSD_AUTO_PTR buf (new buffer (capacity, capacity)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.hxx:511:19: note: in expansion of macro 'XSD_AUTO_PTR' + 511 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1311:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1311 | XSD_AUTO_PTR hex_binary_pimpl:: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1640:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1640 | XSD_AUTO_PTR base64_binary_pimpl:: | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: In member function 'virtual std::auto_ptr xsd::cxx::parser::non_validating::hex_binary_pimpl::post_hex_binary()': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1320:11: note: in expansion of macro 'XSD_AUTO_PTR' - 1320 | XSD_AUTO_PTR buf (new buffer (n)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type -I/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx -In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/union/test-pskel.hxx:42, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/union/test-pskel.cxx:41: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:498:19: note: in expansion of macro 'XSD_AUTO_PTR' - 498 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:9, - from /build/xsd-4.0.0/xsd/tests/cxx/parser/union/test-pskel.hxx:73: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1731:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1731 | XSD_AUTO_PTR hex_binary_pimpl:: + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:511:19: note: in expansion of macro 'XSD_AUTO_PTR' - 511 | virtual XSD_AUTO_PTR +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:668:19: note: in expansion of macro 'XSD_AUTO_PTR' + 668 | virtual XSD_AUTO_PTR | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; @@ -13455,26 +13365,17 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1640:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1640 | XSD_AUTO_PTR base64_binary_pimpl:: - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1731:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1731 | XSD_AUTO_PTR hex_binary_pimpl:: - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:673:11: note: in expansion of macro 'XSD_AUTO_PTR' + 673 | XSD_AUTO_PTR buf_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.hxx:568:19: note: in expansion of macro 'XSD_AUTO_PTR' - 568 | virtual XSD_AUTO_PTR +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:690:19: note: in expansion of macro 'XSD_AUTO_PTR' + 690 | virtual XSD_AUTO_PTR | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; @@ -13482,13 +13383,12 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.hxx:586:19: note: in expansion of macro 'XSD_AUTO_PTR' - 586 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.hxx:695:11: note: in expansion of macro 'XSD_AUTO_PTR' + 695 | XSD_AUTO_PTR buf_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -13581,6 +13481,24 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1640:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1640 | XSD_AUTO_PTR base64_binary_pimpl:: + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pimpl.txx:1731:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1731 | XSD_AUTO_PTR hex_binary_pimpl:: + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx:381:11: note: in expansion of macro 'XSD_AUTO_PTR' 381 | XSD_AUTO_PTR | ^~~~~~~~~~~~ @@ -13667,6 +13585,48 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/parser/union -I/build/xsd-4.0.0/xsd/tests/cxx/parser/union -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/parser/union/test-pskel.o -c /build/xsd-4.0.0/xsd/tests/cxx/parser/union/test-pskel.cxx +In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/union/test-pskel.hxx:42, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/union/driver.cxx:11: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:498:19: note: in expansion of macro 'XSD_AUTO_PTR' + 498 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:9, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/union/test-pskel.hxx:73: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:511:19: note: in expansion of macro 'XSD_AUTO_PTR' + 511 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.hxx:568:19: note: in expansion of macro 'XSD_AUTO_PTR' + 568 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.hxx:586:19: note: in expansion of macro 'XSD_AUTO_PTR' + 586 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -13706,6 +13666,7 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -13795,6 +13756,90 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type -I/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/driver.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type -I/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in -I/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/driver.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in -I/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx +In file included from /build/xsd-4.0.0/xsd/tests/cxx/parser/union/test-pskel.hxx:42, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/union/test-pskel.cxx:41: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:498:19: note: in expansion of macro 'XSD_AUTO_PTR' + 498 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:9, + from /build/xsd-4.0.0/xsd/tests/cxx/parser/union/test-pskel.hxx:73: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx:511:19: note: in expansion of macro 'XSD_AUTO_PTR' + 511 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.hxx:568:19: note: in expansion of macro 'XSD_AUTO_PTR' + 568 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.hxx:586:19: note: in expansion of macro 'XSD_AUTO_PTR' + 586 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1159:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1159 | XSD_AUTO_PTR base64_binary_pimpl:: + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: In member function 'virtual std::auto_ptr xsd::cxx::parser::non_validating::base64_binary_pimpl::post_base64_binary()': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1201:11: note: in expansion of macro 'XSD_AUTO_PTR' + 1201 | XSD_AUTO_PTR buf (new buffer (capacity, capacity)); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1311:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1311 | XSD_AUTO_PTR hex_binary_pimpl:: + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx: In member function 'virtual std::auto_ptr xsd::cxx::parser::non_validating::hex_binary_pimpl::post_hex_binary()': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx:1320:11: note: in expansion of macro 'XSD_AUTO_PTR' + 1320 | XSD_AUTO_PTR buf (new buffer (n)); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/parser/xerces/elements.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -14409,137 +14454,112 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:398:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 398 | a (::std::auto_ptr< a_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:473:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 473 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:478:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 478 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:484:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 484 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:493:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 493 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:498:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 498 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:504:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 504 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:510:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 510 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:516:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 516 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:50, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/driver.cxx:13: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' + 894 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/driver.cxx:8: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:523:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 523 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' + 934 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:533:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 533 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1026 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:538:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 538 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1095 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:544:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 544 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1103 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:553:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 553 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1114 | XSD_AUTO_PTR dom_info_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:558:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 558 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1137 | XSD_AUTO_PTR map_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:657: -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.ixx:175:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 175 | a (::std::auto_ptr< a_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1152 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/driver.cxx: In function 'int main(int, char**)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/driver.cxx:41:5: note: in expansion of macro 'XSD_AUTO_PTR' - 41 | XSD_AUTO_PTR r (root (argv[1])); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1180 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/driver.cxx:78:7: note: in expansion of macro 'XSD_AUTO_PTR' - 78 | XSD_AUTO_PTR x (new xml_schema::type); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' + 1203 | mutable XSD_AUTO_PTR content_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/driver.cxx:117:7: note: in expansion of macro 'XSD_AUTO_PTR' - 117 | XSD_AUTO_PTR r1 (root (iostr, argv[1])); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' + 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in -I/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/driver.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in -I/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon -I/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/driver.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon -I/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:50, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:41: +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:50, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:41: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -14548,7 +14568,7 @@ | ^~~~~~~~~~~~ In file included from /usr/include/c++/12/memory:76, from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:61: + from /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:61: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -14643,8 +14663,7 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison -I/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/driver.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison -I/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon -I/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/driver.cxx /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -14905,367 +14924,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:138:14: note: in expansion of macro 'XSD_AUTO_PTR' - 138 | one (XSD_AUTO_PTR, container*); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:165:14: note: in expansion of macro 'XSD_AUTO_PTR' - 165 | set (XSD_AUTO_PTR); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:173:9: note: in expansion of macro 'XSD_AUTO_PTR' - 173 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::one::detach()': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:179:18: note: in expansion of macro 'XSD_AUTO_PTR' - 179 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:270:19: note: in expansion of macro 'XSD_AUTO_PTR' - 270 | optional (XSD_AUTO_PTR, container* = 0); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:343:14: note: in expansion of macro 'XSD_AUTO_PTR' - 343 | set (XSD_AUTO_PTR); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:348:9: note: in expansion of macro 'XSD_AUTO_PTR' - 348 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::optional::detach()': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:354:18: note: in expansion of macro 'XSD_AUTO_PTR' - 354 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1018 | push_back (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1032 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1054 | insert (iterator position, XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1042 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' - 45 | one (XSD_AUTO_PTR x, container* c) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' - 97 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' - 139 | optional (XSD_AUTO_PTR x, container* c) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' - 200 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:398:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 398 | a (::std::auto_ptr< a_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:473:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 473 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:478:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 478 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:484:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 484 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:493:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 493 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:498:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 498 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:504:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 504 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:510:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 510 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:516:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 516 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:523:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 523 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:533:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 533 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:538:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 538 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:544:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 544 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:553:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 553 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:558:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 558 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:657: -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.ixx:175:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 175 | a (::std::auto_ptr< a_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:50, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/driver.cxx:11: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' - 894 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/driver.cxx:8: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' - 934 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1026 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1095 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1103 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1114 | XSD_AUTO_PTR dom_info_; - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1137 | XSD_AUTO_PTR map_; - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1152 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1180 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' - 1203 | mutable XSD_AUTO_PTR content_; - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' - 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -15439,14 +15097,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:50, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/driver.cxx:13: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' - 894 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -15457,11 +15107,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/driver.cxx:8: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -15484,78 +15129,6 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' - 934 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1026 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1095 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1103 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1114 | XSD_AUTO_PTR dom_info_; - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1137 | XSD_AUTO_PTR map_; - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1152 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1180 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1544:16: note: in expansion of macro 'XSD_AUTO_PTR' 1544 | static XSD_AUTO_PTR | ^~~~~~~~~~~~ @@ -15571,15 +15144,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' - 1203 | mutable XSD_AUTO_PTR content_; - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -15620,159 +15184,17 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx: In member function 'void test::type::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:149:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 149 | ::std::auto_ptr< t_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:160:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 160 | ::std::auto_ptr< s_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:171:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 171 | ::std::auto_ptr< l_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' - 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:297:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 297 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:314:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 314 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:319:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 319 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:336:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 336 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:341:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 341 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:354:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 354 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:359:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 359 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:372:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 372 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:386:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 386 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:396:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 396 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:410:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 410 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:425:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 425 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:436:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 436 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:449:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 449 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:454:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 454 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:467:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 467 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:50, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:41: +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:50, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:41: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' 894 | virtual XSD_AUTO_PTR | ^~~~~~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:472:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 472 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ In file included from /usr/include/c++/12/memory:76, from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:61: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ + from /build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:61: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -15785,13 +15207,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:485:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 485 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -15828,13 +15243,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:490:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 490 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -15844,13 +15252,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx: In function 'std::auto_ptr test::root(const xercesc_3_2::DOMDocument&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:500:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 500 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -15878,369 +15279,333 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:512:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 512 | ::std::auto_ptr< ::test::type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:525:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 525 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx: In function 'std::auto_ptr test::root(xsd::cxx::xml::dom::auto_ptr, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:550:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 550 | ::std::auto_ptr< ::test::type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' - 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:138:14: note: in expansion of macro 'XSD_AUTO_PTR' + 138 | one (XSD_AUTO_PTR, container*); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:944:22: note: in expansion of macro 'XSD_AUTO_PTR' - 944 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:165:14: note: in expansion of macro 'XSD_AUTO_PTR' + 165 | set (XSD_AUTO_PTR); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:958:22: note: in expansion of macro 'XSD_AUTO_PTR' - 958 | return XSD_AUTO_PTR (); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:173:9: note: in expansion of macro 'XSD_AUTO_PTR' + 173 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::one::detach()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:990:22: note: in expansion of macro 'XSD_AUTO_PTR' - 990 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:179:18: note: in expansion of macro 'XSD_AUTO_PTR' + 179 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_attribute_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1036:22: note: in expansion of macro 'XSD_AUTO_PTR' - 1036 | return XSD_AUTO_PTR (); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' + 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1047:22: note: in expansion of macro 'XSD_AUTO_PTR' - 1047 | return XSD_AUTO_PTR (); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:270:19: note: in expansion of macro 'XSD_AUTO_PTR' + 270 | optional (XSD_AUTO_PTR, container* = 0); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1074:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1074 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:343:14: note: in expansion of macro 'XSD_AUTO_PTR' + 343 | set (XSD_AUTO_PTR); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::type&, bool)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1098:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1098 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:348:9: note: in expansion of macro 'XSD_AUTO_PTR' + 348 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::type&)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::optional::detach()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1106:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1106 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:354:18: note: in expansion of macro 'XSD_AUTO_PTR' + 354 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_content_type::clone() const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1183:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1183 | return XSD_AUTO_PTR (new dom_content_type (dom)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:138:14: note: in expansion of macro 'XSD_AUTO_PTR' + 138 | one (XSD_AUTO_PTR, container*); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1367:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1367 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:165:14: note: in expansion of macro 'XSD_AUTO_PTR' + 165 | set (XSD_AUTO_PTR); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::simple_type::text_content_type::clone() const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1370:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1370 | return XSD_AUTO_PTR (new text_content_type (text)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:173:9: note: in expansion of macro 'XSD_AUTO_PTR' + 173 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::one::detach()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1491:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1491 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:179:18: note: in expansion of macro 'XSD_AUTO_PTR' + 179 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1497:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1497 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:270:19: note: in expansion of macro 'XSD_AUTO_PTR' + 270 | optional (XSD_AUTO_PTR, container* = 0); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1503:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1503 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:343:14: note: in expansion of macro 'XSD_AUTO_PTR' + 343 | set (XSD_AUTO_PTR); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1516:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1516 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:348:9: note: in expansion of macro 'XSD_AUTO_PTR' + 348 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::optional::detach()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1494:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1494 | return XSD_AUTO_PTR (new T (e, f, c)); +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:354:18: note: in expansion of macro 'XSD_AUTO_PTR' + 354 | return XSD_AUTO_PTR (x); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1500:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1500 | return XSD_AUTO_PTR (new T (a, f, c)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1018 | push_back (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1509:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1509 | return XSD_AUTO_PTR (new T (s, e, f, c)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1032 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1519:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1519 | return XSD_AUTO_PTR (new T (s, f, c)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1054 | insert (iterator position, XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1530:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1530 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1537:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1537 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1042 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1544:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1544 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' + 45 | one (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:138:14: note: in expansion of macro 'XSD_AUTO_PTR' - 138 | one (XSD_AUTO_PTR, container*); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' + 97 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1555:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1555 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' + 139 | optional (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1533:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1533 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' + 200 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:165:14: note: in expansion of macro 'XSD_AUTO_PTR' - 165 | set (XSD_AUTO_PTR); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1018 | push_back (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:173:9: note: in expansion of macro 'XSD_AUTO_PTR' - 173 | XSD_AUTO_PTR +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1032 | XSD_AUTO_PTR | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1540:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1540 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1550:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1550 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1054 | insert (iterator position, XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::one::detach()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:179:18: note: in expansion of macro 'XSD_AUTO_PTR' - 179 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1558:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1558 | return XSD_AUTO_PTR ( +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1042 | return XSD_AUTO_PTR (x); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:270:19: note: in expansion of macro 'XSD_AUTO_PTR' - 270 | optional (XSD_AUTO_PTR, container* = 0); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' + 45 | one (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:343:14: note: in expansion of macro 'XSD_AUTO_PTR' - 343 | set (XSD_AUTO_PTR); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' + 97 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:348:9: note: in expansion of macro 'XSD_AUTO_PTR' - 348 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' + 139 | optional (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::optional::detach()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:354:18: note: in expansion of macro 'XSD_AUTO_PTR' - 354 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' + 200 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -16504,166 +15869,7 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1018 | push_back (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1032 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1054 | insert (iterator position, XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:138:14: note: in expansion of macro 'XSD_AUTO_PTR' - 138 | one (XSD_AUTO_PTR, container*); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1042 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:165:14: note: in expansion of macro 'XSD_AUTO_PTR' - 165 | set (XSD_AUTO_PTR); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:173:9: note: in expansion of macro 'XSD_AUTO_PTR' - 173 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::one::detach()': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:179:18: note: in expansion of macro 'XSD_AUTO_PTR' - 179 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:270:19: note: in expansion of macro 'XSD_AUTO_PTR' - 270 | optional (XSD_AUTO_PTR, container* = 0); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:343:14: note: in expansion of macro 'XSD_AUTO_PTR' - 343 | set (XSD_AUTO_PTR); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:348:9: note: in expansion of macro 'XSD_AUTO_PTR' - 348 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' - 45 | one (XSD_AUTO_PTR x, container* c) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::optional::detach()': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:354:18: note: in expansion of macro 'XSD_AUTO_PTR' - 354 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' - 97 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' - 139 | optional (XSD_AUTO_PTR x, container* c) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' - 200 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon -I/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -16777,53 +15983,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1018 | push_back (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1032 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1054 | insert (iterator position, XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1042 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -16862,43 +16021,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' - 45 | one (XSD_AUTO_PTR x, container* c) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' - 200 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' - 97 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' - 139 | optional (XSD_AUTO_PTR x, container* c) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -16908,322 +16030,111 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:279:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 279 | a (::std::auto_ptr< a_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:296:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 296 | b (::std::auto_ptr< b_type > p); +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison -I/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/driver.cxx +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:398:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 398 | a (::std::auto_ptr< a_type > p); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:404:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 404 | ::std::auto_ptr< ::test::root_t > +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:473:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 473 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:409:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 409 | ::std::auto_ptr< ::test::root_t > +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:478:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 478 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:415:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 415 | ::std::auto_ptr< ::test::root_t > +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:484:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 484 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:424:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 424 | ::std::auto_ptr< ::test::root_t > +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:493:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 493 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:429:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 429 | ::std::auto_ptr< ::test::root_t > +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:498:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 498 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:435:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 435 | ::std::auto_ptr< ::test::root_t > +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:504:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 504 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:441:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 441 | ::std::auto_ptr< ::test::root_t > +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:510:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 510 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:447:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 447 | ::std::auto_ptr< ::test::root_t > +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:516:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 516 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:454:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 454 | ::std::auto_ptr< ::test::root_t > +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:523:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 523 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:464:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 464 | ::std::auto_ptr< ::test::root_t > +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:533:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 533 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:469:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 469 | ::std::auto_ptr< ::test::root_t > +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:538:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 538 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:475:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 475 | ::std::auto_ptr< ::test::root_t > +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:544:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 544 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:484:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 484 | ::std::auto_ptr< ::test::root_t > +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:553:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 553 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:489:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 489 | ::std::auto_ptr< ::test::root_t > +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:558:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 558 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:500: -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.ixx:70:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 70 | a (::std::auto_ptr< a_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.ixx:98:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 98 | b (::std::auto_ptr< b_type > x) +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:657: +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.ixx:175:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 175 | a (::std::auto_ptr< a_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:50, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:41: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' - 894 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:61: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' - 934 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1026 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1095 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1103 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1114 | XSD_AUTO_PTR dom_info_; - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1137 | XSD_AUTO_PTR map_; - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1152 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1180 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' - 1203 | mutable XSD_AUTO_PTR content_; - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/driver.cxx: In function 'int main(int, char**)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' - 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx: In member function 'void test::root_t::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:98:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 98 | ::std::auto_ptr< a_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:112:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 112 | ::std::auto_ptr< b_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:271:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 271 | ::std::auto_ptr< ::test::root_t > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:288:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 288 | return ::std::auto_ptr< ::test::root_t > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:293:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 293 | ::std::auto_ptr< ::test::root_t > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:310:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 310 | return ::std::auto_ptr< ::test::root_t > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:315:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 315 | ::std::auto_ptr< ::test::root_t > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx: In function 'std::auto_ptr test::root(const std::string&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:328:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 328 | return ::std::auto_ptr< ::test::root_t > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:333:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 333 | ::std::auto_ptr< ::test::root_t > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:346:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 346 | ::std::auto_ptr< ::test::root_t > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:360:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 360 | ::std::auto_ptr< ::test::root_t > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:370:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 370 | ::std::auto_ptr< ::test::root_t > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:384:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 384 | ::std::auto_ptr< ::test::root_t > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:399:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 399 | ::std::auto_ptr< ::test::root_t > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:410:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 410 | ::std::auto_ptr< ::test::root_t > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:423:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 423 | return ::std::auto_ptr< ::test::root_t > ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/driver.cxx:41:5: note: in expansion of macro 'XSD_AUTO_PTR' + 41 | XSD_AUTO_PTR r (root (argv[1])); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -17239,13 +16150,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:428:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 428 | ::std::auto_ptr< ::test::root_t > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:620:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 620 | token (::std::auto_ptr< token_type > p); | ^~~~~~~~ @@ -17255,13 +16159,6 @@ /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:637:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 637 | name (::std::auto_ptr< name_type > p); | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:441:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 441 | return ::std::auto_ptr< ::test::root_t > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -17277,26 +16174,12 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:446:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 446 | ::std::auto_ptr< ::test::root_t > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:688:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 688 | ncname (::std::auto_ptr< ncname_type > p); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:459:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 459 | return ::std::auto_ptr< ::test::root_t > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:705:24: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 705 | language (::std::auto_ptr< language_type > p); | ^~~~~~~~ @@ -17309,40 +16192,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:464:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 464 | ::std::auto_ptr< ::test::root_t > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx: In function 'std::auto_ptr test::root(const xercesc_3_2::DOMDocument&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:474:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 474 | return ::std::auto_ptr< ::test::root_t > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:486:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 486 | ::std::auto_ptr< ::test::root_t > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:499:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 499 | ::std::auto_ptr< ::test::root_t > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx: In function 'std::auto_ptr test::root(xsd::cxx::xml::dom::auto_ptr, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:524:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 524 | ::std::auto_ptr< ::test::root_t > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:756:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 756 | id_ref (::std::auto_ptr< id_ref_type > p); | ^~~~~~~~ @@ -17385,16 +16234,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:944:22: note: in expansion of macro 'XSD_AUTO_PTR' - 944 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:875:24: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 875 | duration (::std::auto_ptr< duration_type > p); | ^~~~~~~~ @@ -17413,15 +16252,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:958:22: note: in expansion of macro 'XSD_AUTO_PTR' - 958 | return XSD_AUTO_PTR (); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:926:25: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 926 | month_day (::std::auto_ptr< month_day_type > p); | ^~~~~~~~ @@ -17440,250 +16270,27 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:990:22: note: in expansion of macro 'XSD_AUTO_PTR' - 990 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:977:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 977 | time (::std::auto_ptr< time_type > p); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_attribute_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1036:22: note: in expansion of macro 'XSD_AUTO_PTR' - 1036 | return XSD_AUTO_PTR (); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1047:22: note: in expansion of macro 'XSD_AUTO_PTR' - 1047 | return XSD_AUTO_PTR (); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1074:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1074 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::type&, bool)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1098:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1098 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::type&)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1106:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1106 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_content_type::clone() const': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1183:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1183 | return XSD_AUTO_PTR (new dom_content_type (dom)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1367:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1367 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::simple_type::text_content_type::clone() const': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1370:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1370 | return XSD_AUTO_PTR (new text_content_type (text)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1491:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1491 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1497:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1497 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1503:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1503 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1516:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1516 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1494:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1494 | return XSD_AUTO_PTR (new T (e, f, c)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1500:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1500 | return XSD_AUTO_PTR (new T (a, f, c)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1509:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1509 | return XSD_AUTO_PTR (new T (s, e, f, c)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1519:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1519 | return XSD_AUTO_PTR (new T (s, f, c)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1530:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1530 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1537:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1537 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1544:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1544 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1555:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1555 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1533:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1533 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1540:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1540 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1550:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1550 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/driver.cxx:78:7: note: in expansion of macro 'XSD_AUTO_PTR' + 78 | XSD_AUTO_PTR x (new xml_schema::type); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1558:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1558 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/driver.cxx:117:7: note: in expansion of macro 'XSD_AUTO_PTR' + 117 | XSD_AUTO_PTR r1 (root (iostr, argv[1])); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -17831,285 +16438,7 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:138:14: note: in expansion of macro 'XSD_AUTO_PTR' - 138 | one (XSD_AUTO_PTR, container*); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:165:14: note: in expansion of macro 'XSD_AUTO_PTR' - 165 | set (XSD_AUTO_PTR); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:173:9: note: in expansion of macro 'XSD_AUTO_PTR' - 173 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::one::detach()': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:179:18: note: in expansion of macro 'XSD_AUTO_PTR' - 179 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:270:19: note: in expansion of macro 'XSD_AUTO_PTR' - 270 | optional (XSD_AUTO_PTR, container* = 0); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:343:14: note: in expansion of macro 'XSD_AUTO_PTR' - 343 | set (XSD_AUTO_PTR); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:348:9: note: in expansion of macro 'XSD_AUTO_PTR' - 348 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::optional::detach()': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:354:18: note: in expansion of macro 'XSD_AUTO_PTR' - 354 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:279:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 279 | a (::std::auto_ptr< a_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:296:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 296 | b (::std::auto_ptr< b_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:404:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 404 | ::std::auto_ptr< ::test::root_t > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:409:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 409 | ::std::auto_ptr< ::test::root_t > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:415:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 415 | ::std::auto_ptr< ::test::root_t > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:424:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 424 | ::std::auto_ptr< ::test::root_t > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:429:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 429 | ::std::auto_ptr< ::test::root_t > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:435:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 435 | ::std::auto_ptr< ::test::root_t > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:441:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 441 | ::std::auto_ptr< ::test::root_t > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:447:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 447 | ::std::auto_ptr< ::test::root_t > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:454:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 454 | ::std::auto_ptr< ::test::root_t > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:464:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 464 | ::std::auto_ptr< ::test::root_t > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:469:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 469 | ::std::auto_ptr< ::test::root_t > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:475:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 475 | ::std::auto_ptr< ::test::root_t > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:484:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 484 | ::std::auto_ptr< ::test::root_t > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:489:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 489 | ::std::auto_ptr< ::test::root_t > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:500: -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.ixx:70:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 70 | a (::std::auto_ptr< a_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.ixx:98:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 98 | b (::std::auto_ptr< b_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1018 | push_back (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/driver.cxx: In function 'int main(int, char**)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/driver.cxx:27:5: note: in expansion of macro 'XSD_AUTO_PTR' - 27 | XSD_AUTO_PTR r (root (argv[1])); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1032 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1054 | insert (iterator position, XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1042 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' - 45 | one (XSD_AUTO_PTR x, container* c) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' - 97 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' - 139 | optional (XSD_AUTO_PTR x, container* c) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' - 200 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison -I/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:3419:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 3419 | byte (::std::auto_ptr< byte_type > p); | ^~~~~~~~ @@ -18278,6 +16607,12 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:398:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 398 | a (::std::auto_ptr< a_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:3912:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 3912 | any_uri (::std::auto_ptr< any_uri_type > p); | ^~~~~~~~ @@ -18344,12 +16679,96 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:473:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 473 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:4099:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 4099 | time (::std::auto_ptr< time_type > p); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:478:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 478 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:484:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 484 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:493:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 493 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:498:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 498 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:504:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 504 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:510:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 510 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:516:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 516 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:523:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 523 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:533:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 533 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:538:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 538 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:544:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 544 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:553:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 553 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:558:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 558 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:4374:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 4374 | ::std::auto_ptr< ::xmlns::test::Elements > | ^~~~~~~~ @@ -18398,6 +16817,13 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.hxx:657: +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.ixx:175:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 175 | a (::std::auto_ptr< a_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:4424:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 4424 | ::std::auto_ptr< ::xmlns::test::Elements > | ^~~~~~~~ @@ -18657,807 +17083,775 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:702:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 702 | id_ref (::std::auto_ptr< id_ref_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:586:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 586 | string (::std::auto_ptr< string_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:730:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 730 | id_refs (::std::auto_ptr< id_refs_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:603:33: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 603 | normalized_string (::std::auto_ptr< normalized_string_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:758:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 758 | any_uri (::std::auto_ptr< any_uri_type > x) +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:620:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 620 | token (::std::auto_ptr< token_type > p); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:786:27: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 786 | base64_binary (::std::auto_ptr< base64_binary_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:637:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 637 | name (::std::auto_ptr< name_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:814:24: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 814 | hex_binary (::std::auto_ptr< hex_binary_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:702:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 702 | id_ref (::std::auto_ptr< id_ref_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:842:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 842 | date (::std::auto_ptr< date_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:654:26: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 654 | name_token (::std::auto_ptr< name_token_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:870:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 870 | date_time (::std::auto_ptr< date_time_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:671:27: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 671 | name_tokens (::std::auto_ptr< name_tokens_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:898:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 898 | duration (::std::auto_ptr< duration_type > x) +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:688:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 688 | ncname (::std::auto_ptr< ncname_type > p); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:926:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 926 | day (::std::auto_ptr< day_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:705:24: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 705 | language (::std::auto_ptr< language_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:954:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 954 | month (::std::auto_ptr< month_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:722:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 722 | qname (::std::auto_ptr< qname_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:982:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 982 | month_day (::std::auto_ptr< month_day_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:730:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 730 | id_refs (::std::auto_ptr< id_refs_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:1010:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1010 | year (::std::auto_ptr< year_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:758:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 758 | any_uri (::std::auto_ptr< any_uri_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:1038:24: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1038 | year_month (::std::auto_ptr< year_month_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:756:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 756 | id_ref (::std::auto_ptr< id_ref_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:1066:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1066 | time (::std::auto_ptr< time_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:773:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 773 | id_refs (::std::auto_ptr< id_refs_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:1581:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1581 | string (::std::auto_ptr< string_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:790:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 790 | any_uri (::std::auto_ptr< any_uri_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:1616:31: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1616 | normalized_string (::std::auto_ptr< normalized_string_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:807:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 807 | base64_binary (::std::auto_ptr< base64_binary_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:1651:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1651 | token (::std::auto_ptr< token_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:824:26: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 824 | hex_binary (::std::auto_ptr< hex_binary_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:1686:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1686 | name (::std::auto_ptr< name_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:786:27: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 786 | base64_binary (::std::auto_ptr< base64_binary_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:1721:24: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1721 | name_token (::std::auto_ptr< name_token_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:841:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 841 | date (::std::auto_ptr< date_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:1756:25: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1756 | name_tokens (::std::auto_ptr< name_tokens_type > x) +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:858:25: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 858 | date_time (::std::auto_ptr< date_time_type > p); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:1791:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1791 | ncname (::std::auto_ptr< ncname_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:1826:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1826 | language (::std::auto_ptr< language_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:875:24: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 875 | duration (::std::auto_ptr< duration_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:1861:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1861 | qname (::std::auto_ptr< qname_type > x) +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:892:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 892 | day (::std::auto_ptr< day_type > p); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:1896:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1896 | id (::std::auto_ptr< id_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:909:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 909 | month (::std::auto_ptr< month_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:1931:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1931 | id_ref (::std::auto_ptr< id_ref_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:814:24: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 814 | hex_binary (::std::auto_ptr< hex_binary_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:1966:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1966 | id_refs (::std::auto_ptr< id_refs_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:926:25: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 926 | month_day (::std::auto_ptr< month_day_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2001:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2001 | any_uri (::std::auto_ptr< any_uri_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:943:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 943 | year (::std::auto_ptr< year_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2036:27: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2036 | base64_binary (::std::auto_ptr< base64_binary_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:960:26: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 960 | year_month (::std::auto_ptr< year_month_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2071:24: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2071 | hex_binary (::std::auto_ptr< hex_binary_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:977:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 977 | time (::std::auto_ptr< time_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2106:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2106 | date (::std::auto_ptr< date_type > x) +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:842:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 842 | date (::std::auto_ptr< date_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2141:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2141 | date_time (::std::auto_ptr< date_time_type > x) +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:870:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 870 | date_time (::std::auto_ptr< date_time_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2176:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2176 | duration (::std::auto_ptr< duration_type > x) +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:898:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 898 | duration (::std::auto_ptr< duration_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2211:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2211 | day (::std::auto_ptr< day_type > x) +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:926:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 926 | day (::std::auto_ptr< day_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2246:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2246 | month (::std::auto_ptr< month_type > x) +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:954:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 954 | month (::std::auto_ptr< month_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2281:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2281 | month_day (::std::auto_ptr< month_day_type > x) +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:982:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 982 | month_day (::std::auto_ptr< month_day_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2316:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2316 | year (::std::auto_ptr< year_type > x) +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:1010:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1010 | year (::std::auto_ptr< year_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2351:24: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2351 | year_month (::std::auto_ptr< year_month_type > x) +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:1038:24: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1038 | year_month (::std::auto_ptr< year_month_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2386:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2386 | time (::std::auto_ptr< time_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2582:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2582 | byte (::std::auto_ptr< byte_type > x) +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:1066:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1066 | time (::std::auto_ptr< time_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2610:27: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2610 | unsigned_byte (::std::auto_ptr< unsigned_byte_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:1421:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1421 | string (::std::auto_ptr< string_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2638:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2638 | short_ (::std::auto_ptr< short_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:1442:33: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1442 | normalized_string (::std::auto_ptr< normalized_string_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2666:28: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2666 | unsigned_short (::std::auto_ptr< unsigned_short_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:1463:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1463 | token (::std::auto_ptr< token_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2694:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2694 | int_ (::std::auto_ptr< int_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:1484:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1484 | name (::std::auto_ptr< name_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2722:26: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2722 | unsigned_int (::std::auto_ptr< unsigned_int_type > x) +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:1505:26: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1505 | name_token (::std::auto_ptr< name_token_type > p); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2750:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2750 | long_ (::std::auto_ptr< long_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2778:27: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2778 | unsigned_long (::std::auto_ptr< unsigned_long_type > x) +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:1526:27: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1526 | name_tokens (::std::auto_ptr< name_tokens_type > p); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2806:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2806 | integer (::std::auto_ptr< integer_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:1547:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1547 | ncname (::std::auto_ptr< ncname_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2834:34: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2834 | non_positive_integer (::std::auto_ptr< non_positive_integer_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:1568:24: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1568 | language (::std::auto_ptr< language_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2862:34: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2862 | non_negative_integer (::std::auto_ptr< non_negative_integer_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:1589:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1589 | qname (::std::auto_ptr< qname_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2890:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2890 | positive_integer (::std::auto_ptr< positive_integer_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:1610:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1610 | id (::std::auto_ptr< id_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2918:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2918 | negative_integer (::std::auto_ptr< negative_integer_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:1631:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1631 | id_ref (::std::auto_ptr< id_ref_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2946:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2946 | boolean (::std::auto_ptr< boolean_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:1652:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1652 | id_refs (::std::auto_ptr< id_refs_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2974:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2974 | float_ (::std::auto_ptr< float_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:1673:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1673 | any_uri (::std::auto_ptr< any_uri_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3002:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3002 | double_ (::std::auto_ptr< double_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:1694:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1694 | base64_binary (::std::auto_ptr< base64_binary_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3030:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3030 | decimal (::std::auto_ptr< decimal_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:1715:26: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1715 | hex_binary (::std::auto_ptr< hex_binary_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3058:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3058 | string (::std::auto_ptr< string_type > x) +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:1736:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1736 | date (::std::auto_ptr< date_type > p); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3086:31: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3086 | normalized_string (::std::auto_ptr< normalized_string_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:1757:25: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1757 | date_time (::std::auto_ptr< date_time_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3114:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3114 | token (::std::auto_ptr< token_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:1778:24: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1778 | duration (::std::auto_ptr< duration_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3142:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3142 | name (::std::auto_ptr< name_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:1799:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1799 | day (::std::auto_ptr< day_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3170:24: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3170 | name_token (::std::auto_ptr< name_token_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:1820:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1820 | month (::std::auto_ptr< month_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3198:25: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3198 | name_tokens (::std::auto_ptr< name_tokens_type > x) +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:1841:25: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1841 | month_day (::std::auto_ptr< month_day_type > p); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3226:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3226 | ncname (::std::auto_ptr< ncname_type > x) +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:1862:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1862 | year (::std::auto_ptr< year_type > p); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3254:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3254 | language (::std::auto_ptr< language_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:1883:26: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1883 | year_month (::std::auto_ptr< year_month_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3282:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3282 | qname (::std::auto_ptr< qname_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:1904:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1904 | time (::std::auto_ptr< time_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3331:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3331 | id_ref (::std::auto_ptr< id_ref_type > x) +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:1581:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1581 | string (::std::auto_ptr< string_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3359:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3359 | id_refs (::std::auto_ptr< id_refs_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:1616:31: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1616 | normalized_string (::std::auto_ptr< normalized_string_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3387:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3387 | any_uri (::std::auto_ptr< any_uri_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:1651:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1651 | token (::std::auto_ptr< token_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3415:27: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3415 | base64_binary (::std::auto_ptr< base64_binary_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:1686:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1686 | name (::std::auto_ptr< name_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3443:24: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3443 | hex_binary (::std::auto_ptr< hex_binary_type > x) +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:1721:24: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1721 | name_token (::std::auto_ptr< name_token_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3471:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3471 | date (::std::auto_ptr< date_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:1756:25: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1756 | name_tokens (::std::auto_ptr< name_tokens_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3499:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3499 | date_time (::std::auto_ptr< date_time_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:1791:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1791 | ncname (::std::auto_ptr< ncname_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3527:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3527 | duration (::std::auto_ptr< duration_type > x) +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:1826:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1826 | language (::std::auto_ptr< language_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3555:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3555 | day (::std::auto_ptr< day_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3583:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3583 | month (::std::auto_ptr< month_type > x) +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:1861:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1861 | qname (::std::auto_ptr< qname_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3611:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3611 | month_day (::std::auto_ptr< month_day_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3639:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3639 | year (::std::auto_ptr< year_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:1896:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1896 | id (::std::auto_ptr< id_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3667:24: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3667 | year_month (::std::auto_ptr< year_month_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:1931:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1931 | id_ref (::std::auto_ptr< id_ref_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3695:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3695 | time (::std::auto_ptr< time_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx: In member function 'void test::type::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:149:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 149 | ::std::auto_ptr< t_type > r ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/driver.cxx: In function 'int main(int, char**)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/driver.cxx:27:3: note: in expansion of macro 'XSD_AUTO_PTR' - 27 | XSD_AUTO_PTR elements ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:1966:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1966 | id_refs (::std::auto_ptr< id_refs_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/driver.cxx:30:3: note: in expansion of macro 'XSD_AUTO_PTR' - 30 | XSD_AUTO_PTR attributes ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2001:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2001 | any_uri (::std::auto_ptr< any_uri_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/driver.cxx:33:3: note: in expansion of macro 'XSD_AUTO_PTR' - 33 | XSD_AUTO_PTR inherited ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:160:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 160 | ::std::auto_ptr< s_type > r ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/driver.cxx:55:5: note: in expansion of macro 'XSD_AUTO_PTR' - 55 | XSD_AUTO_PTR elements1 ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2036:27: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2036 | base64_binary (::std::auto_ptr< base64_binary_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/driver.cxx:70:5: note: in expansion of macro 'XSD_AUTO_PTR' - 70 | XSD_AUTO_PTR attributes1 ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:171:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 171 | ::std::auto_ptr< l_type > r ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:586:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 586 | string (::std::auto_ptr< string_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2071:24: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2071 | hex_binary (::std::auto_ptr< hex_binary_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:603:33: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 603 | normalized_string (::std::auto_ptr< normalized_string_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2106:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2106 | date (::std::auto_ptr< date_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:620:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 620 | token (::std::auto_ptr< token_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2141:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2141 | date_time (::std::auto_ptr< date_time_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:637:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 637 | name (::std::auto_ptr< name_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2176:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2176 | duration (::std::auto_ptr< duration_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:654:26: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 654 | name_token (::std::auto_ptr< name_token_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2211:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2211 | day (::std::auto_ptr< day_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:671:27: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 671 | name_tokens (::std::auto_ptr< name_tokens_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2246:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2246 | month (::std::auto_ptr< month_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:688:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 688 | ncname (::std::auto_ptr< ncname_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2281:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2281 | month_day (::std::auto_ptr< month_day_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/driver.cxx:85:5: note: in expansion of macro 'XSD_AUTO_PTR' - 85 | XSD_AUTO_PTR inherited1 ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2316:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2316 | year (::std::auto_ptr< year_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:705:24: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 705 | language (::std::auto_ptr< language_type > p); +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2351:24: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2351 | year_month (::std::auto_ptr< year_month_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:722:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 722 | qname (::std::auto_ptr< qname_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2386:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2386 | time (::std::auto_ptr< time_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:756:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 756 | id_ref (::std::auto_ptr< id_ref_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2582:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2582 | byte (::std::auto_ptr< byte_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:773:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 773 | id_refs (::std::auto_ptr< id_refs_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:297:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 297 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:790:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 790 | any_uri (::std::auto_ptr< any_uri_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2610:27: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2610 | unsigned_byte (::std::auto_ptr< unsigned_byte_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:807:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 807 | base64_binary (::std::auto_ptr< base64_binary_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2638:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2638 | short_ (::std::auto_ptr< short_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:824:26: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 824 | hex_binary (::std::auto_ptr< hex_binary_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2666:28: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2666 | unsigned_short (::std::auto_ptr< unsigned_short_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:841:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 841 | date (::std::auto_ptr< date_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:314:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 314 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:858:25: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 858 | date_time (::std::auto_ptr< date_time_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:319:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 319 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:875:24: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 875 | duration (::std::auto_ptr< duration_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2694:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2694 | int_ (::std::auto_ptr< int_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:892:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 892 | day (::std::auto_ptr< day_type > p); +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:336:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 336 | return ::std::auto_ptr< ::test::type > ( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:909:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 909 | month (::std::auto_ptr< month_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2722:26: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2722 | unsigned_int (::std::auto_ptr< unsigned_int_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:926:25: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 926 | month_day (::std::auto_ptr< month_day_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:341:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 341 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:943:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 943 | year (::std::auto_ptr< year_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:354:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 354 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2750:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2750 | long_ (::std::auto_ptr< long_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:960:26: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 960 | year_month (::std::auto_ptr< year_month_type > p); - | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:977:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 977 | time (::std::auto_ptr< time_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:359:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 359 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:1421:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1421 | string (::std::auto_ptr< string_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:372:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 372 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:1442:33: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1442 | normalized_string (::std::auto_ptr< normalized_string_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:386:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 386 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:1463:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1463 | token (::std::auto_ptr< token_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:396:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 396 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:1484:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1484 | name (::std::auto_ptr< name_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:410:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 410 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:1505:26: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1505 | name_token (::std::auto_ptr< name_token_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:425:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 425 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:1526:27: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1526 | name_tokens (::std::auto_ptr< name_tokens_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:436:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 436 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:1547:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1547 | ncname (::std::auto_ptr< ncname_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2778:27: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2778 | unsigned_long (::std::auto_ptr< unsigned_long_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:1568:24: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1568 | language (::std::auto_ptr< language_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:449:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 449 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:1589:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1589 | qname (::std::auto_ptr< qname_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:454:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 454 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:1610:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1610 | id (::std::auto_ptr< id_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2806:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2806 | integer (::std::auto_ptr< integer_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:1631:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1631 | id_ref (::std::auto_ptr< id_ref_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:467:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 467 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:1652:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1652 | id_refs (::std::auto_ptr< id_refs_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2834:34: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2834 | non_positive_integer (::std::auto_ptr< non_positive_integer_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:1673:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1673 | any_uri (::std::auto_ptr< any_uri_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:472:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 472 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:1694:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1694 | base64_binary (::std::auto_ptr< base64_binary_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:485:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 485 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:1715:26: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1715 | hex_binary (::std::auto_ptr< hex_binary_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:490:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 490 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:1736:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1736 | date (::std::auto_ptr< date_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx: In function 'std::auto_ptr test::root(const xercesc_3_2::DOMDocument&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:500:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 500 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:1757:25: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1757 | date_time (::std::auto_ptr< date_time_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:512:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 512 | ::std::auto_ptr< ::test::type > r ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:1778:24: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1778 | duration (::std::auto_ptr< duration_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2862:34: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2862 | non_negative_integer (::std::auto_ptr< non_negative_integer_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:1799:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1799 | day (::std::auto_ptr< day_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:525:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 525 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:1820:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1820 | month (::std::auto_ptr< month_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2890:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2890 | positive_integer (::std::auto_ptr< positive_integer_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:1841:25: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1841 | month_day (::std::auto_ptr< month_day_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2918:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2918 | negative_integer (::std::auto_ptr< negative_integer_type > x) + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx: In function 'std::auto_ptr test::root(xsd::cxx::xml::dom::auto_ptr, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/any-type/test.cxx:550:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 550 | ::std::auto_ptr< ::test::type > r ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:1862:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1862 | year (::std::auto_ptr< year_type > p); - | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:1883:26: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1883 | year_month (::std::auto_ptr< year_month_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2946:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2946 | boolean (::std::auto_ptr< boolean_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:1904:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1904 | time (::std::auto_ptr< time_type > p); +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2974:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2974 | float_ (::std::auto_ptr< float_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; @@ -19477,6 +17871,12 @@ /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:3453:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 3453 | short_ (::std::auto_ptr< short_type > p); | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3002:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3002 | double_ (::std::auto_ptr< double_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -19510,6 +17910,12 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3030:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3030 | decimal (::std::auto_ptr< decimal_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:3555:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 3555 | integer (::std::auto_ptr< integer_type > p); | ^~~~~~~~ @@ -19618,6 +18024,18 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3058:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3058 | string (::std::auto_ptr< string_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3086:31: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3086 | normalized_string (::std::auto_ptr< normalized_string_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:3878:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 3878 | id_ref (::std::auto_ptr< id_ref_type > p); | ^~~~~~~~ @@ -19636,6 +18054,12 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3114:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3114 | token (::std::auto_ptr< token_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:3929:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 3929 | base64_binary (::std::auto_ptr< base64_binary_type > p); | ^~~~~~~~ @@ -19702,12 +18126,90 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3142:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3142 | name (::std::auto_ptr< name_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3170:24: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3170 | name_token (::std::auto_ptr< name_token_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3198:25: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3198 | name_tokens (::std::auto_ptr< name_tokens_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3226:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3226 | ncname (::std::auto_ptr< ncname_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3254:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3254 | language (::std::auto_ptr< language_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3282:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3282 | qname (::std::auto_ptr< qname_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3331:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3331 | id_ref (::std::auto_ptr< id_ref_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3359:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3359 | id_refs (::std::auto_ptr< id_refs_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3387:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3387 | any_uri (::std::auto_ptr< any_uri_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3415:27: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3415 | base64_binary (::std::auto_ptr< base64_binary_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3443:24: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3443 | hex_binary (::std::auto_ptr< hex_binary_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3471:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3471 | date (::std::auto_ptr< date_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:4374:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 4374 | ::std::auto_ptr< ::xmlns::test::Elements > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3499:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3499 | date_time (::std::auto_ptr< date_time_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:4379:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 4379 | ::std::auto_ptr< ::xmlns::test::Elements > | ^~~~~~~~ @@ -19732,6 +18234,12 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3527:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3527 | duration (::std::auto_ptr< duration_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:4405:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 4405 | ::std::auto_ptr< ::xmlns::test::Elements > | ^~~~~~~~ @@ -19744,6 +18252,18 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3555:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3555 | day (::std::auto_ptr< day_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3583:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3583 | month (::std::auto_ptr< month_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:4417:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 4417 | ::std::auto_ptr< ::xmlns::test::Elements > | ^~~~~~~~ @@ -19774,6 +18294,12 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3611:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3611 | month_day (::std::auto_ptr< month_day_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:4454:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 4454 | ::std::auto_ptr< ::xmlns::test::Elements > | ^~~~~~~~ @@ -19906,6 +18432,12 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3639:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3639 | year (::std::auto_ptr< year_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:4597:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 4597 | ::std::auto_ptr< ::xmlns::test::Inherited > | ^~~~~~~~ @@ -19927,19 +18459,6 @@ /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:4620:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 4620 | ::std::auto_ptr< ::xmlns::test::Inherited > | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:50, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/driver.cxx:11: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' - 894 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/driver.cxx:8: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -19955,12 +18474,9 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' - 934 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3667:24: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3667 | year_month (::std::auto_ptr< year_month_type > x) + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:4640:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 4640 | ::std::auto_ptr< ::xmlns::test::Inherited > | ^~~~~~~~ @@ -19976,98 +18492,77 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1026 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3695:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3695 | time (::std::auto_ptr< time_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/driver.cxx: In function 'int main(int, char**)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1095 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/driver.cxx:27:3: note: in expansion of macro 'XSD_AUTO_PTR' + 27 | XSD_AUTO_PTR elements ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1103 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/driver.cxx:30:3: note: in expansion of macro 'XSD_AUTO_PTR' + 30 | XSD_AUTO_PTR attributes ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1114 | XSD_AUTO_PTR dom_info_; - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/driver.cxx:33:3: note: in expansion of macro 'XSD_AUTO_PTR' + 33 | XSD_AUTO_PTR inherited ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1137 | XSD_AUTO_PTR map_; - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/driver.cxx:55:5: note: in expansion of macro 'XSD_AUTO_PTR' + 55 | XSD_AUTO_PTR elements1 ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1152 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:5290: +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:429:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 429 | string (::std::auto_ptr< string_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1180 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/driver.cxx:70:5: note: in expansion of macro 'XSD_AUTO_PTR' + 70 | XSD_AUTO_PTR attributes1 ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' - 1203 | mutable XSD_AUTO_PTR content_; - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:457:31: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 457 | normalized_string (::std::auto_ptr< normalized_string_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' - 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.hxx:5290: -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:429:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 429 | string (::std::auto_ptr< string_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:457:31: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 457 | normalized_string (::std::auto_ptr< normalized_string_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/driver.cxx:85:5: note: in expansion of macro 'XSD_AUTO_PTR' + 85 | XSD_AUTO_PTR inherited1 ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -20197,53 +18692,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:944:22: note: in expansion of macro 'XSD_AUTO_PTR' - 944 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:958:22: note: in expansion of macro 'XSD_AUTO_PTR' - 958 | return XSD_AUTO_PTR (); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:990:22: note: in expansion of macro 'XSD_AUTO_PTR' - 990 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_attribute_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1036:22: note: in expansion of macro 'XSD_AUTO_PTR' - 1036 | return XSD_AUTO_PTR (); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1047:22: note: in expansion of macro 'XSD_AUTO_PTR' - 1047 | return XSD_AUTO_PTR (); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:1581:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1581 | string (::std::auto_ptr< string_type > x) | ^~~~~~~~ @@ -20256,47 +18704,18 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1074:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1074 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:1651:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1651 | token (::std::auto_ptr< token_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::type&, bool)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1098:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1098 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::type&)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1106:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1106 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:1686:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1686 | name (::std::auto_ptr< name_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:1721:24: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1721 | name_token (::std::auto_ptr< name_token_type > x) | ^~~~~~~~ @@ -20315,16 +18734,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_content_type::clone() const': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1183:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1183 | return XSD_AUTO_PTR (new dom_content_type (dom)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:1826:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1826 | language (::std::auto_ptr< language_type > x) | ^~~~~~~~ @@ -20337,204 +18746,30 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1367:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1367 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::simple_type::text_content_type::clone() const': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1370:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1370 | return XSD_AUTO_PTR (new text_content_type (text)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:1896:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1896 | id (::std::auto_ptr< id_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1491:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1491 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1497:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1497 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1503:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1503 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1516:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1516 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:1931:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1931 | id_ref (::std::auto_ptr< id_ref_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1494:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1494 | return XSD_AUTO_PTR (new T (e, f, c)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1500:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1500 | return XSD_AUTO_PTR (new T (a, f, c)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1509:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1509 | return XSD_AUTO_PTR (new T (s, e, f, c)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1519:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1519 | return XSD_AUTO_PTR (new T (s, f, c)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:1966:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1966 | id_refs (::std::auto_ptr< id_refs_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1530:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1530 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1537:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1537 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1544:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1544 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1555:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1555 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1533:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1533 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1540:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1540 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1550:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1550 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2001:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2001 | any_uri (::std::auto_ptr< any_uri_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1558:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1558 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2036:27: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2036 | base64_binary (::std::auto_ptr< base64_binary_type > x) | ^~~~~~~~ @@ -20673,7 +18908,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation -I/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/driver.cxx /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:2918:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2918 | negative_integer (::std::auto_ptr< negative_integer_type > x) | ^~~~~~~~ @@ -20800,94 +19034,18 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:138:14: note: in expansion of macro 'XSD_AUTO_PTR' - 138 | one (XSD_AUTO_PTR, container*); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:165:14: note: in expansion of macro 'XSD_AUTO_PTR' - 165 | set (XSD_AUTO_PTR); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:173:9: note: in expansion of macro 'XSD_AUTO_PTR' - 173 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::one::detach()': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:179:18: note: in expansion of macro 'XSD_AUTO_PTR' - 179 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3527:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 3527 | duration (::std::auto_ptr< duration_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:270:19: note: in expansion of macro 'XSD_AUTO_PTR' - 270 | optional (XSD_AUTO_PTR, container* = 0); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:343:14: note: in expansion of macro 'XSD_AUTO_PTR' - 343 | set (XSD_AUTO_PTR); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:348:9: note: in expansion of macro 'XSD_AUTO_PTR' - 348 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3555:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 3555 | day (::std::auto_ptr< day_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::optional::detach()': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:354:18: note: in expansion of macro 'XSD_AUTO_PTR' - 354 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.ixx:3583:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 3583 | month (::std::auto_ptr< month_type > x) | ^~~~~~~~ @@ -20918,90 +19076,7 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1018 | push_back (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1032 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1054 | insert (iterator position, XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1042 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' - 45 | one (XSD_AUTO_PTR x, container* c) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' - 97 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' - 139 | optional (XSD_AUTO_PTR x, container* c) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' - 200 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation -I/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/driver.cxx /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In member function 'void xmlns::test::Elements::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:489:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 489 | ::std::auto_ptr< string_type > r ( @@ -21141,17 +19216,22 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:50, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:41: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' - 894 | virtual XSD_AUTO_PTR +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:808:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 808 | ::std::auto_ptr< time_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:50, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/driver.cxx:11: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' + 894 | virtual XSD_AUTO_PTR | ^~~~~~~~~~~~ In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:61: + from /build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/driver.cxx:8: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -21236,12 +19316,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:808:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 808 | ::std::auto_ptr< time_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -21252,18 +19326,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:358:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 358 | b (::std::auto_ptr< b_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:410:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 410 | y (::std::auto_ptr< y_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -21292,12 +19354,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:532:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 532 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_attribute_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -21346,72 +19402,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:537:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 537 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:543:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 543 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:552:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 552 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:557:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 557 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:563:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 563 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:569:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 569 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:575:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 575 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:582:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 582 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:592:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 592 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:597:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 597 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:603:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 603 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_content_type::clone() const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -21422,18 +19412,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:612:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 612 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:617:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 617 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -21550,13 +19528,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:624: -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.ixx:123:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 123 | b (::std::auto_ptr< b_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -21615,22 +19586,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.ixx:200:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 200 | y (::std::auto_ptr< y_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/driver.cxx: In function 'int main(int, char**)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/driver.cxx:27:5: note: in expansion of macro 'XSD_AUTO_PTR' - 27 | XSD_AUTO_PTR r (root (argv[1])); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -21791,8 +19746,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation -I/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor -I/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/driver.cxx /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In member function 'void xmlns::test::Inherited::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:4438:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 4438 | ::std::auto_ptr< byte_type > r ( @@ -22040,300 +19993,8 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:358:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 358 | b (::std::auto_ptr< b_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:410:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 410 | y (::std::auto_ptr< y_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:532:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 532 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:537:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 537 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:543:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 543 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:552:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 552 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:557:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 557 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:563:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 563 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:569:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 569 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:575:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 575 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:582:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 582 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:592:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 592 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:597:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 597 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:603:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 603 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:612:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 612 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:617:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 617 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:624: -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.ixx:123:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 123 | b (::std::auto_ptr< b_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor -I/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.ixx:200:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 200 | y (::std::auto_ptr< y_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/containment -I/build/xsd-4.0.0/xsd/tests/cxx/tree/containment -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/containment/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/containment/driver.cxx -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx: In member function 'void test::complex::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:243:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 243 | ::std::auto_ptr< b_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:257:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 257 | ::std::auto_ptr< c_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx: In member function 'void test::type::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:403:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 403 | ::std::auto_ptr< complex_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:460:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 460 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:477:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 477 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:482:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 482 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:499:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 499 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:504:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 504 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:517:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 517 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:522:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 522 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:535:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 535 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:549:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 549 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:559:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 559 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:573:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 573 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:588:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 588 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:599:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 599 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:612:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 612 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:617:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 617 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:630:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 630 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:635:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 635 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:648:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 648 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:653:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 653 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx: In function 'std::auto_ptr test::root(const xercesc_3_2::DOMDocument&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:663:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 663 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:675:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 675 | ::std::auto_ptr< ::test::type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:688:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 688 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx: In function 'std::auto_ptr test::root(xsd::cxx::xml::dom::auto_ptr, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:713:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 713 | ::std::auto_ptr< ::test::type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6016:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6016 | ::std::auto_ptr< ::xmlns::test::Elements > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:50, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/driver.cxx:11: +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:50, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/driver.cxx:11: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -22341,8 +20002,7 @@ 894 | virtual XSD_AUTO_PTR | ^~~~~~~~~~~~ In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:61: + from /build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/driver.cxx:8: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -22391,41 +20051,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In function 'std::auto_ptr xmlns::test::elements(const std::string&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6033:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6033 | return ::std::auto_ptr< ::xmlns::test::Elements > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6038:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6038 | ::std::auto_ptr< ::xmlns::test::Elements > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In function 'std::auto_ptr xmlns::test::elements(const std::string&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6055:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6055 | return ::std::auto_ptr< ::xmlns::test::Elements > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6060:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6060 | ::std::auto_ptr< ::xmlns::test::Elements > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In function 'std::auto_ptr xmlns::test::elements(const std::string&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6073:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6073 | return ::std::auto_ptr< ::xmlns::test::Elements > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -22444,13 +20069,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6078:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6078 | ::std::auto_ptr< ::xmlns::test::Elements > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -22469,238 +20087,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6091:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6091 | ::std::auto_ptr< ::xmlns::test::Elements > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6105:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6105 | ::std::auto_ptr< ::xmlns::test::Elements > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6115:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6115 | ::std::auto_ptr< ::xmlns::test::Elements > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6129:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6129 | ::std::auto_ptr< ::xmlns::test::Elements > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6144:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6144 | ::std::auto_ptr< ::xmlns::test::Elements > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6155:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6155 | ::std::auto_ptr< ::xmlns::test::Elements > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In function 'std::auto_ptr xmlns::test::elements(xercesc_3_2::InputSource&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6168:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6168 | return ::std::auto_ptr< ::xmlns::test::Elements > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6173:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6173 | ::std::auto_ptr< ::xmlns::test::Elements > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In function 'std::auto_ptr xmlns::test::elements(xercesc_3_2::InputSource&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6186:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6186 | return ::std::auto_ptr< ::xmlns::test::Elements > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6191:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6191 | ::std::auto_ptr< ::xmlns::test::Elements > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In function 'std::auto_ptr xmlns::test::elements(xercesc_3_2::InputSource&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6204:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6204 | return ::std::auto_ptr< ::xmlns::test::Elements > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6209:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6209 | ::std::auto_ptr< ::xmlns::test::Elements > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In function 'std::auto_ptr xmlns::test::elements(const xercesc_3_2::DOMDocument&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6219:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6219 | return ::std::auto_ptr< ::xmlns::test::Elements > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6231:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6231 | ::std::auto_ptr< ::xmlns::test::Elements > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6244:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6244 | ::std::auto_ptr< ::xmlns::test::Elements > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In function 'std::auto_ptr xmlns::test::elements(xsd::cxx::xml::dom::auto_ptr, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6269:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6269 | ::std::auto_ptr< ::xmlns::test::Elements > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6282:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6282 | ::std::auto_ptr< ::xmlns::test::Attributes > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In function 'std::auto_ptr xmlns::test::attributes(const std::string&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6299:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6299 | return ::std::auto_ptr< ::xmlns::test::Attributes > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6304:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6304 | ::std::auto_ptr< ::xmlns::test::Attributes > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In function 'std::auto_ptr xmlns::test::attributes(const std::string&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6321:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6321 | return ::std::auto_ptr< ::xmlns::test::Attributes > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6326:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6326 | ::std::auto_ptr< ::xmlns::test::Attributes > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In function 'std::auto_ptr xmlns::test::attributes(const std::string&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6339:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6339 | return ::std::auto_ptr< ::xmlns::test::Attributes > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6344:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6344 | ::std::auto_ptr< ::xmlns::test::Attributes > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6357:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6357 | ::std::auto_ptr< ::xmlns::test::Attributes > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6371:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6371 | ::std::auto_ptr< ::xmlns::test::Attributes > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6381:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6381 | ::std::auto_ptr< ::xmlns::test::Attributes > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6395:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6395 | ::std::auto_ptr< ::xmlns::test::Attributes > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6410:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6410 | ::std::auto_ptr< ::xmlns::test::Attributes > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6421:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6421 | ::std::auto_ptr< ::xmlns::test::Attributes > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In function 'std::auto_ptr xmlns::test::attributes(xercesc_3_2::InputSource&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6434:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6434 | return ::std::auto_ptr< ::xmlns::test::Attributes > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6439:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6439 | ::std::auto_ptr< ::xmlns::test::Attributes > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In function 'std::auto_ptr xmlns::test::attributes(xercesc_3_2::InputSource&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6452:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6452 | return ::std::auto_ptr< ::xmlns::test::Attributes > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6457:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6457 | ::std::auto_ptr< ::xmlns::test::Attributes > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In function 'std::auto_ptr xmlns::test::attributes(xercesc_3_2::InputSource&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6470:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6470 | return ::std::auto_ptr< ::xmlns::test::Attributes > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6475:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6475 | ::std::auto_ptr< ::xmlns::test::Attributes > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -22711,188 +20097,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In function 'std::auto_ptr xmlns::test::attributes(const xercesc_3_2::DOMDocument&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6485:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6485 | return ::std::auto_ptr< ::xmlns::test::Attributes > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6497:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6497 | ::std::auto_ptr< ::xmlns::test::Attributes > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6510:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6510 | ::std::auto_ptr< ::xmlns::test::Attributes > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In function 'std::auto_ptr xmlns::test::attributes(xsd::cxx::xml::dom::auto_ptr, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6535:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6535 | ::std::auto_ptr< ::xmlns::test::Attributes > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6548:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6548 | ::std::auto_ptr< ::xmlns::test::Inherited > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In function 'std::auto_ptr xmlns::test::inherited(const std::string&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6565:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6565 | return ::std::auto_ptr< ::xmlns::test::Inherited > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6570:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6570 | ::std::auto_ptr< ::xmlns::test::Inherited > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In function 'std::auto_ptr xmlns::test::inherited(const std::string&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6587:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6587 | return ::std::auto_ptr< ::xmlns::test::Inherited > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6592:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6592 | ::std::auto_ptr< ::xmlns::test::Inherited > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In function 'std::auto_ptr xmlns::test::inherited(const std::string&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6605:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6605 | return ::std::auto_ptr< ::xmlns::test::Inherited > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6610:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6610 | ::std::auto_ptr< ::xmlns::test::Inherited > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6623:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6623 | ::std::auto_ptr< ::xmlns::test::Inherited > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6637:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6637 | ::std::auto_ptr< ::xmlns::test::Inherited > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6647:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6647 | ::std::auto_ptr< ::xmlns::test::Inherited > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6661:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6661 | ::std::auto_ptr< ::xmlns::test::Inherited > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6676:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6676 | ::std::auto_ptr< ::xmlns::test::Inherited > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6687:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6687 | ::std::auto_ptr< ::xmlns::test::Inherited > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In function 'std::auto_ptr xmlns::test::inherited(xercesc_3_2::InputSource&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6700:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6700 | return ::std::auto_ptr< ::xmlns::test::Inherited > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6705:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6705 | ::std::auto_ptr< ::xmlns::test::Inherited > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In function 'std::auto_ptr xmlns::test::inherited(xercesc_3_2::InputSource&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6718:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6718 | return ::std::auto_ptr< ::xmlns::test::Inherited > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6723:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6723 | ::std::auto_ptr< ::xmlns::test::Inherited > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In function 'std::auto_ptr xmlns::test::inherited(xercesc_3_2::InputSource&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6736:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6736 | return ::std::auto_ptr< ::xmlns::test::Inherited > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6741:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6741 | ::std::auto_ptr< ::xmlns::test::Inherited > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In function 'std::auto_ptr xmlns::test::inherited(const xercesc_3_2::DOMDocument&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6751:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6751 | return ::std::auto_ptr< ::xmlns::test::Inherited > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6763:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6763 | ::std::auto_ptr< ::xmlns::test::Inherited > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6776:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6776 | ::std::auto_ptr< ::xmlns::test::Inherited > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In function 'std::auto_ptr xmlns::test::inherited(xsd::cxx::xml::dom::auto_ptr, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6801:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 6801 | ::std::auto_ptr< ::xmlns::test::Inherited > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/containment -I/build/xsd-4.0.0/xsd/tests/cxx/tree/containment -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.cxx /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -22949,6 +20153,18 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:279:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 279 | a (::std::auto_ptr< a_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:296:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 296 | b (::std::auto_ptr< b_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::type&, bool)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -22959,6 +20175,12 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:404:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 404 | ::std::auto_ptr< ::test::root_t > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::type&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -22969,6 +20191,54 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:409:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 409 | ::std::auto_ptr< ::test::root_t > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:415:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 415 | ::std::auto_ptr< ::test::root_t > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:424:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 424 | ::std::auto_ptr< ::test::root_t > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:429:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 429 | ::std::auto_ptr< ::test::root_t > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:435:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 435 | ::std::auto_ptr< ::test::root_t > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:441:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 441 | ::std::auto_ptr< ::test::root_t > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:447:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 447 | ::std::auto_ptr< ::test::root_t > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:454:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 454 | ::std::auto_ptr< ::test::root_t > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_content_type::clone() const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -22979,6 +20249,36 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:464:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 464 | ::std::auto_ptr< ::test::root_t > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:469:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 469 | ::std::auto_ptr< ::test::root_t > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:475:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 475 | ::std::auto_ptr< ::test::root_t > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:484:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 484 | ::std::auto_ptr< ::test::root_t > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:489:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 489 | ::std::auto_ptr< ::test::root_t > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -22999,6 +20299,13 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:500: +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.ixx:70:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 70 | a (::std::auto_ptr< a_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -23076,6 +20383,12 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.ixx:98:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 98 | b (::std::auto_ptr< b_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -23095,6 +20408,16 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/driver.cxx: In function 'int main(int, char**)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/driver.cxx:27:5: note: in expansion of macro 'XSD_AUTO_PTR' + 27 | XSD_AUTO_PTR r (root (argv[1])); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -23153,6 +20476,7 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation -I/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -23229,192 +20553,192 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:50, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:41: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' - 894 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:61: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1018 | push_back (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' - 934 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1032 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1026 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1054 | insert (iterator position, XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1095 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1103 | static XSD_AUTO_PTR +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1042 | return XSD_AUTO_PTR (x); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1114 | XSD_AUTO_PTR dom_info_; - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' + 45 | one (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1137 | XSD_AUTO_PTR map_; - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' + 97 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1152 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' + 139 | optional (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1180 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' + 200 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:50, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:41: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' - 1203 | mutable XSD_AUTO_PTR content_; - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' + 894 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:61: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1018 | push_back (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' + 934 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1032 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1026 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1054 | insert (iterator position, XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1095 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1103 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1042 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1114 | XSD_AUTO_PTR dom_info_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' - 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1137 | XSD_AUTO_PTR map_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' - 45 | one (XSD_AUTO_PTR x, container* c) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1152 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' - 97 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1180 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' - 139 | optional (XSD_AUTO_PTR x, container* c) +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' + 1203 | mutable XSD_AUTO_PTR content_; | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' - 200 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' + 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -23754,6 +21078,7 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor -I/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/driver.cxx /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -23838,309 +21163,617 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general -I/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/driver.cxx -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:298:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 298 | a (::std::auto_ptr< a_type > p); +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:358:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 358 | b (::std::auto_ptr< b_type > p); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:349:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 349 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:410:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 410 | y (::std::auto_ptr< y_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:532:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 532 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:354:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 354 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:537:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 537 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:360:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 360 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:543:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 543 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:369:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 369 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:552:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 552 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:374:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 374 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:557:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 557 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:380:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 380 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:563:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 563 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:386:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 386 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:569:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 569 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:392:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 392 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:575:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 575 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:399:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 399 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:582:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 582 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:409:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 409 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:592:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 592 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:414:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 414 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:597:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 597 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:420:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 420 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:603:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 603 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:429:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 429 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:612:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 612 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:434:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 434 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:617:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 617 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:523: -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.ixx:70:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 70 | a (::std::auto_ptr< a_type > x) +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:624: +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.ixx:123:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 123 | b (::std::auto_ptr< b_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general -I/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit -I/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/driver.cxx -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:298:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 298 | a (::std::auto_ptr< a_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.ixx:200:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 200 | y (::std::auto_ptr< y_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:55, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/driver.cxx:11: +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/driver.cxx: In function 'int main(int, char**)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' - 894 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/driver.cxx:9: +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/driver.cxx:27:5: note: in expansion of macro 'XSD_AUTO_PTR' + 27 | XSD_AUTO_PTR r (root (argv[1])); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' - 934 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6016:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6016 | ::std::auto_ptr< ::xmlns::test::Elements > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1026 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In function 'std::auto_ptr xmlns::test::elements(const std::string&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6033:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6033 | return ::std::auto_ptr< ::xmlns::test::Elements > ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1095 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:358:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 358 | b (::std::auto_ptr< b_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1103 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6038:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6038 | ::std::auto_ptr< ::xmlns::test::Elements > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:349:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 349 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:410:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 410 | y (::std::auto_ptr< y_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In function 'std::auto_ptr xmlns::test::elements(const std::string&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6055:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6055 | return ::std::auto_ptr< ::xmlns::test::Elements > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6060:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6060 | ::std::auto_ptr< ::xmlns::test::Elements > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In function 'std::auto_ptr xmlns::test::elements(const std::string&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6073:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6073 | return ::std::auto_ptr< ::xmlns::test::Elements > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6078:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6078 | ::std::auto_ptr< ::xmlns::test::Elements > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6091:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6091 | ::std::auto_ptr< ::xmlns::test::Elements > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6105:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6105 | ::std::auto_ptr< ::xmlns::test::Elements > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6115:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6115 | ::std::auto_ptr< ::xmlns::test::Elements > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6129:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6129 | ::std::auto_ptr< ::xmlns::test::Elements > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:532:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 532 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1114 | XSD_AUTO_PTR dom_info_; - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6144:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6144 | ::std::auto_ptr< ::xmlns::test::Elements > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1137 | XSD_AUTO_PTR map_; - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6155:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6155 | ::std::auto_ptr< ::xmlns::test::Elements > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:354:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 354 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In function 'std::auto_ptr xmlns::test::elements(xercesc_3_2::InputSource&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6168:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6168 | return ::std::auto_ptr< ::xmlns::test::Elements > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:537:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 537 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1152 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:360:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 360 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:543:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 543 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:369:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 369 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:552:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 552 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:374:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 374 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:557:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 557 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:380:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 380 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:563:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 563 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:386:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 386 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6173:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6173 | ::std::auto_ptr< ::xmlns::test::Elements > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:569:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 569 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:392:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 392 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:575:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 575 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:399:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 399 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:582:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 582 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:409:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 409 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In function 'std::auto_ptr xmlns::test::elements(xercesc_3_2::InputSource&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6186:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6186 | return ::std::auto_ptr< ::xmlns::test::Elements > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:592:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 592 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:414:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 414 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:597:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 597 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:420:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 420 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:603:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 603 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:429:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 429 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:612:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 612 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:434:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 434 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:617:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 617 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6191:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6191 | ::std::auto_ptr< ::xmlns::test::Elements > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1180 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In function 'std::auto_ptr xmlns::test::elements(xercesc_3_2::InputSource&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6204:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6204 | return ::std::auto_ptr< ::xmlns::test::Elements > ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' - 1203 | mutable XSD_AUTO_PTR content_; - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6209:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6209 | ::std::auto_ptr< ::xmlns::test::Elements > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' - 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In function 'std::auto_ptr xmlns::test::elements(const xercesc_3_2::DOMDocument&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6219:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6219 | return ::std::auto_ptr< ::xmlns::test::Elements > ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:523: -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.ixx:70:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 70 | a (::std::auto_ptr< a_type > x) +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.hxx:624: +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.ixx:123:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 123 | b (::std::auto_ptr< b_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:50, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/containment/driver.cxx:11: +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6231:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6231 | ::std::auto_ptr< ::xmlns::test::Elements > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.ixx:200:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 200 | y (::std::auto_ptr< y_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6244:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6244 | ::std::auto_ptr< ::xmlns::test::Elements > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In function 'std::auto_ptr xmlns::test::elements(xsd::cxx::xml::dom::auto_ptr, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6269:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6269 | ::std::auto_ptr< ::xmlns::test::Elements > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6282:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6282 | ::std::auto_ptr< ::xmlns::test::Attributes > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In function 'std::auto_ptr xmlns::test::attributes(const std::string&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6299:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6299 | return ::std::auto_ptr< ::xmlns::test::Attributes > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6304:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6304 | ::std::auto_ptr< ::xmlns::test::Attributes > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In function 'std::auto_ptr xmlns::test::attributes(const std::string&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6321:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6321 | return ::std::auto_ptr< ::xmlns::test::Attributes > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6326:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6326 | ::std::auto_ptr< ::xmlns::test::Attributes > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In function 'std::auto_ptr xmlns::test::attributes(const std::string&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6339:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6339 | return ::std::auto_ptr< ::xmlns::test::Attributes > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6344:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6344 | ::std::auto_ptr< ::xmlns::test::Attributes > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6357:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6357 | ::std::auto_ptr< ::xmlns::test::Attributes > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6371:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6371 | ::std::auto_ptr< ::xmlns::test::Attributes > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6381:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6381 | ::std::auto_ptr< ::xmlns::test::Attributes > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6395:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6395 | ::std::auto_ptr< ::xmlns::test::Attributes > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6410:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6410 | ::std::auto_ptr< ::xmlns::test::Attributes > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6421:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6421 | ::std::auto_ptr< ::xmlns::test::Attributes > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In function 'std::auto_ptr xmlns::test::attributes(xercesc_3_2::InputSource&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6434:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6434 | return ::std::auto_ptr< ::xmlns::test::Attributes > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6439:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6439 | ::std::auto_ptr< ::xmlns::test::Attributes > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In function 'std::auto_ptr xmlns::test::attributes(xercesc_3_2::InputSource&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6452:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6452 | return ::std::auto_ptr< ::xmlns::test::Attributes > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6457:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6457 | ::std::auto_ptr< ::xmlns::test::Attributes > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In function 'std::auto_ptr xmlns::test::attributes(xercesc_3_2::InputSource&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6470:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6470 | return ::std::auto_ptr< ::xmlns::test::Attributes > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6475:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6475 | ::std::auto_ptr< ::xmlns::test::Attributes > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In function 'std::auto_ptr xmlns::test::attributes(const xercesc_3_2::DOMDocument&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6485:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6485 | return ::std::auto_ptr< ::xmlns::test::Attributes > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6497:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6497 | ::std::auto_ptr< ::xmlns::test::Attributes > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6510:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6510 | ::std::auto_ptr< ::xmlns::test::Attributes > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In function 'std::auto_ptr xmlns::test::attributes(xsd::cxx::xml::dom::auto_ptr, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6535:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6535 | ::std::auto_ptr< ::xmlns::test::Attributes > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6548:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6548 | ::std::auto_ptr< ::xmlns::test::Inherited > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In function 'std::auto_ptr xmlns::test::inherited(const std::string&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6565:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6565 | return ::std::auto_ptr< ::xmlns::test::Inherited > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6570:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6570 | ::std::auto_ptr< ::xmlns::test::Inherited > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In function 'std::auto_ptr xmlns::test::inherited(const std::string&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6587:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6587 | return ::std::auto_ptr< ::xmlns::test::Inherited > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6592:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6592 | ::std::auto_ptr< ::xmlns::test::Inherited > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In function 'std::auto_ptr xmlns::test::inherited(const std::string&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6605:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6605 | return ::std::auto_ptr< ::xmlns::test::Inherited > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6610:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6610 | ::std::auto_ptr< ::xmlns::test::Inherited > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6623:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6623 | ::std::auto_ptr< ::xmlns::test::Inherited > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6637:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6637 | ::std::auto_ptr< ::xmlns::test::Inherited > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6647:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6647 | ::std::auto_ptr< ::xmlns::test::Inherited > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6661:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6661 | ::std::auto_ptr< ::xmlns::test::Inherited > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:50, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/driver.cxx:11: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -24148,7 +21781,14 @@ 894 | virtual XSD_AUTO_PTR | ^~~~~~~~~~~~ In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/containment/driver.cxx:8: + from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:61: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6676:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6676 | ::std::auto_ptr< ::xmlns::test::Inherited > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -24161,6 +21801,12 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6687:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6687 | ::std::auto_ptr< ::xmlns::test::Inherited > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -24185,6 +21831,13 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' 1103 | static XSD_AUTO_PTR | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In function 'std::auto_ptr xmlns::test::inherited(xercesc_3_2::InputSource&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6700:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6700 | return ::std::auto_ptr< ::xmlns::test::Inherited > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -24206,6 +21859,13 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6705:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6705 | ::std::auto_ptr< ::xmlns::test::Inherited > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -24215,6 +21875,13 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In function 'std::auto_ptr xmlns::test::inherited(xercesc_3_2::InputSource&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6718:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6718 | return ::std::auto_ptr< ::xmlns::test::Inherited > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -24233,6 +21900,54 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6723:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6723 | ::std::auto_ptr< ::xmlns::test::Inherited > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In function 'std::auto_ptr xmlns::test::inherited(xercesc_3_2::InputSource&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6736:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6736 | return ::std::auto_ptr< ::xmlns::test::Inherited > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6741:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6741 | ::std::auto_ptr< ::xmlns::test::Inherited > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In function 'std::auto_ptr xmlns::test::inherited(const xercesc_3_2::DOMDocument&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6751:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6751 | return ::std::auto_ptr< ::xmlns::test::Inherited > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6763:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6763 | ::std::auto_ptr< ::xmlns::test::Inherited > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6776:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6776 | ::std::auto_ptr< ::xmlns::test::Inherited > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx: In function 'std::auto_ptr xmlns::test::inherited(xsd::cxx::xml::dom::auto_ptr, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.cxx:6801:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 6801 | ::std::auto_ptr< ::xmlns::test::Inherited > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -24240,6 +21955,11 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor -I/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/containment -I/build/xsd-4.0.0/xsd/tests/cxx/tree/containment -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/containment/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/containment/driver.cxx /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -24250,9 +21970,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -24319,13 +22036,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx: In member function 'void test::type::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:94:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 94 | ::std::auto_ptr< a_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_content_type::clone() const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -24510,61 +22220,40 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:146:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 146 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:163:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 163 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx: In member function 'void test::complex::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:243:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 243 | ::std::auto_ptr< b_type > r ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:168:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 168 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:257:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 257 | ::std::auto_ptr< c_type > r ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:185:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 185 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx: In member function 'void test::type::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:403:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 403 | ::std::auto_ptr< complex_type > r ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:190:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 190 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:460:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 460 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:203:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 203 | return ::std::auto_ptr< ::test::type > ( +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:477:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 477 | return ::std::auto_ptr< ::test::type > ( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:208:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 208 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:221:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 221 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -24575,6 +22264,13 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:482:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 482 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -24593,12 +22289,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:235:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 235 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::one::detach()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -24609,12 +22299,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:245:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 245 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -24625,6 +22309,13 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:499:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 499 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -24653,183 +22344,254 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:259:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 259 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:504:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 504 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:274:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 274 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:517:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 517 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:522:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 522 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:285:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 285 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:535:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 535 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:298:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 298 | return ::std::auto_ptr< ::test::type > ( +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:549:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 549 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:559:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 559 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:573:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 573 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:588:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 588 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:599:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 599 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:612:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 612 | return ::std::auto_ptr< ::test::type > ( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:303:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 303 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:617:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 617 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:316:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 316 | return ::std::auto_ptr< ::test::type > ( +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:630:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 630 | return ::std::auto_ptr< ::test::type > ( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:321:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 321 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:635:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 635 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:334:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 334 | return ::std::auto_ptr< ::test::type > ( +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:648:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 648 | return ::std::auto_ptr< ::test::type > ( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:339:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 339 | ::std::auto_ptr< ::test::type > +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/containment -I/build/xsd-4.0.0/xsd/tests/cxx/tree/containment -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.cxx +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:653:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 653 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx: In function 'std::auto_ptr test::root(const xercesc_3_2::DOMDocument&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:349:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 349 | return ::std::auto_ptr< ::test::type > ( +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx: In function 'std::auto_ptr test::root(const xercesc_3_2::DOMDocument&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:663:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 663 | return ::std::auto_ptr< ::test::type > ( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:361:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 361 | ::std::auto_ptr< ::test::type > r ( +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:675:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 675 | ::std::auto_ptr< ::test::type > r ( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:688:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 688 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx: In function 'std::auto_ptr test::root(xsd::cxx::xml::dom::auto_ptr, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/comparison/test.cxx:713:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 713 | ::std::auto_ptr< ::test::type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:944:22: note: in expansion of macro 'XSD_AUTO_PTR' - 944 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1018 | push_back (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:958:22: note: in expansion of macro 'XSD_AUTO_PTR' - 958 | return XSD_AUTO_PTR (); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1032 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1018 | push_back (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1054 | insert (iterator position, XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:990:22: note: in expansion of macro 'XSD_AUTO_PTR' - 990 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1032 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1042 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' + 45 | one (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:50, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:41: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1054 | insert (iterator position, XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' + 894 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:61: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:374:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 374 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' + 934 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' + 97 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_attribute_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1036:22: note: in expansion of macro 'XSD_AUTO_PTR' - 1036 | return XSD_AUTO_PTR (); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1026 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1047:22: note: in expansion of macro 'XSD_AUTO_PTR' - 1047 | return XSD_AUTO_PTR (); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' + 139 | optional (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx: In function 'std::auto_ptr test::root(xsd::cxx::xml::dom::auto_ptr, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:399:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 399 | ::std::auto_ptr< ::test::type > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1095 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1042 | return XSD_AUTO_PTR (x); +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1103 | static XSD_AUTO_PTR | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; @@ -24837,86 +22599,161 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1074:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1074 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1114 | XSD_AUTO_PTR dom_info_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::type&, bool)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1098:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1098 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' + 200 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::type&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1106:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1106 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1137 | XSD_AUTO_PTR map_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' - 45 | one (XSD_AUTO_PTR x, container* c) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1152 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' - 97 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1180 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_content_type::clone() const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1183:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1183 | return XSD_AUTO_PTR (new dom_content_type (dom)); +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' + 1203 | mutable XSD_AUTO_PTR content_; + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' + 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general -I/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/driver.cxx +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:944:22: note: in expansion of macro 'XSD_AUTO_PTR' + 944 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:958:22: note: in expansion of macro 'XSD_AUTO_PTR' + 958 | return XSD_AUTO_PTR (); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:990:22: note: in expansion of macro 'XSD_AUTO_PTR' + 990 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_attribute_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1036:22: note: in expansion of macro 'XSD_AUTO_PTR' + 1036 | return XSD_AUTO_PTR (); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1047:22: note: in expansion of macro 'XSD_AUTO_PTR' + 1047 | return XSD_AUTO_PTR (); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1074:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1074 | return XSD_AUTO_PTR ( | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::type&, bool)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' - 139 | optional (XSD_AUTO_PTR x, container* c) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1098:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1098 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::type&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1367:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1367 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1106:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1106 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_content_type::clone() const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' - 200 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1183:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1183 | return XSD_AUTO_PTR (new dom_content_type (dom)); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1367:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1367 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -25197,6 +23034,7 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general -I/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -25244,654 +23082,789 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:691:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 691 | foo (::std::auto_ptr< foo_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:298:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 298 | a (::std::auto_ptr< a_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:879:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 879 | bar (::std::auto_ptr< bar_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:349:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 349 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:1190:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1190 | foo (::std::auto_ptr< foo_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:354:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 354 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:1378:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1378 | bar (::std::auto_ptr< bar_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:360:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 360 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:1577:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1577 | a (::std::auto_ptr< a_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:369:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 369 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:1608:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1608 | b_type (::std::auto_ptr< a_type >); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:374:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 374 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:2177:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2177 | foo (::std::auto_ptr< foo_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:380:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 380 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:2366:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2366 | bar (::std::auto_ptr< bar_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:386:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 386 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:2566:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2566 | a (::std::auto_ptr< a_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:392:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 392 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:2597:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2597 | c_type (::std::auto_ptr< a_type >); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:399:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 399 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:2845:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2845 | foo (::std::auto_ptr< foo_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:409:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 409 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:3013:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3013 | bar (::std::auto_ptr< bar_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:414:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 414 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:3189:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3189 | a (::std::auto_ptr< a_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:420:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 420 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:3220:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3220 | d_type (::std::auto_ptr< a_type >); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:429:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 429 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:3478:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3478 | a (::std::auto_ptr< a_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:434:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 434 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:3509:28: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3509 | e_complex_type (::std::auto_ptr< a_type >); +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:523: +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.ixx:70:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 70 | a (::std::auto_ptr< a_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:279:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 279 | a (::std::auto_ptr< a_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:3702:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3702 | simple (::std::auto_ptr< simple_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:296:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 296 | b (::std::auto_ptr< b_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:3760:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3760 | complex (::std::auto_ptr< complex_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:404:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 404 | ::std::auto_ptr< ::test::root_t > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:3795:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3795 | ::std::auto_ptr< complex_type >); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:409:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 409 | ::std::auto_ptr< ::test::root_t > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:3806:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3806 | ::std::auto_ptr< simple_type >, - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:415:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 415 | ::std::auto_ptr< ::test::root_t > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:3807:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3807 | ::std::auto_ptr< complex_type >); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:424:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 424 | ::std::auto_ptr< ::test::root_t > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4002:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 4002 | simple1 (::std::auto_ptr< simple1_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:429:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 429 | ::std::auto_ptr< ::test::root_t > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4060:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 4060 | complex1 (::std::auto_ptr< complex1_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:435:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 435 | ::std::auto_ptr< ::test::root_t > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4097:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 4097 | ::std::auto_ptr< complex1_type >); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:441:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 441 | ::std::auto_ptr< ::test::root_t > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4109:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 4109 | ::std::auto_ptr< simple1_type >, - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:447:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 447 | ::std::auto_ptr< ::test::root_t > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4110:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 4110 | ::std::auto_ptr< complex1_type >); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:454:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 454 | ::std::auto_ptr< ::test::root_t > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4133:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 4133 | ::std::auto_ptr< complex_type >, - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:464:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 464 | ::std::auto_ptr< ::test::root_t > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4136:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 4136 | ::std::auto_ptr< complex1_type >); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:469:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 469 | ::std::auto_ptr< ::test::root_t > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4147:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 4147 | ::std::auto_ptr< simple_type >, - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:475:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 475 | ::std::auto_ptr< ::test::root_t > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4148:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 4148 | ::std::auto_ptr< complex_type >, - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:484:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 484 | ::std::auto_ptr< ::test::root_t > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4150:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 4150 | ::std::auto_ptr< simple1_type >, - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:489:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 489 | ::std::auto_ptr< ::test::root_t > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4151:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 4151 | ::std::auto_ptr< complex1_type >); - | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.hxx:500: +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.ixx:70:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 70 | a (::std::auto_ptr< a_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4411:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 4411 | a (::std::auto_ptr< a_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.ixx:98:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 98 | b (::std::auto_ptr< b_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4442:28: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 4442 | f_complex_type (::std::auto_ptr< a_type >); +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit -I/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/driver.cxx +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx: In member function 'void test::root_t::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:98:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 98 | ::std::auto_ptr< a_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:112:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 112 | ::std::auto_ptr< b_type > r ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4635:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 4635 | simple (::std::auto_ptr< simple_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:271:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 271 | ::std::auto_ptr< ::test::root_t > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4693:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 4693 | complex (::std::auto_ptr< complex_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:288:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 288 | return ::std::auto_ptr< ::test::root_t > ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4727:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 4727 | ::std::auto_ptr< complex_type >); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:293:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 293 | ::std::auto_ptr< ::test::root_t > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4737:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 4737 | ::std::auto_ptr< simple_type >, - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:310:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 310 | return ::std::auto_ptr< ::test::root_t > ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4738:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 4738 | ::std::auto_ptr< complex_type >); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:315:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 315 | ::std::auto_ptr< ::test::root_t > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4760:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 4760 | ::std::auto_ptr< complex_type >); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx: In function 'std::auto_ptr test::root(const std::string&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:328:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 328 | return ::std::auto_ptr< ::test::root_t > ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4772:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 4772 | ::std::auto_ptr< simple_type >, - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:333:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 333 | ::std::auto_ptr< ::test::root_t > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4773:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 4773 | ::std::auto_ptr< complex_type >); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:346:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 346 | ::std::auto_ptr< ::test::root_t > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4874: -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:70:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 70 | foo (::std::auto_ptr< foo_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:360:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 360 | ::std::auto_ptr< ::test::root_t > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:102:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 102 | bar (::std::auto_ptr< bar_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:370:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 370 | ::std::auto_ptr< ::test::root_t > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:138:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 138 | foo (::std::auto_ptr< foo_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:384:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 384 | ::std::auto_ptr< ::test::root_t > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:170:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 170 | bar (::std::auto_ptr< bar_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:399:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 399 | ::std::auto_ptr< ::test::root_t > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:202:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 202 | a (::std::auto_ptr< a_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:410:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 410 | ::std::auto_ptr< ::test::root_t > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:353:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 353 | foo (::std::auto_ptr< foo_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:423:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 423 | return ::std::auto_ptr< ::test::root_t > ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:385:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 385 | bar (::std::auto_ptr< bar_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:428:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 428 | ::std::auto_ptr< ::test::root_t > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:417:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 417 | a (::std::auto_ptr< a_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:441:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 441 | return ::std::auto_ptr< ::test::root_t > ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:453:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 453 | foo (::std::auto_ptr< foo_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:446:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 446 | ::std::auto_ptr< ::test::root_t > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:485:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 485 | bar (::std::auto_ptr< bar_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:459:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 459 | return ::std::auto_ptr< ::test::root_t > ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:517:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 517 | a (::std::auto_ptr< a_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:464:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 464 | ::std::auto_ptr< ::test::root_t > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:553:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 553 | a (::std::auto_ptr< a_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx: In function 'std::auto_ptr test::root(const xercesc_3_2::DOMDocument&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:474:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 474 | return ::std::auto_ptr< ::test::root_t > ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:606:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 606 | simple (::std::auto_ptr< simple_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:486:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 486 | ::std::auto_ptr< ::test::root_t > r ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:634:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 634 | complex (::std::auto_ptr< complex_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:499:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 499 | ::std::auto_ptr< ::test::root_t > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:687:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 687 | simple1 (::std::auto_ptr< simple1_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx: In function 'std::auto_ptr test::root(xsd::cxx::xml::dom::auto_ptr, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/chameleon/includer.cxx:524:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 524 | ::std::auto_ptr< ::test::root_t > r ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:715:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 715 | complex1 (::std::auto_ptr< complex1_type > x) - | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:50, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:41: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' + 894 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:61: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:751:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 751 | a (::std::auto_ptr< a_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' + 934 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:804:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 804 | simple (::std::auto_ptr< simple_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1026 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:832:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 832 | complex (::std::auto_ptr< complex_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1095 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/driver.cxx: In function 'int main()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/driver.cxx:73:5: note: in expansion of macro 'XSD_AUTO_PTR' - 73 | XSD_AUTO_PTR c2 (new e_complex_type ("bar")); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1103 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/driver.cxx:76:5: note: in expansion of macro 'XSD_AUTO_PTR' - 76 | XSD_AUTO_PTR s3 (new e_simple_type ("foo")); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1114 | XSD_AUTO_PTR dom_info_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/driver.cxx:77:5: note: in expansion of macro 'XSD_AUTO_PTR' - 77 | XSD_AUTO_PTR c3 (new e_complex_type ("bar")); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1137 | XSD_AUTO_PTR map_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/driver.cxx:88:5: note: in expansion of macro 'XSD_AUTO_PTR' - 88 | XSD_AUTO_PTR c2a (new e_complex_type ("bar")); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1152 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/driver.cxx:89:5: note: in expansion of macro 'XSD_AUTO_PTR' - 89 | XSD_AUTO_PTR c2b (new e_complex_type ("biz")); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1180 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/driver.cxx:92:5: note: in expansion of macro 'XSD_AUTO_PTR' - 92 | XSD_AUTO_PTR s3a (new e_simple_type ("foo")); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' + 1203 | mutable XSD_AUTO_PTR content_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/driver.cxx:93:5: note: in expansion of macro 'XSD_AUTO_PTR' - 93 | XSD_AUTO_PTR s3b (new xml_schema::string ("baz")); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' + 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/driver.cxx:94:5: note: in expansion of macro 'XSD_AUTO_PTR' - 94 | XSD_AUTO_PTR c3a (new e_complex_type ("bar")); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:944:22: note: in expansion of macro 'XSD_AUTO_PTR' + 944 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/driver.cxx:95:5: note: in expansion of macro 'XSD_AUTO_PTR' - 95 | XSD_AUTO_PTR c3b (new e_complex_type ("biz")); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:958:22: note: in expansion of macro 'XSD_AUTO_PTR' + 958 | return XSD_AUTO_PTR (); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/driver.cxx:113:5: note: in expansion of macro 'XSD_AUTO_PTR' - 113 | XSD_AUTO_PTR c2 (new f_complex_type ("bar")); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:990:22: note: in expansion of macro 'XSD_AUTO_PTR' + 990 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_attribute_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/driver.cxx:116:5: note: in expansion of macro 'XSD_AUTO_PTR' - 116 | XSD_AUTO_PTR s3 (new f_simple_type ("foo")); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1036:22: note: in expansion of macro 'XSD_AUTO_PTR' + 1036 | return XSD_AUTO_PTR (); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/driver.cxx:117:5: note: in expansion of macro 'XSD_AUTO_PTR' - 117 | XSD_AUTO_PTR c3 (new f_complex_type ("bar")); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1047:22: note: in expansion of macro 'XSD_AUTO_PTR' + 1047 | return XSD_AUTO_PTR (); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:284:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 284 | id (::std::auto_ptr< id_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1074:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1074 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:343:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 343 | id (::std::auto_ptr< id_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::type&, bool)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1098:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1098 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:364:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 364 | id_ex (::std::auto_ptr< id_ex_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::type&)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1106:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1106 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:385:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 385 | ref (::std::auto_ptr< ref_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_content_type::clone() const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1183:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1183 | return XSD_AUTO_PTR (new dom_content_type (dom)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:444:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 444 | i (::std::auto_ptr< i_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1367:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1367 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:465:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 465 | ref (::std::auto_ptr< ref_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::simple_type::text_content_type::clone() const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1370:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1370 | return XSD_AUTO_PTR (new text_content_type (text)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:519:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 519 | id1 (::std::auto_ptr< id1_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1491:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1491 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:627:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 627 | idrefs (::std::auto_ptr< idrefs_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1497:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1497 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:55, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:41: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' - 894 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:66: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1503:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1503 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' - 934 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1516:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1516 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1026 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1494:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1494 | return XSD_AUTO_PTR (new T (e, f, c)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1095 | static XSD_AUTO_PTR +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1500:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1500 | return XSD_AUTO_PTR (new T (a, f, c)); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1103 | static XSD_AUTO_PTR +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1509:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1509 | return XSD_AUTO_PTR (new T (s, e, f, c)); | ^~~~~~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:721:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 721 | idrefs (::std::auto_ptr< idrefs_type > p); - | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1519:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1519 | return XSD_AUTO_PTR (new T (s, f, c)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1114 | XSD_AUTO_PTR dom_info_; - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1530:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1530 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1137 | XSD_AUTO_PTR map_; - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1537:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1537 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:776:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 776 | ids (::std::auto_ptr< ids_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1544:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1544 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:793:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 793 | idrefs1 (::std::auto_ptr< idrefs1_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1555:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1555 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:810:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 810 | idrefs2 (::std::auto_ptr< idrefs2_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1533:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1533 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:820:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 820 | model (::std::auto_ptr< ids_type >, - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1540:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1540 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:821:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 821 | ::std::auto_ptr< idrefs1_type >, - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1550:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1550 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:822:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 822 | ::std::auto_ptr< idrefs2_type >); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1558:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1558 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1152 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:138:14: note: in expansion of macro 'XSD_AUTO_PTR' + 138 | one (XSD_AUTO_PTR, container*); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1180 | virtual XSD_AUTO_PTR +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:165:14: note: in expansion of macro 'XSD_AUTO_PTR' + 165 | set (XSD_AUTO_PTR); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:173:9: note: in expansion of macro 'XSD_AUTO_PTR' + 173 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::one::detach()': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:179:18: note: in expansion of macro 'XSD_AUTO_PTR' + 179 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:270:19: note: in expansion of macro 'XSD_AUTO_PTR' + 270 | optional (XSD_AUTO_PTR, container* = 0); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; @@ -25899,174 +23872,217 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' - 1203 | mutable XSD_AUTO_PTR content_; - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:343:14: note: in expansion of macro 'XSD_AUTO_PTR' + 343 | set (XSD_AUTO_PTR); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:871: -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx:77:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 77 | id (::std::auto_ptr< id_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:348:9: note: in expansion of macro 'XSD_AUTO_PTR' + 348 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx:116:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 116 | id (::std::auto_ptr< id_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::optional::detach()': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:354:18: note: in expansion of macro 'XSD_AUTO_PTR' + 354 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx:151:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 151 | id_ex (::std::auto_ptr< id_ex_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1018 | push_back (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx:186:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 186 | ref (::std::auto_ptr< ref_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1032 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx:225:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 225 | i (::std::auto_ptr< i_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1054 | insert (iterator position, XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx:260:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 260 | ref (::std::auto_ptr< ref_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx:292:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 292 | id1 (::std::auto_ptr< id1_type > x) - | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit -I/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.cxx +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1042 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx:349:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 349 | idrefs (::std::auto_ptr< idrefs_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' + 45 | one (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx:408:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 408 | idrefs (::std::auto_ptr< idrefs_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' + 97 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' - 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' + 139 | optional (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx:440:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 440 | ids (::std::auto_ptr< ids_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' + 200 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx:468:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 468 | idrefs1 (::std::auto_ptr< idrefs1_type > x) - | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:55, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/driver.cxx:11: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' + 894 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/driver.cxx:9: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx:496:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 496 | idrefs2 (::std::auto_ptr< idrefs2_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' + 934 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/driver.cxx: In function 'int main()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/driver.cxx:29:5: note: in expansion of macro 'XSD_AUTO_PTR' - 29 | XSD_AUTO_PTR i (new inner ()); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1026 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/driver.cxx:43:5: note: in expansion of macro 'XSD_AUTO_PTR' - 43 | XSD_AUTO_PTR i (new inner ()); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1095 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/driver.cxx:60:5: note: in expansion of macro 'XSD_AUTO_PTR' - 60 | XSD_AUTO_PTR id (new xml_schema::id ("foo")); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1103 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/driver.cxx:71:5: note: in expansion of macro 'XSD_AUTO_PTR' - 71 | XSD_AUTO_PTR id (new id_ex ("foo")); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1114 | XSD_AUTO_PTR dom_info_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/driver.cxx:90:5: note: in expansion of macro 'XSD_AUTO_PTR' - 90 | XSD_AUTO_PTR ic (new ids); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1137 | XSD_AUTO_PTR map_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/driver.cxx:94:5: note: in expansion of macro 'XSD_AUTO_PTR' - 94 | XSD_AUTO_PTR r1 (new xml_schema::idrefs); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1152 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/driver.cxx:98:5: note: in expansion of macro 'XSD_AUTO_PTR' - 98 | XSD_AUTO_PTR r2 (new idref_list); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1180 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/driver.cxx:102:5: note: in expansion of macro 'XSD_AUTO_PTR' - 102 | XSD_AUTO_PTR rc1 (new idrefs1); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' + 1203 | mutable XSD_AUTO_PTR content_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/driver.cxx:103:5: note: in expansion of macro 'XSD_AUTO_PTR' - 103 | XSD_AUTO_PTR rc2 (new idrefs2); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' + 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -26330,8 +24346,98 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:50, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.cxx:41: +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:298:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 298 | a (::std::auto_ptr< a_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:349:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 349 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:354:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 354 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:360:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 360 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:369:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 369 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:374:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 374 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:380:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 380 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:386:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 386 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:392:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 392 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:399:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 399 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:409:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 409 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:414:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 414 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:420:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 420 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:429:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 429 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:434:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 434 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:50, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/driver.cxx:11: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -26339,8 +24445,7 @@ 894 | virtual XSD_AUTO_PTR | ^~~~~~~~~~~~ In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:61: + from /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/driver.cxx:8: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -26511,6 +24616,13 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.hxx:523: +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.ixx:70:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 70 | a (::std::auto_ptr< a_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -26855,6 +24967,111 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:50, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:41: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' + 894 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:61: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' + 934 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1026 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1095 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1103 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1114 | XSD_AUTO_PTR dom_info_; + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1137 | XSD_AUTO_PTR map_; + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1152 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1180 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' + 1203 | mutable XSD_AUTO_PTR content_; + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' + 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -26893,6 +25110,14 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:50, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/containment/driver.cxx:11: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' + 894 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -26900,6 +25125,20 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:270:19: note: in expansion of macro 'XSD_AUTO_PTR' 270 | optional (XSD_AUTO_PTR, container* = 0); | ^~~~~~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/containment/driver.cxx:8: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' + 934 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -26921,6 +25160,15 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1026 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::optional::detach()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -26931,6 +25179,79 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1095 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1103 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1114 | XSD_AUTO_PTR dom_info_; + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1137 | XSD_AUTO_PTR map_; + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1152 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1180 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' + 1203 | mutable XSD_AUTO_PTR content_; + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' + 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -26968,7 +25289,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit -I/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.cxx /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -27016,107 +25336,263 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:50, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/driver.cxx:11: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' - 894 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/driver.cxx:8: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:944:22: note: in expansion of macro 'XSD_AUTO_PTR' + 944 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' - 934 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:958:22: note: in expansion of macro 'XSD_AUTO_PTR' + 958 | return XSD_AUTO_PTR (); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1026 | virtual XSD_AUTO_PTR +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:990:22: note: in expansion of macro 'XSD_AUTO_PTR' + 990 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_attribute_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1036:22: note: in expansion of macro 'XSD_AUTO_PTR' + 1036 | return XSD_AUTO_PTR (); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1047:22: note: in expansion of macro 'XSD_AUTO_PTR' + 1047 | return XSD_AUTO_PTR (); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1074:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1074 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::type&, bool)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1098:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1098 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::type&)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1106:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1106 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_content_type::clone() const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1183:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1183 | return XSD_AUTO_PTR (new dom_content_type (dom)); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1367:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1367 | virtual XSD_AUTO_PTR | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::simple_type::text_content_type::clone() const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1095 | static XSD_AUTO_PTR +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1370:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1370 | return XSD_AUTO_PTR (new text_content_type (text)); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1491:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1491 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1497:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1497 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1503:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1503 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1516:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1516 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1494:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1494 | return XSD_AUTO_PTR (new T (e, f, c)); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1103 | static XSD_AUTO_PTR +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1500:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1500 | return XSD_AUTO_PTR (new T (a, f, c)); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1114 | XSD_AUTO_PTR dom_info_; - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1509:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1509 | return XSD_AUTO_PTR (new T (s, e, f, c)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1137 | XSD_AUTO_PTR map_; - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1519:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1519 | return XSD_AUTO_PTR (new T (s, f, c)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1152 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1530:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1530 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1180 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1537:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1537 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' - 1203 | mutable XSD_AUTO_PTR content_; - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1544:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1544 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' - 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1555:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1555 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1533:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1533 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1540:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1540 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1550:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1550 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1558:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1558 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -27540,50 +26016,8 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:691:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 691 | foo (::std::auto_ptr< foo_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:879:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 879 | bar (::std::auto_ptr< bar_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:1190:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1190 | foo (::std::auto_ptr< foo_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:1378:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1378 | bar (::std::auto_ptr< bar_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:1577:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1577 | a (::std::auto_ptr< a_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:1608:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1608 | b_type (::std::auto_ptr< a_type >); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:2177:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2177 | foo (::std::auto_ptr< foo_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.hxx:50, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/driver.cxx:11: +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:50, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.cxx:41: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -27591,7 +26025,8 @@ 894 | virtual XSD_AUTO_PTR | ^~~~~~~~~~~~ In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/driver.cxx:8: + from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:61: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -27628,6 +26063,16 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' 1103 | static XSD_AUTO_PTR | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:138:14: note: in expansion of macro 'XSD_AUTO_PTR' + 138 | one (XSD_AUTO_PTR, container*); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -27643,6 +26088,34 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:165:14: note: in expansion of macro 'XSD_AUTO_PTR' + 165 | set (XSD_AUTO_PTR); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:173:9: note: in expansion of macro 'XSD_AUTO_PTR' + 173 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::one::detach()': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:179:18: note: in expansion of macro 'XSD_AUTO_PTR' + 179 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' 1137 | XSD_AUTO_PTR map_; | ^~~~~~~~~~~~ @@ -27658,6 +26131,22 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:270:19: note: in expansion of macro 'XSD_AUTO_PTR' + 270 | optional (XSD_AUTO_PTR, container* = 0); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:691:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 691 | foo (::std::auto_ptr< foo_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -27670,9 +26159,80 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:343:14: note: in expansion of macro 'XSD_AUTO_PTR' + 343 | set (XSD_AUTO_PTR); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' 1203 | mutable XSD_AUTO_PTR content_; | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:348:9: note: in expansion of macro 'XSD_AUTO_PTR' + 348 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::optional::detach()': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:354:18: note: in expansion of macro 'XSD_AUTO_PTR' + 354 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:879:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 879 | bar (::std::auto_ptr< bar_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:1190:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1190 | foo (::std::auto_ptr< foo_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:1378:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1378 | bar (::std::auto_ptr< bar_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:1577:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1577 | a (::std::auto_ptr< a_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:1608:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1608 | b_type (::std::auto_ptr< a_type >); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx: In member function 'void test::type::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:94:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 94 | ::std::auto_ptr< a_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:2177:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2177 | foo (::std::auto_ptr< foo_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -27694,6 +26254,16 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' + 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:2845:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2845 | foo (::std::auto_ptr< foo_type > p); | ^~~~~~~~ @@ -27730,16 +26300,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' - 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:3702:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 3702 | simple (::std::auto_ptr< simple_type > p); | ^~~~~~~~ @@ -27836,6 +26396,43 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1018 | push_back (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1032 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1054 | insert (iterator position, XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4411:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 4411 | a (::std::auto_ptr< a_type > p); | ^~~~~~~~ @@ -27848,18 +26445,35 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1042 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4635:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 4635 | simple (::std::auto_ptr< simple_type > p); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:146:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 146 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4693:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 4693 | complex (::std::auto_ptr< complex_type > p); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4727:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 4727 | ::std::auto_ptr< complex_type >); | ^~~~~~~~ @@ -27896,120 +26510,505 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4874: -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:70:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 70 | foo (::std::auto_ptr< foo_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' + 45 | one (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:102:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 102 | bar (::std::auto_ptr< bar_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' + 97 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:138:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 138 | foo (::std::auto_ptr< foo_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' + 139 | optional (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:170:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 170 | bar (::std::auto_ptr< bar_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' + 200 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:202:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 202 | a (::std::auto_ptr< a_type > x) - | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4874: +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:70:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 70 | foo (::std::auto_ptr< foo_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:353:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 353 | foo (::std::auto_ptr< foo_type > x) +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:102:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 102 | bar (::std::auto_ptr< bar_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:385:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 385 | bar (::std::auto_ptr< bar_type > x) +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:138:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 138 | foo (::std::auto_ptr< foo_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:417:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 417 | a (::std::auto_ptr< a_type > x) - | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.hxx:50, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/driver.cxx:11: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' + 894 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/driver.cxx:8: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:453:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 453 | foo (::std::auto_ptr< foo_type > x) +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:170:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 170 | bar (::std::auto_ptr< bar_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:485:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 485 | bar (::std::auto_ptr< bar_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' + 934 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:517:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 517 | a (::std::auto_ptr< a_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1026 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:553:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 553 | a (::std::auto_ptr< a_type > x) +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:202:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 202 | a (::std::auto_ptr< a_type > x) | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:944:22: note: in expansion of macro 'XSD_AUTO_PTR' - 944 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1095 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:958:22: note: in expansion of macro 'XSD_AUTO_PTR' - 958 | return XSD_AUTO_PTR (); - | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:990:22: note: in expansion of macro 'XSD_AUTO_PTR' - 990 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1103 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:606:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 606 | simple (::std::auto_ptr< simple_type > x) - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_attribute_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1036:22: note: in expansion of macro 'XSD_AUTO_PTR' - 1036 | return XSD_AUTO_PTR (); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1114 | XSD_AUTO_PTR dom_info_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1137 | XSD_AUTO_PTR map_; + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1152 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1180 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' + 1203 | mutable XSD_AUTO_PTR content_; + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:353:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 353 | foo (::std::auto_ptr< foo_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:385:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 385 | bar (::std::auto_ptr< bar_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:417:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 417 | a (::std::auto_ptr< a_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:453:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 453 | foo (::std::auto_ptr< foo_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:485:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 485 | bar (::std::auto_ptr< bar_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:517:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 517 | a (::std::auto_ptr< a_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:553:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 553 | a (::std::auto_ptr< a_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:606:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 606 | simple (::std::auto_ptr< simple_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:634:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 634 | complex (::std::auto_ptr< complex_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:163:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 163 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:687:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 687 | simple1 (::std::auto_ptr< simple1_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:168:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 168 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:715:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 715 | complex1 (::std::auto_ptr< complex1_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:751:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 751 | a (::std::auto_ptr< a_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' + 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:804:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 804 | simple (::std::auto_ptr< simple_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:185:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 185 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:832:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 832 | complex (::std::auto_ptr< complex_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/driver.cxx: In function 'int main()': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/driver.cxx:73:5: note: in expansion of macro 'XSD_AUTO_PTR' + 73 | XSD_AUTO_PTR c2 (new e_complex_type ("bar")); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/driver.cxx:76:5: note: in expansion of macro 'XSD_AUTO_PTR' + 76 | XSD_AUTO_PTR s3 (new e_simple_type ("foo")); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:190:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 190 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/driver.cxx:77:5: note: in expansion of macro 'XSD_AUTO_PTR' + 77 | XSD_AUTO_PTR c3 (new e_complex_type ("bar")); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:203:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 203 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:208:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 208 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/driver.cxx:88:5: note: in expansion of macro 'XSD_AUTO_PTR' + 88 | XSD_AUTO_PTR c2a (new e_complex_type ("bar")); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:221:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 221 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/driver.cxx:89:5: note: in expansion of macro 'XSD_AUTO_PTR' + 89 | XSD_AUTO_PTR c2b (new e_complex_type ("biz")); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/driver.cxx:92:5: note: in expansion of macro 'XSD_AUTO_PTR' + 92 | XSD_AUTO_PTR s3a (new e_simple_type ("foo")); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/driver.cxx:93:5: note: in expansion of macro 'XSD_AUTO_PTR' + 93 | XSD_AUTO_PTR s3b (new xml_schema::string ("baz")); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/driver.cxx:94:5: note: in expansion of macro 'XSD_AUTO_PTR' + 94 | XSD_AUTO_PTR c3a (new e_complex_type ("bar")); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/driver.cxx:95:5: note: in expansion of macro 'XSD_AUTO_PTR' + 95 | XSD_AUTO_PTR c3b (new e_complex_type ("biz")); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/driver.cxx:113:5: note: in expansion of macro 'XSD_AUTO_PTR' + 113 | XSD_AUTO_PTR c2 (new f_complex_type ("bar")); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/driver.cxx:116:5: note: in expansion of macro 'XSD_AUTO_PTR' + 116 | XSD_AUTO_PTR s3 (new f_simple_type ("foo")); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/driver.cxx:117:5: note: in expansion of macro 'XSD_AUTO_PTR' + 117 | XSD_AUTO_PTR c3 (new f_complex_type ("bar")); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:235:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 235 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:245:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 245 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:259:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 259 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:274:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 274 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:285:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 285 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:298:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 298 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:944:22: note: in expansion of macro 'XSD_AUTO_PTR' + 944 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:958:22: note: in expansion of macro 'XSD_AUTO_PTR' + 958 | return XSD_AUTO_PTR (); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:990:22: note: in expansion of macro 'XSD_AUTO_PTR' + 990 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:303:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 303 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:316:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 316 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_attribute_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1036:22: note: in expansion of macro 'XSD_AUTO_PTR' + 1036 | return XSD_AUTO_PTR (); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -28022,8 +27021,16 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:634:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 634 | complex (::std::auto_ptr< complex_type > x) +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:321:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 321 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:334:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 334 | return ::std::auto_ptr< ::test::type > ( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; @@ -28047,12 +27054,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:687:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 687 | simple1 (::std::auto_ptr< simple1_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::type&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -28063,21 +27064,297 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:715:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 715 | complex1 (::std::auto_ptr< complex1_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_content_type::clone() const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1183:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1183 | return XSD_AUTO_PTR (new dom_content_type (dom)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:751:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 751 | a (::std::auto_ptr< a_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:339:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 339 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:804:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 804 | simple (::std::auto_ptr< simple_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx: In function 'std::auto_ptr test::root(const xercesc_3_2::DOMDocument&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:349:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 349 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1367:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1367 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::simple_type::text_content_type::clone() const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1370:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1370 | return XSD_AUTO_PTR (new text_content_type (text)); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:361:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 361 | ::std::auto_ptr< ::test::type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1491:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1491 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1497:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1497 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1503:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1503 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1516:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1516 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1494:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1494 | return XSD_AUTO_PTR (new T (e, f, c)); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1500:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1500 | return XSD_AUTO_PTR (new T (a, f, c)); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1509:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1509 | return XSD_AUTO_PTR (new T (s, e, f, c)); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1519:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1519 | return XSD_AUTO_PTR (new T (s, f, c)); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1530:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1530 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1537:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1537 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1544:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1544 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1555:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1555 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1533:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1533 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1540:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1540 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1550:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1550 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1558:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1558 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:374:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 374 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx: In function 'std::auto_ptr test::root(xsd::cxx::xml::dom::auto_ptr, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/compilation/test.cxx:399:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 399 | ::std::auto_ptr< ::test::type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:944:22: note: in expansion of macro 'XSD_AUTO_PTR' + 944 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:958:22: note: in expansion of macro 'XSD_AUTO_PTR' + 958 | return XSD_AUTO_PTR (); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:990:22: note: in expansion of macro 'XSD_AUTO_PTR' + 990 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_attribute_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1036:22: note: in expansion of macro 'XSD_AUTO_PTR' + 1036 | return XSD_AUTO_PTR (); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1047:22: note: in expansion of macro 'XSD_AUTO_PTR' + 1047 | return XSD_AUTO_PTR (); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1074:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1074 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::type&, bool)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1098:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1098 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::type&)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1106:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1106 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -28213,12 +27490,6 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1544:16: note: in expansion of macro 'XSD_AUTO_PTR' 1544 | static XSD_AUTO_PTR | ^~~~~~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:832:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 832 | complex (::std::auto_ptr< complex_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -28351,6 +27622,82 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:138:14: note: in expansion of macro 'XSD_AUTO_PTR' + 138 | one (XSD_AUTO_PTR, container*); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:165:14: note: in expansion of macro 'XSD_AUTO_PTR' + 165 | set (XSD_AUTO_PTR); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:173:9: note: in expansion of macro 'XSD_AUTO_PTR' + 173 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::one::detach()': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:179:18: note: in expansion of macro 'XSD_AUTO_PTR' + 179 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:270:19: note: in expansion of macro 'XSD_AUTO_PTR' + 270 | optional (XSD_AUTO_PTR, container* = 0); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:343:14: note: in expansion of macro 'XSD_AUTO_PTR' + 343 | set (XSD_AUTO_PTR); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:348:9: note: in expansion of macro 'XSD_AUTO_PTR' + 348 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::optional::detach()': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:354:18: note: in expansion of macro 'XSD_AUTO_PTR' + 354 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' 1018 | push_back (XSD_AUTO_PTR x) | ^~~~~~~~~~~~ @@ -28431,9 +27778,87 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:357:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 357 | a (::std::auto_ptr< a_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1018 | push_back (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1032 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1054 | insert (iterator position, XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1042 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' + 45 | one (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' + 97 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' + 139 | optional (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' + 200 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -28473,6 +27898,158 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:519:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 519 | id1 (::std::auto_ptr< id1_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:627:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 627 | idrefs (::std::auto_ptr< idrefs_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:721:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 721 | idrefs (::std::auto_ptr< idrefs_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:776:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 776 | ids (::std::auto_ptr< ids_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:793:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 793 | idrefs1 (::std::auto_ptr< idrefs1_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:810:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 810 | idrefs2 (::std::auto_ptr< idrefs2_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:820:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 820 | model (::std::auto_ptr< ids_type >, + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:821:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 821 | ::std::auto_ptr< idrefs1_type >, + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:822:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 822 | ::std::auto_ptr< idrefs2_type >); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:357:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 357 | a (::std::auto_ptr< a_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:871: +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx:77:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 77 | id (::std::auto_ptr< id_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx:116:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 116 | id (::std::auto_ptr< id_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx:151:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 151 | id_ex (::std::auto_ptr< id_ex_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx:186:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 186 | ref (::std::auto_ptr< ref_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx:225:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 225 | i (::std::auto_ptr< i_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx:260:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 260 | ref (::std::auto_ptr< ref_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx:292:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 292 | id1 (::std::auto_ptr< id1_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx:349:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 349 | idrefs (::std::auto_ptr< idrefs_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx:408:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 408 | idrefs (::std::auto_ptr< idrefs_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx:440:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 440 | ids (::std::auto_ptr< ids_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx:468:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 468 | idrefs1 (::std::auto_ptr< idrefs1_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx:496:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 496 | idrefs2 (::std::auto_ptr< idrefs2_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/driver.cxx: In function 'int main()': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/driver.cxx:29:5: note: in expansion of macro 'XSD_AUTO_PTR' + 29 | XSD_AUTO_PTR i (new inner ()); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/driver.cxx:43:5: note: in expansion of macro 'XSD_AUTO_PTR' + 43 | XSD_AUTO_PTR i (new inner ()); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:608:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 608 | a (::std::auto_ptr< a_type > p); | ^~~~~~~~ @@ -28497,6 +28074,69 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/driver.cxx:60:5: note: in expansion of macro 'XSD_AUTO_PTR' + 60 | XSD_AUTO_PTR id (new xml_schema::id ("foo")); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/driver.cxx:71:5: note: in expansion of macro 'XSD_AUTO_PTR' + 71 | XSD_AUTO_PTR id (new id_ex ("foo")); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/driver.cxx:90:5: note: in expansion of macro 'XSD_AUTO_PTR' + 90 | XSD_AUTO_PTR ic (new ids); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/driver.cxx:94:5: note: in expansion of macro 'XSD_AUTO_PTR' + 94 | XSD_AUTO_PTR r1 (new xml_schema::idrefs); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/driver.cxx:98:5: note: in expansion of macro 'XSD_AUTO_PTR' + 98 | XSD_AUTO_PTR r2 (new idref_list); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/driver.cxx:102:5: note: in expansion of macro 'XSD_AUTO_PTR' + 102 | XSD_AUTO_PTR rc1 (new idrefs1); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/driver.cxx:103:5: note: in expansion of macro 'XSD_AUTO_PTR' + 103 | XSD_AUTO_PTR rc2 (new idrefs2); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:947:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 947 | a (::std::auto_ptr< a_type > p); | ^~~~~~~~ @@ -28518,12 +28158,6 @@ /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1007:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1007 | d (::std::auto_ptr< d_type > p); | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:519:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 519 | id1 (::std::auto_ptr< id1_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -28539,12 +28173,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:627:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 627 | idrefs (::std::auto_ptr< idrefs_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1146:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1146 | a (::std::auto_ptr< a_type > p); | ^~~~~~~~ @@ -28689,29 +28317,9 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:721:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 721 | idrefs (::std::auto_ptr< idrefs_type > p); - | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:50, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:41: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' - 894 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1812:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1812 | b (::std::auto_ptr< b_type > p); | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:61: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -28721,72 +28329,15 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' - 934 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1026 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1095 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:776:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 776 | ids (::std::auto_ptr< ids_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1893:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1893 | a (::std::auto_ptr< a_type > p); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1103 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1913:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1913 | b (::std::auto_ptr< b_type > p); | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:793:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 793 | idrefs1 (::std::auto_ptr< idrefs1_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1114 | XSD_AUTO_PTR dom_info_; - | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -28796,51 +28347,9 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:810:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 810 | idrefs2 (::std::auto_ptr< idrefs2_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:820:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 820 | model (::std::auto_ptr< ids_type >, - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:821:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 821 | ::std::auto_ptr< idrefs1_type >, - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:822:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 822 | ::std::auto_ptr< idrefs2_type >); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1137 | XSD_AUTO_PTR map_; - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1994:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1994 | a (::std::auto_ptr< a_type > p); | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1152 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -28856,24 +28365,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1180 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' - 1203 | mutable XSD_AUTO_PTR content_; - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:2095:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2095 | a (::std::auto_ptr< a_type > p); | ^~~~~~~~ @@ -28991,13 +28482,6 @@ /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3014:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 3014 | string2 (::std::auto_ptr< string2_type > p); | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:871: -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx:77:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 77 | id (::std::auto_ptr< id_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -29019,12 +28503,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx:116:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 116 | id (::std::auto_ptr< id_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3094:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 3094 | nmtokens1 (::std::auto_ptr< nmtokens1_type > p); | ^~~~~~~~ @@ -29049,12 +28527,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx:151:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 151 | id_ex (::std::auto_ptr< id_ex_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3178:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 3178 | id (::std::auto_ptr< id_type > p); | ^~~~~~~~ @@ -29094,22 +28566,6 @@ /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3295:25: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 3295 | base64_bin1 (::std::auto_ptr< base64_bin1_type > p); | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx:186:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 186 | ref (::std::auto_ptr< ref_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' - 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); - | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -29131,30 +28587,18 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx:225:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 225 | i (::std::auto_ptr< i_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3443:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 3443 | type (::std::auto_ptr< union_type >, | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx:260:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 260 | ref (::std::auto_ptr< ref_type > x) - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3444:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 3444 | ::std::auto_ptr< list_type >, | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3445:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 3445 | ::std::auto_ptr< simple_type >, | ^~~~~~~~ @@ -29200,12 +28644,6 @@ /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3452:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 3452 | ::std::auto_ptr< year_type >, | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx:292:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 292 | id1 (::std::auto_ptr< id1_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -29221,36 +28659,12 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx:349:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 349 | idrefs (::std::auto_ptr< idrefs_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx:408:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 408 | idrefs (::std::auto_ptr< idrefs_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx:440:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 440 | ids (::std::auto_ptr< ids_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3671:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 3671 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx:468:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 468 | idrefs1 (::std::auto_ptr< idrefs1_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3676:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 3676 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ @@ -29299,12 +28713,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx:496:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 496 | idrefs2 (::std::auto_ptr< idrefs2_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3731:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 3731 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ @@ -29335,50 +28743,34 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:944:22: note: in expansion of macro 'XSD_AUTO_PTR' - 944 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:357:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 357 | a (::std::auto_ptr< a_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:958:22: note: in expansion of macro 'XSD_AUTO_PTR' - 958 | return XSD_AUTO_PTR (); - | ^~~~~~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/detach -I/build/xsd-4.0.0/xsd/tests/cxx/tree/detach -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/detach/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/detach/driver.cxx +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:608:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 608 | a (::std::auto_ptr< a_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:990:22: note: in expansion of macro 'XSD_AUTO_PTR' - 990 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:628:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 628 | b (::std::auto_ptr< b_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_attribute_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1036:22: note: in expansion of macro 'XSD_AUTO_PTR' - 1036 | return XSD_AUTO_PTR (); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:648:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 648 | c (::std::auto_ptr< c_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1047:22: note: in expansion of macro 'XSD_AUTO_PTR' - 1047 | return XSD_AUTO_PTR (); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:668:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 668 | d (::std::auto_ptr< d_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -29389,300 +28781,206 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1074:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1074 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:254:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 254 | a (::std::auto_ptr< a_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::type&, bool)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1098:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1098 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:947:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 947 | a (::std::auto_ptr< a_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::type&)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1106:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1106 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:967:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 967 | b (::std::auto_ptr< b_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_content_type::clone() const': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1183:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1183 | return XSD_AUTO_PTR (new dom_content_type (dom)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:987:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 987 | c (::std::auto_ptr< c_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1367:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1367 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1007:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1007 | d (::std::auto_ptr< d_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::simple_type::text_content_type::clone() const': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1370:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1370 | return XSD_AUTO_PTR (new text_content_type (text)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:289:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 289 | b (::std::auto_ptr< b_type > x) + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1027:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1027 | e (::std::auto_ptr< e_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1491:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1491 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1497:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1497 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1047:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1047 | f (::std::auto_ptr< f_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1503:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1503 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:324:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 324 | c (::std::auto_ptr< c_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1516:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1516 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:359:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 359 | d (::std::auto_ptr< d_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1494:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1494 | return XSD_AUTO_PTR (new T (e, f, c)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:422:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 422 | a (::std::auto_ptr< a_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:55, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:41: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1500:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1500 | return XSD_AUTO_PTR (new T (a, f, c)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' + 894 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:66: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1509:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1509 | return XSD_AUTO_PTR (new T (s, e, f, c)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' + 934 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1519:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1519 | return XSD_AUTO_PTR (new T (s, f, c)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1026 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1530:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1530 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:457:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 457 | b (::std::auto_ptr< b_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1537:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1537 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1095 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1544:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1544 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1103 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1555:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1555 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:284:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 284 | id (::std::auto_ptr< id_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1533:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1533 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1114 | XSD_AUTO_PTR dom_info_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1540:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1540 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1137 | XSD_AUTO_PTR map_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1550:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1550 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:492:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 492 | c (::std::auto_ptr< c_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1558:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1558 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:254:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 254 | a (::std::auto_ptr< a_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:289:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 289 | b (::std::auto_ptr< b_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:324:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 324 | c (::std::auto_ptr< c_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:359:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 359 | d (::std::auto_ptr< d_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:422:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 422 | a (::std::auto_ptr< a_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:457:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 457 | b (::std::auto_ptr< b_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1152 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:492:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 492 | c (::std::auto_ptr< c_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1180 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:343:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 343 | id (::std::auto_ptr< id_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:527:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 527 | d (::std::auto_ptr< d_type > x) - | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.hxx:30:17: note: in expansion of macro 'XSD_AUTO_PTR' - 30 | typedef XSD_AUTO_PTR (*factory) (const xercesc::DOMElement&, +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' + 1203 | mutable XSD_AUTO_PTR content_; | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.hxx:53:9: note: in expansion of macro 'XSD_AUTO_PTR' - 53 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:364:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 364 | id_ex (::std::auto_ptr< id_ex_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.hxx:70:16: note: in expansion of macro 'XSD_AUTO_PTR' - 70 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:527:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 527 | d (::std::auto_ptr< d_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.hxx:136:7: note: in expansion of macro 'XSD_AUTO_PTR' - 136 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:385:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 385 | ref (::std::auto_ptr< ref_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -29692,12 +28990,15 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:275:7: note: in expansion of macro 'XSD_AUTO_PTR' - 275 | XSD_AUTO_PTR type_factory_map:: - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:444:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 444 | i (::std::auto_ptr< i_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:465:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 465 | ref (::std::auto_ptr< ref_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -29707,13 +29008,9 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: In member function 'std::auto_ptr xsd::cxx::tree::type_factory_map::create(const C*, const C*, factory, bool, bool, const xercesc_3_2::DOMElement&, const qualified_name&, xsd::cxx::tree::flags, xsd::cxx::tree::container*) const': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:309:18: note: in expansion of macro 'XSD_AUTO_PTR' - 309 | return XSD_AUTO_PTR (); // No match. - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:519:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 519 | id1 (::std::auto_ptr< id1_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -29723,26 +29020,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:328:7: note: in expansion of macro 'XSD_AUTO_PTR' - 328 | XSD_AUTO_PTR type_factory_map:: - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: In static member function 'static std::auto_ptr xsd::cxx::tree::type_factory_map::traits_adapter(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:331:16: note: in expansion of macro 'XSD_AUTO_PTR' - 331 | return XSD_AUTO_PTR (traits::create (e, f, c)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:675:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 675 | b (::std::auto_ptr< b_type > x) | ^~~~~~~~ @@ -29755,1733 +29032,1808 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:429:7: note: in expansion of macro 'XSD_AUTO_PTR' - 429 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1146:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1146 | a (::std::auto_ptr< a_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:745:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 745 | d (::std::auto_ptr< d_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1166:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1166 | b (::std::auto_ptr< b_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: In function 'std::auto_ptr xsd::cxx::tree::factory_impl(const xercesc_3_2::DOMElement&, flags, container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:432:16: note: in expansion of macro 'XSD_AUTO_PTR' - 432 | return XSD_AUTO_PTR (new T (e, f, c)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:745:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 745 | d (::std::auto_ptr< d_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:780:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 780 | e (::std::auto_ptr< e_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1186:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1186 | c (::std::auto_ptr< c_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:815:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 815 | f (::std::auto_ptr< f_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1206:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1206 | d (::std::auto_ptr< d_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:850:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 850 | g (::std::auto_ptr< g_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1226:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1226 | e (::std::auto_ptr< e_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:889:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 889 | a (::std::auto_ptr< a_type > x) +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:780:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 780 | e (::std::auto_ptr< e_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:924:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 924 | b (::std::auto_ptr< b_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1246:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1246 | f (::std::auto_ptr< f_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:959:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 959 | c (::std::auto_ptr< c_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:627:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 627 | idrefs (::std::auto_ptr< idrefs_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:994:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 994 | d (::std::auto_ptr< d_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1266:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1266 | g (::std::auto_ptr< g_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1029:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1029 | e (::std::auto_ptr< e_type > x) +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:815:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 815 | f (::std::auto_ptr< f_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1064:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1064 | f (::std::auto_ptr< f_type > x) +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:850:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 850 | g (::std::auto_ptr< g_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1103:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1103 | a (::std::auto_ptr< a_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1335:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1335 | a (::std::auto_ptr< a_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:138:14: note: in expansion of macro 'XSD_AUTO_PTR' - 138 | one (XSD_AUTO_PTR, container*); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1355:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1355 | b (::std::auto_ptr< b_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:165:14: note: in expansion of macro 'XSD_AUTO_PTR' - 165 | set (XSD_AUTO_PTR); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1375:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1375 | c (::std::auto_ptr< c_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:173:9: note: in expansion of macro 'XSD_AUTO_PTR' - 173 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1395:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1395 | d (::std::auto_ptr< d_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::one::detach()': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:179:18: note: in expansion of macro 'XSD_AUTO_PTR' - 179 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1415:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1415 | e (::std::auto_ptr< e_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:270:19: note: in expansion of macro 'XSD_AUTO_PTR' - 270 | optional (XSD_AUTO_PTR, container* = 0); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1435:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1435 | f (::std::auto_ptr< f_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:343:14: note: in expansion of macro 'XSD_AUTO_PTR' - 343 | set (XSD_AUTO_PTR); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:889:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 889 | a (::std::auto_ptr< a_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:348:9: note: in expansion of macro 'XSD_AUTO_PTR' - 348 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:721:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 721 | idrefs (::std::auto_ptr< idrefs_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::optional::detach()': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:354:18: note: in expansion of macro 'XSD_AUTO_PTR' - 354 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:924:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 924 | b (::std::auto_ptr< b_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1138:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1138 | b (::std::auto_ptr< b_type > x) +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:959:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 959 | c (::std::auto_ptr< c_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1173:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1173 | c (::std::auto_ptr< c_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:776:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 776 | ids (::std::auto_ptr< ids_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1212:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1212 | a (::std::auto_ptr< a_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:793:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 793 | idrefs1 (::std::auto_ptr< idrefs1_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1247:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1247 | b (::std::auto_ptr< b_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:810:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 810 | idrefs2 (::std::auto_ptr< idrefs2_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1282:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1282 | c (::std::auto_ptr< c_type > x) +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:994:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 994 | d (::std::auto_ptr< d_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1317:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1317 | d (::std::auto_ptr< d_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:820:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 820 | model (::std::auto_ptr< ids_type >, + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1352:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1352 | e (::std::auto_ptr< e_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:821:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 821 | ::std::auto_ptr< idrefs1_type >, + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1387:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1387 | f (::std::auto_ptr< f_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:822:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 822 | ::std::auto_ptr< idrefs2_type >); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1422:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1422 | g (::std::auto_ptr< g_type > x) +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1029:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1029 | e (::std::auto_ptr< e_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1461:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1461 | a (::std::auto_ptr< a_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' + 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1496:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1496 | b (::std::auto_ptr< b_type > x) - | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.hxx:871: +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx:77:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 77 | id (::std::auto_ptr< id_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1531:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1531 | c (::std::auto_ptr< c_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx:116:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 116 | id (::std::auto_ptr< id_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1570:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1570 | a (::std::auto_ptr< a_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1502:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1502 | a (::std::auto_ptr< a_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1605:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1605 | b (::std::auto_ptr< b_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1522:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1522 | b (::std::auto_ptr< b_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1640:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1640 | c (::std::auto_ptr< c_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1542:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1542 | c (::std::auto_ptr< c_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1679:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1679 | a (::std::auto_ptr< a_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx:151:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 151 | id_ex (::std::auto_ptr< id_ex_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1714:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1714 | b (::std::auto_ptr< b_type > x) +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1064:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1064 | f (::std::auto_ptr< f_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1018 | push_back (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1603:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1603 | a (::std::auto_ptr< a_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1032 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1623:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1623 | b (::std::auto_ptr< b_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1054 | insert (iterator position, XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1643:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1643 | c (::std::auto_ptr< c_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx:186:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 186 | ref (::std::auto_ptr< ref_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1042 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1663:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1663 | d (::std::auto_ptr< d_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' - 45 | one (XSD_AUTO_PTR x, container* c) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1683:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1683 | e (::std::auto_ptr< e_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' - 97 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1103:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1103 | a (::std::auto_ptr< a_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' - 139 | optional (XSD_AUTO_PTR x, container* c) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1703:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1703 | f (::std::auto_ptr< f_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' - 200 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1723:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1723 | g (::std::auto_ptr< g_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1749:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1749 | c (::std::auto_ptr< c_type > x) +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx:225:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 225 | i (::std::auto_ptr< i_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1788:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1788 | a (::std::auto_ptr< a_type > x) +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1138:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1138 | b (::std::auto_ptr< b_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1823:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1823 | b (::std::auto_ptr< b_type > x) +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1173:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1173 | c (::std::auto_ptr< c_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/detach -I/build/xsd-4.0.0/xsd/tests/cxx/tree/detach -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/detach/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/detach/driver.cxx -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1858:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1858 | c (::std::auto_ptr< c_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx:260:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 260 | ref (::std::auto_ptr< ref_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1897:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1897 | a (::std::auto_ptr< a_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx:292:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 292 | id1 (::std::auto_ptr< id1_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1932:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1932 | b (::std::auto_ptr< b_type > x) +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1212:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1212 | a (::std::auto_ptr< a_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1967:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1967 | c (::std::auto_ptr< c_type > x) +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1247:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1247 | b (::std::auto_ptr< b_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:2006:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2006 | union_ (::std::auto_ptr< union_type > x) +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx:349:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 349 | idrefs (::std::auto_ptr< idrefs_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:2034:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2034 | list (::std::auto_ptr< list_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:2062:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2062 | simple (::std::auto_ptr< simple_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1282:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1282 | c (::std::auto_ptr< c_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:2090:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2090 | date (::std::auto_ptr< date_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1317:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1317 | d (::std::auto_ptr< d_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:2118:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2118 | time (::std::auto_ptr< time_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1792:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1792 | a (::std::auto_ptr< a_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:2146:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2146 | date_time (::std::auto_ptr< date_time_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1352:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1352 | e (::std::auto_ptr< e_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:2174:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2174 | duration (::std::auto_ptr< duration_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1812:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1812 | b (::std::auto_ptr< b_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:2202:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2202 | day (::std::auto_ptr< day_type > x) +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1832:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1832 | c (::std::auto_ptr< c_type > p); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:2230:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2230 | month (::std::auto_ptr< month_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1387:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1387 | f (::std::auto_ptr< f_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:2258:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2258 | year (::std::auto_ptr< year_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx:408:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 408 | idrefs (::std::auto_ptr< idrefs_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:2286:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2286 | month_day (::std::auto_ptr< month_day_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1422:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1422 | g (::std::auto_ptr< g_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:2314:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2314 | year_month (::std::auto_ptr< year_month_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1893:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1893 | a (::std::auto_ptr< a_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:768:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 768 | b_type (::std::auto_ptr< a_type > a) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx:440:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 440 | ids (::std::auto_ptr< ids_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx: In member function 'void test::b_type::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:810:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 810 | ::std::auto_ptr< ::xsd::cxx::tree::type > tmp ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1461:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1461 | a (::std::auto_ptr< a_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:3154:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3154 | string1 (::std::auto_ptr< string1_type > x) +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx:468:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 468 | idrefs1 (::std::auto_ptr< idrefs1_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:3189:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3189 | string2 (::std::auto_ptr< string2_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1496:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1496 | b (::std::auto_ptr< b_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:3224:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3224 | nstring (::std::auto_ptr< nstring_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1531:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1531 | c (::std::auto_ptr< c_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.cxx: In member function 'void test::inner::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.cxx:182:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 182 | ::std::auto_ptr< id_type > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.ixx:496:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 496 | idrefs2 (::std::auto_ptr< idrefs2_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:3259:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3259 | token (::std::auto_ptr< token_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1570:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1570 | a (::std::auto_ptr< a_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:3294:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3294 | nmtoken (::std::auto_ptr< nmtoken_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1913:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1913 | b (::std::auto_ptr< b_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:3329:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3329 | nmtokens1 (::std::auto_ptr< nmtokens1_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1933:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1933 | c (::std::auto_ptr< c_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:3364:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3364 | nmtokens2 (::std::auto_ptr< nmtokens2_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1605:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1605 | b (::std::auto_ptr< b_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.cxx:196:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 196 | ::std::auto_ptr< id_ex_type > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1640:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1640 | c (::std::auto_ptr< c_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.cxx:210:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 210 | ::std::auto_ptr< ref_type > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1994:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1994 | a (::std::auto_ptr< a_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:3399:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3399 | ncname (::std::auto_ptr< ncname_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:2014:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2014 | b (::std::auto_ptr< b_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:821:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 821 | ::std::auto_ptr< a_type > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:2034:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2034 | c (::std::auto_ptr< c_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.cxx: In member function 'void test::outer::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.cxx:300:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 300 | ::std::auto_ptr< i_type > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1679:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1679 | a (::std::auto_ptr< a_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.cxx:314:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 314 | ::std::auto_ptr< ref_type > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1714:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1714 | b (::std::auto_ptr< b_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:3434:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3434 | language (::std::auto_ptr< language_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:2095:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2095 | a (::std::auto_ptr< a_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:3476:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3476 | id (::std::auto_ptr< id_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1749:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1749 | c (::std::auto_ptr< c_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:3504:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3504 | idref (::std::auto_ptr< idref_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1788:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1788 | a (::std::auto_ptr< a_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.cxx: In member function 'void test::ids::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.cxx:489:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 489 | ::std::auto_ptr< id_type > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1823:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1823 | b (::std::auto_ptr< b_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:3539:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3539 | idrefs (::std::auto_ptr< idrefs_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1858:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1858 | c (::std::auto_ptr< c_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:3574:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3574 | uri (::std::auto_ptr< uri_type > x) +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:2115:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2115 | b (::std::auto_ptr< b_type > p); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:3609:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3609 | qname1 (::std::auto_ptr< qname1_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:3644:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3644 | qname2 (::std::auto_ptr< qname2_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:2135:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2135 | c (::std::auto_ptr< c_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:3679:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3679 | base64_bin1 (::std::auto_ptr< base64_bin1_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1897:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1897 | a (::std::auto_ptr< a_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:3714:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3714 | base64_bin2 (::std::auto_ptr< base64_bin2_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1932:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1932 | b (::std::auto_ptr< b_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:3749:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3749 | hex_bin1 (::std::auto_ptr< hex_bin1_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:2196:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2196 | a (::std::auto_ptr< a_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:3784:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3784 | hex_bin2 (::std::auto_ptr< hex_bin2_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:2216:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2216 | b (::std::auto_ptr< b_type > p); + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1967:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1967 | c (::std::auto_ptr< c_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.cxx:769:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 769 | model (::std::auto_ptr< ids_type > ids, - | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.cxx:770:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 770 | ::std::auto_ptr< idrefs1_type > idrefs1, - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:2236:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2236 | c (::std::auto_ptr< c_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.cxx:771:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 771 | ::std::auto_ptr< idrefs2_type > idrefs2) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:2006:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2006 | union_ (::std::auto_ptr< union_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.cxx: In member function 'void test::model::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.cxx:820:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 820 | ::std::auto_ptr< ids_type > r ( +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:2297:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2297 | union_ (::std::auto_ptr< union_type > p); + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:2034:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2034 | list (::std::auto_ptr< list_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.cxx:834:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 834 | ::std::auto_ptr< idrefs1_type > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:2062:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2062 | simple (::std::auto_ptr< simple_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/driver.cxx: In function 'int main(int, char**)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/driver.cxx:27:5: note: in expansion of macro 'XSD_AUTO_PTR' - 27 | XSD_AUTO_PTR r (root (argv[1], xml_schema::flags::dont_validate)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:2090:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2090 | date (::std::auto_ptr< date_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.cxx:848:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 848 | ::std::auto_ptr< idrefs2_type > r ( +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:2118:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2118 | time (::std::auto_ptr< time_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:1470:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1470 | c_type (::std::auto_ptr< a_type > a) - | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx: In member function 'void test::c_type::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:1512:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1512 | ::std::auto_ptr< ::xsd::cxx::tree::type > tmp ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:2314:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2314 | list (::std::auto_ptr< list_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:1523:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1523 | ::std::auto_ptr< a_type > r ( +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:2331:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2331 | simple (::std::auto_ptr< simple_type > p); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.hxx:302:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 302 | a (::std::auto_ptr< a_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:2348:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2348 | date (::std::auto_ptr< date_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.hxx:319:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 319 | x (::std::auto_ptr< x_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:2365:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2365 | time (::std::auto_ptr< time_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.hxx:473:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 473 | derived (::std::auto_ptr< derived_type > p); +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:2146:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2146 | date_time (::std::auto_ptr< date_time_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.hxx:481:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 481 | type (::std::auto_ptr< derived_type >); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:2382:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2382 | date_time (::std::auto_ptr< date_time_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.hxx:542:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 542 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:2399:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2399 | duration (::std::auto_ptr< duration_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.hxx:547:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 547 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:2416:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2416 | day (::std::auto_ptr< day_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.hxx:553:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 553 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:2433:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2433 | month (::std::auto_ptr< month_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.hxx:562:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 562 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:2450:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2450 | year (::std::auto_ptr< year_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.hxx:567:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 567 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:2174:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2174 | duration (::std::auto_ptr< duration_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.hxx:573:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 573 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:2467:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2467 | month_day (::std::auto_ptr< month_day_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.hxx:579:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 579 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:2484:24: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2484 | year_month (::std::auto_ptr< year_month_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.hxx:585:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 585 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:2202:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2202 | day (::std::auto_ptr< day_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.hxx:592:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 592 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:2230:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2230 | month (::std::auto_ptr< month_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.hxx:602:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 602 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:2258:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2258 | year (::std::auto_ptr< year_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.hxx:607:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 607 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:2286:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2286 | month_day (::std::auto_ptr< month_day_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.hxx:613:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 613 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:2314:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2314 | year_month (::std::auto_ptr< year_month_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.hxx:622:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 622 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:2994:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2994 | string1 (::std::auto_ptr< string1_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.hxx:627:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 627 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3014:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3014 | string2 (::std::auto_ptr< string2_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:1942:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1942 | d_type (::std::auto_ptr< a_type > a) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3034:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3034 | nstring (::std::auto_ptr< nstring_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx: In member function 'void test::d_type::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:1984:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1984 | ::std::auto_ptr< ::xsd::cxx::tree::type > tmp ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3054:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3054 | token (::std::auto_ptr< token_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:1995:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1995 | ::std::auto_ptr< a_type > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3074:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3074 | nmtoken (::std::auto_ptr< nmtoken_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2174:26: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2174 | e_complex_type (::std::auto_ptr< a_type > a) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3094:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3094 | nmtokens1 (::std::auto_ptr< nmtokens1_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx: In member function 'void test::e_complex_type::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2216:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2216 | ::std::auto_ptr< ::xsd::cxx::tree::type > tmp ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3114:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3114 | nmtokens2 (::std::auto_ptr< nmtokens2_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2227:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2227 | ::std::auto_ptr< a_type > r ( +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3134:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3134 | ncname (::std::auto_ptr< ncname_type > p); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2332:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2332 | ::std::auto_ptr< complex_type > complex) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.hxx:722: -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.ixx:70:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 70 | a (::std::auto_ptr< a_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3154:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3154 | language (::std::auto_ptr< language_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.ixx:98:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 98 | x (::std::auto_ptr< x_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3178:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3178 | id (::std::auto_ptr< id_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2342:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2342 | ::std::auto_ptr< simple_type > simple, - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.hxx:302:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 302 | a (::std::auto_ptr< a_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2343:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2343 | ::std::auto_ptr< complex_type > complex) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3195:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3195 | idref (::std::auto_ptr< idref_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.ixx:211:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 211 | derived (::std::auto_ptr< derived_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.hxx:319:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 319 | x (::std::auto_ptr< x_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx: In member function 'void test::e_base::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2402:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2402 | ::std::auto_ptr< ::xsd::cxx::tree::type > tmp ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3215:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3215 | idrefs (::std::auto_ptr< idrefs_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2413:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2413 | ::std::auto_ptr< simple_type > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3235:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3235 | uri (::std::auto_ptr< uri_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2430:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2430 | ::std::auto_ptr< ::xsd::cxx::tree::type > tmp ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:3154:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3154 | string1 (::std::auto_ptr< string1_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2441:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2441 | ::std::auto_ptr< complex_type > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:3189:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3189 | string2 (::std::auto_ptr< string2_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/driver.cxx: In function 'int main(int, char**)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/driver.cxx:27:5: note: in expansion of macro 'XSD_AUTO_PTR' - 27 | XSD_AUTO_PTR r (root (argv[1], xml_schema::flags::dont_validate)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2575:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2575 | ::std::auto_ptr< complex1_type > complex1) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2586:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2586 | ::std::auto_ptr< simple1_type > simple1, - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:944:22: note: in expansion of macro 'XSD_AUTO_PTR' + 944 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2587:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2587 | ::std::auto_ptr< complex1_type > complex1) +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.hxx:473:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 473 | derived (::std::auto_ptr< derived_type > p); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2614:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2614 | ::std::auto_ptr< complex_type > complex, - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.hxx:481:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 481 | type (::std::auto_ptr< derived_type >); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2617:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2617 | ::std::auto_ptr< complex1_type > complex1) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:958:22: note: in expansion of macro 'XSD_AUTO_PTR' + 958 | return XSD_AUTO_PTR (); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:357:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 357 | a (::std::auto_ptr< a_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:3224:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3224 | nstring (::std::auto_ptr< nstring_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2629:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2629 | ::std::auto_ptr< simple_type > simple, - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:990:22: note: in expansion of macro 'XSD_AUTO_PTR' + 990 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2630:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2630 | ::std::auto_ptr< complex_type > complex, - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3255:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3255 | qname1 (::std::auto_ptr< qname1_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2632:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2632 | ::std::auto_ptr< simple1_type > simple1, - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3275:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3275 | qname2 (::std::auto_ptr< qname2_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2633:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2633 | ::std::auto_ptr< complex1_type > complex1) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3295:25: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3295 | base64_bin1 (::std::auto_ptr< base64_bin1_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx: In member function 'void test::e_derived::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2696:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2696 | ::std::auto_ptr< ::xsd::cxx::tree::type > tmp ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:3259:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3259 | token (::std::auto_ptr< token_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2707:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2707 | ::std::auto_ptr< simple1_type > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3315:25: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3315 | base64_bin2 (::std::auto_ptr< base64_bin2_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2724:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2724 | ::std::auto_ptr< ::xsd::cxx::tree::type > tmp ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3335:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3335 | hex_bin1 (::std::auto_ptr< hex_bin1_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2735:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2735 | ::std::auto_ptr< complex1_type > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.hxx:542:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 542 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2945:26: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2945 | f_complex_type (::std::auto_ptr< a_type > a) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3355:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3355 | hex_bin2 (::std::auto_ptr< hex_bin2_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:608:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 608 | a (::std::auto_ptr< a_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_attribute_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1036:22: note: in expansion of macro 'XSD_AUTO_PTR' + 1036 | return XSD_AUTO_PTR (); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:628:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 628 | b (::std::auto_ptr< b_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1047:22: note: in expansion of macro 'XSD_AUTO_PTR' + 1047 | return XSD_AUTO_PTR (); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:648:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 648 | c (::std::auto_ptr< c_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.hxx:547:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 547 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx: In member function 'void test::f_complex_type::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2987:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2987 | ::std::auto_ptr< ::xsd::cxx::tree::type > tmp ( - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:668:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 668 | d (::std::auto_ptr< d_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:3294:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3294 | nmtoken (::std::auto_ptr< nmtoken_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3443:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3443 | type (::std::auto_ptr< union_type >, + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.hxx:553:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 553 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2998:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2998 | ::std::auto_ptr< a_type > r ( - | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:3103:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3103 | ::std::auto_ptr< complex_type > complex) +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3444:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3444 | ::std::auto_ptr< list_type >, | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:3113:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3113 | ::std::auto_ptr< simple_type > simple, +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3445:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3445 | ::std::auto_ptr< simple_type >, | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:3114:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3114 | ::std::auto_ptr< complex_type > complex) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.hxx:562:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 562 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:3138:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3138 | ::std::auto_ptr< complex_type > complex) +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3446:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3446 | ::std::auto_ptr< date_type >, | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:3149:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3149 | ::std::auto_ptr< simple_type > simple, - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1074:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1074 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:3150:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3150 | ::std::auto_ptr< complex_type > complex) +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3447:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3447 | ::std::auto_ptr< time_type >, | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:947:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 947 | a (::std::auto_ptr< a_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.hxx:567:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 567 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3448:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3448 | ::std::auto_ptr< date_time_type >, + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:967:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 967 | b (::std::auto_ptr< b_type > p); - | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:987:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 987 | c (::std::auto_ptr< c_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3449:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3449 | ::std::auto_ptr< duration_type >, + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1007:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1007 | d (::std::auto_ptr< d_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3450:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3450 | ::std::auto_ptr< day_type >, + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.hxx:573:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 573 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1027:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1027 | e (::std::auto_ptr< e_type > p); - | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1047:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1047 | f (::std::auto_ptr< f_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.hxx:579:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 579 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx: In member function 'void test::f_type::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:3209:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3209 | ::std::auto_ptr< ::xsd::cxx::tree::type > tmp ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.hxx:585:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 585 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::type&, bool)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1098:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1098 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:3220:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3220 | ::std::auto_ptr< simple_type > r ( - | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:3237:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3237 | ::std::auto_ptr< ::xsd::cxx::tree::type > tmp ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.hxx:592:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 592 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:3248:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3248 | ::std::auto_ptr< complex_type > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.hxx:602:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 602 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1146:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1146 | a (::std::auto_ptr< a_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::type&)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1106:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1106 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1166:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1166 | b (::std::auto_ptr< b_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.hxx:607:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 607 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1186:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1186 | c (::std::auto_ptr< c_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.hxx:613:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 613 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1206:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1206 | d (::std::auto_ptr< d_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.hxx:622:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 622 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1226:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1226 | e (::std::auto_ptr< e_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.hxx:627:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 627 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1246:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1246 | f (::std::auto_ptr< f_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:3329:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3329 | nmtokens1 (::std::auto_ptr< nmtokens1_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1266:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1266 | g (::std::auto_ptr< g_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_content_type::clone() const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1183:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1183 | return XSD_AUTO_PTR (new dom_content_type (dom)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1335:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1335 | a (::std::auto_ptr< a_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:3364:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3364 | nmtokens2 (::std::auto_ptr< nmtokens2_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1355:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1355 | b (::std::auto_ptr< b_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3451:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3451 | ::std::auto_ptr< month_type >, + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1375:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1375 | c (::std::auto_ptr< c_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3452:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3452 | ::std::auto_ptr< year_type >, + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1395:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1395 | d (::std::auto_ptr< d_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3453:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3453 | ::std::auto_ptr< month_day_type >, + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1415:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1415 | e (::std::auto_ptr< e_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3454:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3454 | ::std::auto_ptr< year_month_type >); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1435:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1435 | f (::std::auto_ptr< f_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1367:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1367 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1502:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1502 | a (::std::auto_ptr< a_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::simple_type::text_content_type::clone() const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1370:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1370 | return XSD_AUTO_PTR (new text_content_type (text)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1522:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1522 | b (::std::auto_ptr< b_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:3399:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3399 | ncname (::std::auto_ptr< ncname_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1542:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1542 | c (::std::auto_ptr< c_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1491:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1491 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1603:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1603 | a (::std::auto_ptr< a_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1497:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1497 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1623:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1623 | b (::std::auto_ptr< b_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1503:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1503 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1643:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1643 | c (::std::auto_ptr< c_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1516:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1516 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1663:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1663 | d (::std::auto_ptr< d_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1494:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1494 | return XSD_AUTO_PTR (new T (e, f, c)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1683:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1683 | e (::std::auto_ptr< e_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1500:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1500 | return XSD_AUTO_PTR (new T (a, f, c)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1703:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1703 | f (::std::auto_ptr< f_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1509:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1509 | return XSD_AUTO_PTR (new T (s, e, f, c)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1723:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1723 | g (::std::auto_ptr< g_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1519:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1519 | return XSD_AUTO_PTR (new T (s, f, c)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1792:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1792 | a (::std::auto_ptr< a_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1530:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1530 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1812:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1812 | b (::std::auto_ptr< b_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1537:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1537 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1832:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1832 | c (::std::auto_ptr< c_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1544:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1544 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1893:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1893 | a (::std::auto_ptr< a_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1555:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1555 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1913:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1913 | b (::std::auto_ptr< b_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1533:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1533 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1933:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1933 | c (::std::auto_ptr< c_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1540:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1540 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:1994:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1994 | a (::std::auto_ptr< a_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1550:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1550 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:2014:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2014 | b (::std::auto_ptr< b_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1558:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1558 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:2034:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2034 | c (::std::auto_ptr< c_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:3434:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3434 | language (::std::auto_ptr< language_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:2095:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2095 | a (::std::auto_ptr< a_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:3476:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3476 | id (::std::auto_ptr< id_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:2115:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2115 | b (::std::auto_ptr< b_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:3504:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3504 | idref (::std::auto_ptr< idref_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:2135:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2135 | c (::std::auto_ptr< c_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:3539:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3539 | idrefs (::std::auto_ptr< idrefs_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:2196:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2196 | a (::std::auto_ptr< a_type > p); +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:3574:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3574 | uri (::std::auto_ptr< uri_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:2216:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2216 | b (::std::auto_ptr< b_type > p); - | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.hxx:722: +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.ixx:70:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 70 | a (::std::auto_ptr< a_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:2236:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2236 | c (::std::auto_ptr< c_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:3609:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3609 | qname1 (::std::auto_ptr< qname1_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:2297:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2297 | union_ (::std::auto_ptr< union_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.ixx:98:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 98 | x (::std::auto_ptr< x_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:2314:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2314 | list (::std::auto_ptr< list_type > p); +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:3644:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3644 | qname2 (::std::auto_ptr< qname2_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:2331:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2331 | simple (::std::auto_ptr< simple_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:2348:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2348 | date (::std::auto_ptr< date_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.ixx:211:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 211 | derived (::std::auto_ptr< derived_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:2365:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2365 | time (::std::auto_ptr< time_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:3679:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3679 | base64_bin1 (::std::auto_ptr< base64_bin1_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:2382:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2382 | date_time (::std::auto_ptr< date_time_type > p); +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:3714:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3714 | base64_bin2 (::std::auto_ptr< base64_bin2_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:2399:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2399 | duration (::std::auto_ptr< duration_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/driver.cxx: In function 'int main(int, char**)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/driver.cxx:27:5: note: in expansion of macro 'XSD_AUTO_PTR' + 27 | XSD_AUTO_PTR r (root (argv[1], xml_schema::flags::dont_validate)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:2416:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2416 | day (::std::auto_ptr< day_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:3749:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3749 | hex_bin1 (::std::auto_ptr< hex_bin1_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:2433:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2433 | month (::std::auto_ptr< month_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:3784:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3784 | hex_bin2 (::std::auto_ptr< hex_bin2_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:2450:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2450 | year (::std::auto_ptr< year_type > p); - | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.hxx:50, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.cxx:41: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' + 894 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.hxx:61: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:2467:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2467 | month_day (::std::auto_ptr< month_day_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' + 934 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:2484:24: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2484 | year_month (::std::auto_ptr< year_month_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1026 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:2994:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2994 | string1 (::std::auto_ptr< string1_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3671:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3671 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3014:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3014 | string2 (::std::auto_ptr< string2_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1095 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3034:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3034 | nstring (::std::auto_ptr< nstring_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1103 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3054:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3054 | token (::std::auto_ptr< token_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1114 | XSD_AUTO_PTR dom_info_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3074:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3074 | nmtoken (::std::auto_ptr< nmtoken_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1137 | XSD_AUTO_PTR map_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3094:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3094 | nmtokens1 (::std::auto_ptr< nmtokens1_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3676:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3676 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3114:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3114 | nmtokens2 (::std::auto_ptr< nmtokens2_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3682:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3682 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3134:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3134 | ncname (::std::auto_ptr< ncname_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1152 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3154:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3154 | language (::std::auto_ptr< language_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1180 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3178:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3178 | id (::std::auto_ptr< id_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' + 1203 | mutable XSD_AUTO_PTR content_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3195:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3195 | idref (::std::auto_ptr< idref_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:138:14: note: in expansion of macro 'XSD_AUTO_PTR' + 138 | one (XSD_AUTO_PTR, container*); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3215:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3215 | idrefs (::std::auto_ptr< idrefs_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:165:14: note: in expansion of macro 'XSD_AUTO_PTR' + 165 | set (XSD_AUTO_PTR); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3235:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3235 | uri (::std::auto_ptr< uri_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:173:9: note: in expansion of macro 'XSD_AUTO_PTR' + 173 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3255:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3255 | qname1 (::std::auto_ptr< qname1_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3691:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3691 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3275:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3275 | qname2 (::std::auto_ptr< qname2_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3696:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3696 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::one::detach()': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:179:18: note: in expansion of macro 'XSD_AUTO_PTR' + 179 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3295:25: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3295 | base64_bin1 (::std::auto_ptr< base64_bin1_type > p); - | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3315:25: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3315 | base64_bin2 (::std::auto_ptr< base64_bin2_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3702:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3702 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3335:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3335 | hex_bin1 (::std::auto_ptr< hex_bin1_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3708:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3708 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3355:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3355 | hex_bin2 (::std::auto_ptr< hex_bin2_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3714:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3714 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3443:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3443 | type (::std::auto_ptr< union_type >, - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3721:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3721 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3444:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3444 | ::std::auto_ptr< list_type >, - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:270:19: note: in expansion of macro 'XSD_AUTO_PTR' + 270 | optional (XSD_AUTO_PTR, container* = 0); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3445:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3445 | ::std::auto_ptr< simple_type >, - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3731:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3731 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3446:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3446 | ::std::auto_ptr< date_type >, - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3736:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3736 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3447:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3447 | ::std::auto_ptr< time_type >, - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3742:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3742 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3448:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3448 | ::std::auto_ptr< date_time_type >, - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:343:14: note: in expansion of macro 'XSD_AUTO_PTR' + 343 | set (XSD_AUTO_PTR); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3449:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3449 | ::std::auto_ptr< duration_type >, - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:348:9: note: in expansion of macro 'XSD_AUTO_PTR' + 348 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3450:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3450 | ::std::auto_ptr< day_type >, - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3751:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3751 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3451:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3451 | ::std::auto_ptr< month_type >, - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3756:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3756 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3452:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3452 | ::std::auto_ptr< year_type >, - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::optional::detach()': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:354:18: note: in expansion of macro 'XSD_AUTO_PTR' + 354 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3453:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3453 | ::std::auto_ptr< month_day_type >, - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' + 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3454:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3454 | ::std::auto_ptr< year_month_type >); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.cxx: In member function 'void test::inner::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.cxx:182:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 182 | ::std::auto_ptr< id_type > r ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3671:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3671 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.cxx:196:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 196 | ::std::auto_ptr< id_ex_type > r ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3676:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3676 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.cxx:210:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 210 | ::std::auto_ptr< ref_type > r ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3682:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3682 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1018 | push_back (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3691:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3691 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1032 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3696:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3696 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1054 | insert (iterator position, XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3702:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3702 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3708:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3708 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1042 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3714:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3714 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.cxx: In member function 'void test::outer::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.cxx:300:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 300 | ::std::auto_ptr< i_type > r ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3721:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3721 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:4011: +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:103:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 103 | a (::std::auto_ptr< a_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3731:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3731 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' + 45 | one (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3736:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3736 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.cxx:314:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 314 | ::std::auto_ptr< ref_type > r ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3742:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3742 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' + 97 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3751:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3751 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' + 139 | optional (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:3756:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3756 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' + 200 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.hxx:4011: -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:103:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 103 | a (::std::auto_ptr< a_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.cxx: In member function 'void test::ids::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.cxx:489:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 489 | ::std::auto_ptr< id_type > r ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -31527,6 +30879,25 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.cxx:769:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 769 | model (::std::auto_ptr< ids_type > ids, + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.cxx:770:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 770 | ::std::auto_ptr< idrefs1_type > idrefs1, + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.cxx:771:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 771 | ::std::auto_ptr< idrefs2_type > idrefs2) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:527:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 527 | d (::std::auto_ptr< d_type > x) | ^~~~~~~~ @@ -31545,9 +30916,22 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.cxx: In member function 'void test::model::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.cxx:820:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 820 | ::std::auto_ptr< ids_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:640:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 640 | a (::std::auto_ptr< a_type > x) | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.cxx:834:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 834 | ::std::auto_ptr< idrefs1_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -31557,6 +30941,12 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/containment/test.cxx:848:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 848 | ::std::auto_ptr< idrefs2_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:710:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 710 | c (::std::auto_ptr< c_type > x) | ^~~~~~~~ @@ -31581,12 +30971,40 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:944:22: note: in expansion of macro 'XSD_AUTO_PTR' + 944 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:850:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 850 | g (::std::auto_ptr< g_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:958:22: note: in expansion of macro 'XSD_AUTO_PTR' + 958 | return XSD_AUTO_PTR (); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:990:22: note: in expansion of macro 'XSD_AUTO_PTR' + 990 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:889:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 889 | a (::std::auto_ptr< a_type > x) | ^~~~~~~~ @@ -31605,6 +31023,25 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_attribute_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1036:22: note: in expansion of macro 'XSD_AUTO_PTR' + 1036 | return XSD_AUTO_PTR (); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1047:22: note: in expansion of macro 'XSD_AUTO_PTR' + 1047 | return XSD_AUTO_PTR (); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:994:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 994 | d (::std::auto_ptr< d_type > x) | ^~~~~~~~ @@ -31617,12 +31054,41 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1074:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1074 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1064:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1064 | f (::std::auto_ptr< f_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::type&, bool)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1098:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1098 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::type&)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1106:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1106 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1103:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1103 | a (::std::auto_ptr< a_type > x) | ^~~~~~~~ @@ -31635,12 +31101,42 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_content_type::clone() const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1183:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1183 | return XSD_AUTO_PTR (new dom_content_type (dom)); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1173:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1173 | c (::std::auto_ptr< c_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1367:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1367 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::simple_type::text_content_type::clone() const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1370:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1370 | return XSD_AUTO_PTR (new text_content_type (text)); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1212:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1212 | a (::std::auto_ptr< a_type > x) | ^~~~~~~~ @@ -31683,21 +31179,175 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1491:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1491 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1497:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1497 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1503:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1503 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1516:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1516 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1494:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1494 | return XSD_AUTO_PTR (new T (e, f, c)); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1500:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1500 | return XSD_AUTO_PTR (new T (a, f, c)); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1461:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1461 | a (::std::auto_ptr< a_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1509:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1509 | return XSD_AUTO_PTR (new T (s, e, f, c)); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1519:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1519 | return XSD_AUTO_PTR (new T (s, f, c)); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1530:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1530 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1537:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1537 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1544:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1544 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1496:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1496 | b (::std::auto_ptr< b_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1555:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1555 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1533:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1533 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1540:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1540 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.ixx:1531:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1531 | c (::std::auto_ptr< c_type > x) | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1550:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1550 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1558:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1558 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -31959,590 +31609,694 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.hxx:50, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.cxx:41: +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/driver.cxx: In function 'int main(int, char**)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' - 894 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.hxx:61: +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/driver.cxx:27:5: note: in expansion of macro 'XSD_AUTO_PTR' + 27 | XSD_AUTO_PTR r (root (argv[1], xml_schema::flags::dont_validate)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' - 934 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:138:14: note: in expansion of macro 'XSD_AUTO_PTR' + 138 | one (XSD_AUTO_PTR, container*); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1026 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:165:14: note: in expansion of macro 'XSD_AUTO_PTR' + 165 | set (XSD_AUTO_PTR); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1095 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:173:9: note: in expansion of macro 'XSD_AUTO_PTR' + 173 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::one::detach()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1103 | static XSD_AUTO_PTR +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:179:18: note: in expansion of macro 'XSD_AUTO_PTR' + 179 | return XSD_AUTO_PTR (x); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1114 | XSD_AUTO_PTR dom_info_; - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:270:19: note: in expansion of macro 'XSD_AUTO_PTR' + 270 | optional (XSD_AUTO_PTR, container* = 0); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1137 | XSD_AUTO_PTR map_; - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:343:14: note: in expansion of macro 'XSD_AUTO_PTR' + 343 | set (XSD_AUTO_PTR); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1152 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:348:9: note: in expansion of macro 'XSD_AUTO_PTR' + 348 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::optional::detach()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1180 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:354:18: note: in expansion of macro 'XSD_AUTO_PTR' + 354 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/detach -I/build/xsd-4.0.0/xsd/tests/cxx/tree/detach -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.cxx +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' - 1203 | mutable XSD_AUTO_PTR content_; - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1018 | push_back (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' - 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1032 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:944:22: note: in expansion of macro 'XSD_AUTO_PTR' - 944 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1054 | insert (iterator position, XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:958:22: note: in expansion of macro 'XSD_AUTO_PTR' - 958 | return XSD_AUTO_PTR (); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:990:22: note: in expansion of macro 'XSD_AUTO_PTR' - 990 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1042 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_attribute_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1036:22: note: in expansion of macro 'XSD_AUTO_PTR' - 1036 | return XSD_AUTO_PTR (); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:2873:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2873 | type (::std::auto_ptr< union_type > union_, + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1047:22: note: in expansion of macro 'XSD_AUTO_PTR' - 1047 | return XSD_AUTO_PTR (); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:2874:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2874 | ::std::auto_ptr< list_type > list, + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1074:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1074 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:2875:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2875 | ::std::auto_ptr< simple_type > simple, + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::type&, bool)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1098:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1098 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:2876:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2876 | ::std::auto_ptr< date_type > date, + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::type&)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1106:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1106 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:2877:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2877 | ::std::auto_ptr< time_type > time, + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_content_type::clone() const': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1183:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1183 | return XSD_AUTO_PTR (new dom_content_type (dom)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:2878:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2878 | ::std::auto_ptr< date_time_type > date_time, + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1367:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1367 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:2879:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2879 | ::std::auto_ptr< duration_type > duration, + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::simple_type::text_content_type::clone() const': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1370:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1370 | return XSD_AUTO_PTR (new text_content_type (text)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:2880:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2880 | ::std::auto_ptr< day_type > day, + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1491:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1491 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:2881:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2881 | ::std::auto_ptr< month_type > month, + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1497:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1497 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:2882:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2882 | ::std::auto_ptr< year_type > year, + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1503:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1503 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:2883:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2883 | ::std::auto_ptr< month_day_type > month_day, + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1516:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1516 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:2884:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2884 | ::std::auto_ptr< year_month_type > year_month) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1494:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1494 | return XSD_AUTO_PTR (new T (e, f, c)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' + 45 | one (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1500:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1500 | return XSD_AUTO_PTR (new T (a, f, c)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' + 97 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1509:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1509 | return XSD_AUTO_PTR (new T (s, e, f, c)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' + 139 | optional (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1519:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1519 | return XSD_AUTO_PTR (new T (s, f, c)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' + 200 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1530:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1530 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:691:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 691 | foo (::std::auto_ptr< foo_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1537:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1537 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:879:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 879 | bar (::std::auto_ptr< bar_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1544:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1544 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:1190:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1190 | foo (::std::auto_ptr< foo_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1555:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1555 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:1378:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1378 | bar (::std::auto_ptr< bar_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1533:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1533 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx: In member function 'void test::type::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:3122:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3122 | ::std::auto_ptr< union_type > r ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1540:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1540 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:3136:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3136 | ::std::auto_ptr< list_type > r ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1550:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1550 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:1577:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1577 | a (::std::auto_ptr< a_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1558:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1558 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:1608:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1608 | b_type (::std::auto_ptr< a_type >); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:138:14: note: in expansion of macro 'XSD_AUTO_PTR' - 138 | one (XSD_AUTO_PTR, container*); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:3150:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3150 | ::std::auto_ptr< simple_type > r ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:165:14: note: in expansion of macro 'XSD_AUTO_PTR' - 165 | set (XSD_AUTO_PTR); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:3164:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3164 | ::std::auto_ptr< date_type > r ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:173:9: note: in expansion of macro 'XSD_AUTO_PTR' - 173 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:3178:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3178 | ::std::auto_ptr< time_type > r ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::one::detach()': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:179:18: note: in expansion of macro 'XSD_AUTO_PTR' - 179 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:3192:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3192 | ::std::auto_ptr< date_time_type > r ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:270:19: note: in expansion of macro 'XSD_AUTO_PTR' - 270 | optional (XSD_AUTO_PTR, container* = 0); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:3206:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3206 | ::std::auto_ptr< duration_type > r ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:343:14: note: in expansion of macro 'XSD_AUTO_PTR' - 343 | set (XSD_AUTO_PTR); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:2177:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2177 | foo (::std::auto_ptr< foo_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:348:9: note: in expansion of macro 'XSD_AUTO_PTR' - 348 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:3220:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3220 | ::std::auto_ptr< day_type > r ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::optional::detach()': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:354:18: note: in expansion of macro 'XSD_AUTO_PTR' - 354 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:2366:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2366 | bar (::std::auto_ptr< bar_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:2873:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2873 | type (::std::auto_ptr< union_type > union_, +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:3234:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3234 | ::std::auto_ptr< month_type > r ( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:2874:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2874 | ::std::auto_ptr< list_type > list, - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:2566:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2566 | a (::std::auto_ptr< a_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:2875:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2875 | ::std::auto_ptr< simple_type > simple, - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:2597:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2597 | c_type (::std::auto_ptr< a_type >); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:2876:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2876 | ::std::auto_ptr< date_type > date, +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:3248:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3248 | ::std::auto_ptr< year_type > r ( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:2877:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2877 | ::std::auto_ptr< time_type > time, +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:3262:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3262 | ::std::auto_ptr< month_day_type > r ( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:2878:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2878 | ::std::auto_ptr< date_time_type > date_time, +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:3276:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3276 | ::std::auto_ptr< year_month_type > r ( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:2879:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2879 | ::std::auto_ptr< duration_type > duration, - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:2845:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2845 | foo (::std::auto_ptr< foo_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:2880:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2880 | ::std::auto_ptr< day_type > day, - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:3013:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3013 | bar (::std::auto_ptr< bar_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:2881:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2881 | ::std::auto_ptr< month_type > month, - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:3189:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3189 | a (::std::auto_ptr< a_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:2882:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2882 | ::std::auto_ptr< year_type > year, - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:3220:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3220 | d_type (::std::auto_ptr< a_type >); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:2883:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2883 | ::std::auto_ptr< month_day_type > month_day, - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:3478:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3478 | a (::std::auto_ptr< a_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:2884:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 2884 | ::std::auto_ptr< year_month_type > year_month) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:3509:28: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3509 | e_complex_type (::std::auto_ptr< a_type >); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1018 | push_back (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:3702:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3702 | simple (::std::auto_ptr< simple_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1032 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:3760:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3760 | complex (::std::auto_ptr< complex_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1054 | insert (iterator position, XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:3795:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3795 | ::std::auto_ptr< complex_type >); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:3806:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3806 | ::std::auto_ptr< simple_type >, + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1042 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:3807:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3807 | ::std::auto_ptr< complex_type >); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' - 45 | one (XSD_AUTO_PTR x, container* c) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4002:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 4002 | simple1 (::std::auto_ptr< simple1_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' - 97 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4060:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 4060 | complex1 (::std::auto_ptr< complex1_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4097:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 4097 | ::std::auto_ptr< complex1_type >); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4109:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 4109 | ::std::auto_ptr< simple1_type >, + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4110:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 4110 | ::std::auto_ptr< complex1_type >); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4133:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 4133 | ::std::auto_ptr< complex_type >, + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4136:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 4136 | ::std::auto_ptr< complex1_type >); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4147:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 4147 | ::std::auto_ptr< simple_type >, + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4148:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 4148 | ::std::auto_ptr< complex_type >, + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4150:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 4150 | ::std::auto_ptr< simple1_type >, + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4151:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 4151 | ::std::auto_ptr< complex1_type >); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4411:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 4411 | a (::std::auto_ptr< a_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4442:28: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 4442 | f_complex_type (::std::auto_ptr< a_type >); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4635:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 4635 | simple (::std::auto_ptr< simple_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4693:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 4693 | complex (::std::auto_ptr< complex_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4727:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 4727 | ::std::auto_ptr< complex_type >); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4737:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 4737 | ::std::auto_ptr< simple_type >, + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4738:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 4738 | ::std::auto_ptr< complex_type >); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4760:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 4760 | ::std::auto_ptr< complex_type >); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4772:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 4772 | ::std::auto_ptr< simple_type >, + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4773:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 4773 | ::std::auto_ptr< complex_type >); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.hxx:4874: +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:70:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 70 | foo (::std::auto_ptr< foo_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:102:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 102 | bar (::std::auto_ptr< bar_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:138:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 138 | foo (::std::auto_ptr< foo_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:170:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 170 | bar (::std::auto_ptr< bar_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:202:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 202 | a (::std::auto_ptr< a_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:353:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 353 | foo (::std::auto_ptr< foo_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:385:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 385 | bar (::std::auto_ptr< bar_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:417:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 417 | a (::std::auto_ptr< a_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:453:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 453 | foo (::std::auto_ptr< foo_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:485:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 485 | bar (::std::auto_ptr< bar_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:517:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 517 | a (::std::auto_ptr< a_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:553:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 553 | a (::std::auto_ptr< a_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:606:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 606 | simple (::std::auto_ptr< simple_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:634:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 634 | complex (::std::auto_ptr< complex_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:687:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 687 | simple1 (::std::auto_ptr< simple1_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:715:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 715 | complex1 (::std::auto_ptr< complex1_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:751:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 751 | a (::std::auto_ptr< a_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:804:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 804 | simple (::std::auto_ptr< simple_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.ixx:832:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 832 | complex (::std::auto_ptr< complex_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' - 139 | optional (XSD_AUTO_PTR x, container* c) +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.hxx:30:17: note: in expansion of macro 'XSD_AUTO_PTR' + 30 | typedef XSD_AUTO_PTR (*factory) (const xercesc::DOMElement&, | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; @@ -32550,82 +32304,106 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' - 200 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx: In member function 'void test::type::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:3122:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3122 | ::std::auto_ptr< union_type > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.hxx:53:9: note: in expansion of macro 'XSD_AUTO_PTR' + 53 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:3136:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3136 | ::std::auto_ptr< list_type > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.hxx:70:16: note: in expansion of macro 'XSD_AUTO_PTR' + 70 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:3150:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3150 | ::std::auto_ptr< simple_type > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.hxx:136:7: note: in expansion of macro 'XSD_AUTO_PTR' + 136 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:3164:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3164 | ::std::auto_ptr< date_type > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:275:7: note: in expansion of macro 'XSD_AUTO_PTR' + 275 | XSD_AUTO_PTR type_factory_map:: + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:3178:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3178 | ::std::auto_ptr< time_type > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: In member function 'std::auto_ptr xsd::cxx::tree::type_factory_map::create(const C*, const C*, factory, bool, bool, const xercesc_3_2::DOMElement&, const qualified_name&, xsd::cxx::tree::flags, xsd::cxx::tree::container*) const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:309:18: note: in expansion of macro 'XSD_AUTO_PTR' + 309 | return XSD_AUTO_PTR (); // No match. + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:3192:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3192 | ::std::auto_ptr< date_time_type > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:328:7: note: in expansion of macro 'XSD_AUTO_PTR' + 328 | XSD_AUTO_PTR type_factory_map:: + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:3206:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3206 | ::std::auto_ptr< duration_type > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: In static member function 'static std::auto_ptr xsd::cxx::tree::type_factory_map::traits_adapter(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:331:16: note: in expansion of macro 'XSD_AUTO_PTR' + 331 | return XSD_AUTO_PTR (traits::create (e, f, c)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:3220:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3220 | ::std::auto_ptr< day_type > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:429:7: note: in expansion of macro 'XSD_AUTO_PTR' + 429 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:3234:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3234 | ::std::auto_ptr< month_type > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: In function 'std::auto_ptr xsd::cxx::tree::factory_impl(const xercesc_3_2::DOMElement&, flags, container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:432:16: note: in expansion of macro 'XSD_AUTO_PTR' + 432 | return XSD_AUTO_PTR (new T (e, f, c)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:3248:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3248 | ::std::auto_ptr< year_type > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:768:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 768 | b_type (::std::auto_ptr< a_type > a) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:3262:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3262 | ::std::auto_ptr< month_day_type > r ( +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx: In member function 'void test::b_type::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:810:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 810 | ::std::auto_ptr< ::xsd::cxx::tree::type > tmp ( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:3276:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3276 | ::std::auto_ptr< year_month_type > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:821:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 821 | ::std::auto_ptr< a_type > r ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -32737,6 +32515,46 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:1470:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1470 | c_type (::std::auto_ptr< a_type > a) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx: In member function 'void test::c_type::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:1512:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1512 | ::std::auto_ptr< ::xsd::cxx::tree::type > tmp ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:1523:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1523 | ::std::auto_ptr< a_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:1942:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1942 | d_type (::std::auto_ptr< a_type > a) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx: In member function 'void test::d_type::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:1984:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1984 | ::std::auto_ptr< ::xsd::cxx::tree::type > tmp ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:1995:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1995 | ::std::auto_ptr< a_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx: At global scope: /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:4362:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 4362 | ::std::auto_ptr< ::test::type > @@ -32744,6 +32562,45 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2174:26: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2174 | e_complex_type (::std::auto_ptr< a_type > a) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx: In member function 'void test::e_complex_type::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2216:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2216 | ::std::auto_ptr< ::xsd::cxx::tree::type > tmp ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2227:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2227 | ::std::auto_ptr< a_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2332:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2332 | ::std::auto_ptr< complex_type > complex) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2342:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2342 | ::std::auto_ptr< simple_type > simple, + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2343:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2343 | ::std::auto_ptr< complex_type > complex) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::flags, const xml_schema::properties&)': /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:4379:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 4379 | return ::std::auto_ptr< ::test::type > ( @@ -32758,31 +32615,30 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx: In member function 'void test::e_base::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2402:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2402 | ::std::auto_ptr< ::xsd::cxx::tree::type > tmp ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:4401:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 4401 | return ::std::auto_ptr< ::test::type > ( | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.hxx:722: /build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.ixx:70:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 70 | a (::std::auto_ptr< a_type > x) | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:4406:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 4406 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:4419:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 4419 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2413:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2413 | ::std::auto_ptr< simple_type > r ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -32792,15 +32648,35 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2430:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2430 | ::std::auto_ptr< ::xsd::cxx::tree::type > tmp ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:4424:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 4424 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:4406:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 4406 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:4437:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 4437 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2441:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2441 | ::std::auto_ptr< complex_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:4419:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 4419 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:4424:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 4424 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; @@ -32811,6 +32687,12 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:4437:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 4437 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:4451:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 4451 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ @@ -32829,12 +32711,31 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2575:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2575 | ::std::auto_ptr< complex1_type > complex1) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:4490:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 4490 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2586:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2586 | ::std::auto_ptr< simple1_type > simple1, + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2587:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2587 | ::std::auto_ptr< complex1_type > complex1) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:4501:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 4501 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ @@ -32848,6 +32749,18 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2614:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2614 | ::std::auto_ptr< complex_type > complex, + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2617:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2617 | ::std::auto_ptr< complex1_type > complex1) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx: At global scope: /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:4519:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 4519 | ::std::auto_ptr< ::test::type > @@ -32855,6 +32768,30 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2629:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2629 | ::std::auto_ptr< simple_type > simple, + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2630:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2630 | ::std::auto_ptr< complex_type > complex, + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2632:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2632 | ::std::auto_ptr< simple1_type > simple1, + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2633:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2633 | ::std::auto_ptr< complex1_type > complex1) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:4532:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 4532 | return ::std::auto_ptr< ::test::type > ( @@ -32890,12 +32827,37 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx: In member function 'void test::e_derived::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2696:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2696 | ::std::auto_ptr< ::xsd::cxx::tree::type > tmp ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2707:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2707 | ::std::auto_ptr< simple1_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:4577:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 4577 | ::std::auto_ptr< ::test::type > r ( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2724:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2724 | ::std::auto_ptr< ::xsd::cxx::tree::type > tmp ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2735:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2735 | ::std::auto_ptr< complex1_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx: At global scope: /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.cxx:4590:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 4590 | ::std::auto_ptr< ::test::type > @@ -32910,6 +32872,88 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2945:26: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2945 | f_complex_type (::std::auto_ptr< a_type > a) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx: In member function 'void test::f_complex_type::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2987:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2987 | ::std::auto_ptr< ::xsd::cxx::tree::type > tmp ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:2998:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 2998 | ::std::auto_ptr< a_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:3103:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3103 | ::std::auto_ptr< complex_type > complex) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:3113:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3113 | ::std::auto_ptr< simple_type > simple, + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:3114:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3114 | ::std::auto_ptr< complex_type > complex) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:3138:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3138 | ::std::auto_ptr< complex_type > complex) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:3149:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3149 | ::std::auto_ptr< simple_type > simple, + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:3150:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3150 | ::std::auto_ptr< complex_type > complex) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx: In member function 'void test::f_type::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:3209:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3209 | ::std::auto_ptr< ::xsd::cxx::tree::type > tmp ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:3220:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3220 | ::std::auto_ptr< simple_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:3237:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3237 | ::std::auto_ptr< ::xsd::cxx::tree::type > tmp ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/complex/ctor/test.cxx:3248:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3248 | ::std::auto_ptr< complex_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.cxx: In member function 'void test::base::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': /build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.cxx:112:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 112 | ::std::auto_ptr< a_type > r ( @@ -32931,7 +32975,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/detach -I/build/xsd-4.0.0/xsd/tests/cxx/tree/detach -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.cxx /build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.cxx: At global scope: /build/xsd-4.0.0/xsd/tests/cxx/tree/default/omit/test.cxx:468:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 468 | ::std::auto_ptr< ::test::type > @@ -33192,7 +33235,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association -I/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -33453,6 +33495,7 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association -I/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -33613,83 +33656,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.hxx:292:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 292 | id (::std::auto_ptr< id_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.hxx:294:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 294 | ::std::auto_ptr< id_type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.hxx:456:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 456 | one (::std::auto_ptr< one_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.hxx:458:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 458 | ::std::auto_ptr< one_type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.hxx:480:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 480 | opt (::std::auto_ptr< opt_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.hxx:505:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 505 | model (::std::auto_ptr< one_type >); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.hxx:554: -/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.ixx:91:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 91 | id (::std::auto_ptr< id_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.ixx:97:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 97 | ::std::auto_ptr< object::id_type > object:: - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.ixx:180:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 180 | one (::std::auto_ptr< one_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.ixx:186:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 186 | ::std::auto_ptr< model::one_type > model:: - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.ixx:222:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 222 | opt (::std::auto_ptr< opt_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/driver.cxx: In function 'int main()': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/driver.cxx:68:3: note: in expansion of macro 'XSD_AUTO_PTR' - 68 | XSD_AUTO_PTR p (m.detach_one ()); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.hxx:50, from /build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.cxx:41: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] @@ -33795,111 +33761,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.hxx:50, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:41: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' - 894 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.hxx:61: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' - 934 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1026 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1095 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1103 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1114 | XSD_AUTO_PTR dom_info_; - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1137 | XSD_AUTO_PTR map_; - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1152 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1180 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' - 1203 | mutable XSD_AUTO_PTR content_; - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' - 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -34160,202 +34021,420 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:944:22: note: in expansion of macro 'XSD_AUTO_PTR' - 944 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:138:14: note: in expansion of macro 'XSD_AUTO_PTR' + 138 | one (XSD_AUTO_PTR, container*); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:958:22: note: in expansion of macro 'XSD_AUTO_PTR' - 958 | return XSD_AUTO_PTR (); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:165:14: note: in expansion of macro 'XSD_AUTO_PTR' + 165 | set (XSD_AUTO_PTR); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:990:22: note: in expansion of macro 'XSD_AUTO_PTR' - 990 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:173:9: note: in expansion of macro 'XSD_AUTO_PTR' + 173 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_attribute_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::one::detach()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1036:22: note: in expansion of macro 'XSD_AUTO_PTR' - 1036 | return XSD_AUTO_PTR (); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:179:18: note: in expansion of macro 'XSD_AUTO_PTR' + 179 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1047:22: note: in expansion of macro 'XSD_AUTO_PTR' - 1047 | return XSD_AUTO_PTR (); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:270:19: note: in expansion of macro 'XSD_AUTO_PTR' + 270 | optional (XSD_AUTO_PTR, container* = 0); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1074:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1074 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:343:14: note: in expansion of macro 'XSD_AUTO_PTR' + 343 | set (XSD_AUTO_PTR); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::type&, bool)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1098:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1098 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:348:9: note: in expansion of macro 'XSD_AUTO_PTR' + 348 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::type&)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::optional::detach()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1106:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1106 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:354:18: note: in expansion of macro 'XSD_AUTO_PTR' + 354 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_content_type::clone() const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1183:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1183 | return XSD_AUTO_PTR (new dom_content_type (dom)); +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1018 | push_back (XSD_AUTO_PTR x) | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:138:14: note: in expansion of macro 'XSD_AUTO_PTR' - 138 | one (XSD_AUTO_PTR, container*); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1032 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:165:14: note: in expansion of macro 'XSD_AUTO_PTR' - 165 | set (XSD_AUTO_PTR); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1054 | insert (iterator position, XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:173:9: note: in expansion of macro 'XSD_AUTO_PTR' - 173 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::one::detach()': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:179:18: note: in expansion of macro 'XSD_AUTO_PTR' - 179 | return XSD_AUTO_PTR (x); +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1042 | return XSD_AUTO_PTR (x); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1367:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1367 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' + 45 | one (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::simple_type::text_content_type::clone() const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1370:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1370 | return XSD_AUTO_PTR (new text_content_type (text)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' + 97 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:270:19: note: in expansion of macro 'XSD_AUTO_PTR' - 270 | optional (XSD_AUTO_PTR, container* = 0); +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' + 139 | optional (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' + 200 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.hxx:292:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 292 | id (::std::auto_ptr< id_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.hxx:294:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 294 | ::std::auto_ptr< id_type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.hxx:456:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 456 | one (::std::auto_ptr< one_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.hxx:458:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 458 | ::std::auto_ptr< one_type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.hxx:480:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 480 | opt (::std::auto_ptr< opt_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.hxx:505:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 505 | model (::std::auto_ptr< one_type >); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.hxx:554: +/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.ixx:91:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 91 | id (::std::auto_ptr< id_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.ixx:97:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 97 | ::std::auto_ptr< object::id_type > object:: + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.ixx:180:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 180 | one (::std::auto_ptr< one_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.ixx:186:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 186 | ::std::auto_ptr< model::one_type > model:: + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.ixx:222:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 222 | opt (::std::auto_ptr< opt_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/driver.cxx: In function 'int main()': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/driver.cxx:68:3: note: in expansion of macro 'XSD_AUTO_PTR' + 68 | XSD_AUTO_PTR p (m.detach_one ()); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.hxx:292:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 292 | id (::std::auto_ptr< id_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.hxx:294:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 294 | ::std::auto_ptr< id_type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.hxx:456:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 456 | one (::std::auto_ptr< one_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.hxx:458:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 458 | ::std::auto_ptr< one_type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.hxx:480:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 480 | opt (::std::auto_ptr< opt_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.hxx:505:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 505 | model (::std::auto_ptr< one_type >); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.hxx:554: +/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.ixx:91:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 91 | id (::std::auto_ptr< id_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.ixx:97:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 97 | ::std::auto_ptr< object::id_type > object:: + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.ixx:180:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 180 | one (::std::auto_ptr< one_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.ixx:186:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 186 | ::std::auto_ptr< model::one_type > model:: + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.ixx:222:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 222 | opt (::std::auto_ptr< opt_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.cxx: In member function 'void test::object::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.cxx:105:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 105 | ::std::auto_ptr< data_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.cxx: In member function 'void test::subtree::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.cxx:271:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 271 | ::std::auto_ptr< o_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.cxx:282:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 282 | ::std::auto_ptr< r_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.cxx:340:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 340 | model (::std::auto_ptr< one_type > one) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.cxx: In member function 'void test::model::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.cxx:389:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 389 | ::std::auto_ptr< one_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.cxx:403:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 403 | ::std::auto_ptr< opt_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.cxx:417:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 417 | ::std::auto_ptr< seq_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.hxx:50, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:41: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' + 894 | virtual XSD_AUTO_PTR | ^~~~~~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.hxx:61: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1491:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1491 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' + 934 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1497:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1497 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1026 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:343:14: note: in expansion of macro 'XSD_AUTO_PTR' - 343 | set (XSD_AUTO_PTR); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1095 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1503:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1503 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1103 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1114 | XSD_AUTO_PTR dom_info_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:348:9: note: in expansion of macro 'XSD_AUTO_PTR' - 348 | XSD_AUTO_PTR +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1137 | XSD_AUTO_PTR map_; | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; @@ -34363,59 +34442,123 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1516:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1516 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1152 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1494:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1494 | return XSD_AUTO_PTR (new T (e, f, c)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1180 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1500:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1500 | return XSD_AUTO_PTR (new T (a, f, c)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' + 1203 | mutable XSD_AUTO_PTR content_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1509:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1509 | return XSD_AUTO_PTR (new T (s, e, f, c)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' + 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1519:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1519 | return XSD_AUTO_PTR (new T (s, f, c)); - | ^~~~~~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::optional::detach()': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:944:22: note: in expansion of macro 'XSD_AUTO_PTR' + 944 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:354:18: note: in expansion of macro 'XSD_AUTO_PTR' - 354 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:958:22: note: in expansion of macro 'XSD_AUTO_PTR' + 958 | return XSD_AUTO_PTR (); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:990:22: note: in expansion of macro 'XSD_AUTO_PTR' + 990 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_attribute_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1036:22: note: in expansion of macro 'XSD_AUTO_PTR' + 1036 | return XSD_AUTO_PTR (); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1047:22: note: in expansion of macro 'XSD_AUTO_PTR' + 1047 | return XSD_AUTO_PTR (); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1074:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1074 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::type&, bool)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1098:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1098 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::type&)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1106:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1106 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_content_type::clone() const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1183:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1183 | return XSD_AUTO_PTR (new dom_content_type (dom)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -34423,17 +34566,28 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1530:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1530 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1367:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1367 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::simple_type::text_content_type::clone() const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1537:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1537 | static XSD_AUTO_PTR +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1370:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1370 | return XSD_AUTO_PTR (new text_content_type (text)); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1491:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1491 | static XSD_AUTO_PTR | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; @@ -34441,8 +34595,8 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1544:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1544 | static XSD_AUTO_PTR +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1497:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1497 | static XSD_AUTO_PTR | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; @@ -34450,133 +34604,135 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1555:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1555 | static XSD_AUTO_PTR +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1503:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1503 | static XSD_AUTO_PTR | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1533:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1533 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1516:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1516 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1540:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1540 | return XSD_AUTO_PTR ( +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1494:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1494 | return XSD_AUTO_PTR (new T (e, f, c)); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1550:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1550 | return XSD_AUTO_PTR ( +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1500:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1500 | return XSD_AUTO_PTR (new T (a, f, c)); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1558:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1558 | return XSD_AUTO_PTR ( +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1509:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1509 | return XSD_AUTO_PTR (new T (s, e, f, c)); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1018 | push_back (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1519:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1519 | return XSD_AUTO_PTR (new T (s, f, c)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1032 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1530:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1530 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1054 | insert (iterator position, XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1537:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1537 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1544:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1544 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1042 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1555:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1555 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' - 45 | one (XSD_AUTO_PTR x, container* c) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1533:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1533 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' - 97 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1540:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1540 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' - 139 | optional (XSD_AUTO_PTR x, container* c) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1550:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1550 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' - 200 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1558:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1558 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -34740,6 +34896,103 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.hxx:274:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 274 | a (::std::auto_ptr< a_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.hxx:333:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 333 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.hxx:338:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 338 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.hxx:344:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 344 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.hxx:353:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 353 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.hxx:358:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 358 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.hxx:364:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 364 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.hxx:370:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 370 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.hxx:376:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 376 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.hxx:383:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 383 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.hxx:393:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 393 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.hxx:398:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 398 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.hxx:404:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 404 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.hxx:413:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 413 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.hxx:418:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 418 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.hxx:425: +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.ixx:70:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 70 | a (::std::auto_ptr< a_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ In file included from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/xml/dom/auto-ptr.hxx:8, from /build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/dom-parse.hxx:13, from /build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/driver.cxx:14: @@ -34835,18 +35088,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.hxx:292:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 292 | id (::std::auto_ptr< id_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.hxx:294:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 294 | ::std::auto_ptr< id_type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -34857,158 +35098,34 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.hxx:456:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 456 | one (::std::auto_ptr< one_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.hxx:458:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 458 | ::std::auto_ptr< one_type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.hxx:480:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 480 | opt (::std::auto_ptr< opt_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.hxx:505:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 505 | model (::std::auto_ptr< one_type >); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.hxx:274:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 274 | a (::std::auto_ptr< a_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.hxx:554: -/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.ixx:91:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 91 | id (::std::auto_ptr< id_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.ixx:97:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 97 | ::std::auto_ptr< object::id_type > object:: - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.hxx:333:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 333 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.hxx:338:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 338 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.hxx:344:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 344 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.hxx:353:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 353 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.hxx:358:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 358 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.ixx:180:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 180 | one (::std::auto_ptr< one_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.hxx:364:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 364 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.hxx:370:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 370 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.hxx:376:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 376 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.ixx:186:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 186 | ::std::auto_ptr< model::one_type > model:: - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.hxx:383:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 383 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.hxx:393:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 393 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.hxx:398:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 398 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.hxx:404:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 404 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx: In member function 'void test::type::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:94:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 94 | ::std::auto_ptr< a_type > r ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.hxx:413:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 413 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:158:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 158 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.ixx:222:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 222 | opt (::std::auto_ptr< opt_type > x) - | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:175:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 175 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.hxx:418:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 418 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:180:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 180 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.hxx:425: -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.ixx:70:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 70 | a (::std::auto_ptr< a_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -35028,12 +35145,40 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:197:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 197 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:990:22: note: in expansion of macro 'XSD_AUTO_PTR' 990 | return XSD_AUTO_PTR ( | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:202:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 202 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:215:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 215 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:220:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 220 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -35056,6 +35201,12 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:233:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 233 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -35065,6 +35216,18 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:247:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 247 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:257:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 257 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::type&, bool)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -35085,6 +35248,31 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:271:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 271 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:286:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 286 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:297:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 297 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:310:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 310 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_content_type::clone() const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -35095,6 +35283,27 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:315:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 315 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:328:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 328 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:333:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 333 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -35115,6 +35324,13 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:346:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 346 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -35134,6 +35350,13 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:351:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 351 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -35152,6 +35375,13 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx: In function 'std::auto_ptr test::root(const xercesc_3_2::DOMDocument&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:361:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 361 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -35239,6 +35469,12 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:373:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 373 | ::std::auto_ptr< ::test::type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -35269,6 +35505,20 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:386:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 386 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx: In function 'std::auto_ptr test::root(xsd::cxx::xml::dom::auto_ptr, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:411:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 411 | ::std::auto_ptr< ::test::type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -35345,99 +35595,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx: In member function 'void test::type::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:94:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 94 | ::std::auto_ptr< a_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:158:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 158 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.cxx: In member function 'void test::object::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.cxx:105:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 105 | ::std::auto_ptr< data_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:175:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 175 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:180:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 180 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:197:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 197 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:202:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 202 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:215:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 215 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:220:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 220 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:233:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 233 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:247:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 247 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:257:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 257 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:271:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 271 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:286:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 286 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -35448,12 +35605,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:297:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 297 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -35472,13 +35623,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:310:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 310 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -35488,31 +35632,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:315:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 315 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:328:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 328 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:333:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 333 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:346:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 346 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -35523,42 +35642,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.cxx: In member function 'void test::subtree::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.cxx:271:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 271 | ::std::auto_ptr< o_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:351:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 351 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx: In function 'std::auto_ptr test::root(const xercesc_3_2::DOMDocument&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:361:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 361 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.cxx:282:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 282 | ::std::auto_ptr< r_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:373:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 373 | ::std::auto_ptr< ::test::type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -35578,13 +35661,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:386:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 386 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -35603,39 +35679,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx: In function 'std::auto_ptr test::root(xsd::cxx::xml::dom::auto_ptr, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.cxx:411:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 411 | ::std::auto_ptr< ::test::type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.cxx:340:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 340 | model (::std::auto_ptr< one_type > one) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.cxx: In member function 'void test::model::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.cxx:389:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 389 | ::std::auto_ptr< one_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.cxx:403:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 403 | ::std::auto_ptr< opt_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/detach/test.cxx:417:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 417 | ::std::auto_ptr< seq_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp -I/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/driver.cxx In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/driver.cxx:15: /build/xsd-4.0.0/xsd/tests/cxx/tree/dom-association/test.hxx:274:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] @@ -36186,6 +36229,7 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/iso-8859-1 -I/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/iso-8859-1 -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/iso-8859-1/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/iso-8859-1/test.cxx /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -36270,100 +36314,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:349:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 349 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:354:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 354 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:360:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 360 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:369:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 369 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:374:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 374 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:380:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 380 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:386:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 386 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:392:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 392 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:399:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 399 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:409:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 409 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:414:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 414 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:420:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 420 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:429:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 429 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:434:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 434 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/driver.cxx: In function 'int main(int, char**)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/driver.cxx:29:5: note: in expansion of macro 'XSD_AUTO_PTR' - 29 | XSD_AUTO_PTR r (root (argv[1])); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:50, from /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:41: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] @@ -36470,7 +36420,7 @@ 64 | template class auto_ptr; | ^~~~~~~~ In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:55, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:41: + from /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/driver.cxx:12: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -36478,26 +36428,7 @@ 894 | virtual XSD_AUTO_PTR | ^~~~~~~~~~~~ In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:66: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' - 934 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1026 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ + from /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/driver.cxx:8: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -36508,33 +36439,15 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:944:22: note: in expansion of macro 'XSD_AUTO_PTR' 944 | return XSD_AUTO_PTR ( | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1095 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1103 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' + 934 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1114 | XSD_AUTO_PTR dom_info_; - | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -36550,45 +36463,45 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1137 | XSD_AUTO_PTR map_; - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1026 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1152 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1095 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:990:22: note: in expansion of macro 'XSD_AUTO_PTR' - 990 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1103 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1180 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1114 | XSD_AUTO_PTR dom_info_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' - 1203 | mutable XSD_AUTO_PTR content_; - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:990:22: note: in expansion of macro 'XSD_AUTO_PTR' + 990 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -36614,12 +36527,30 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1137 | XSD_AUTO_PTR map_; + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1074:20: note: in expansion of macro 'XSD_AUTO_PTR' 1074 | return XSD_AUTO_PTR ( | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1152 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::type&, bool)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -36630,6 +36561,15 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1180 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::type&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -36640,6 +36580,15 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' + 1203 | mutable XSD_AUTO_PTR content_; + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_content_type::clone() const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -36834,7 +36783,90 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/iso-8859-1 -I/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/iso-8859-1 -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/iso-8859-1/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/iso-8859-1/test.cxx +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:349:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 349 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:354:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 354 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:360:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 360 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:369:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 369 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:374:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 374 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:380:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 380 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:386:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 386 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:392:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 392 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:399:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 399 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:409:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 409 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:414:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 414 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:420:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 420 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:429:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 429 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:434:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 434 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -36873,6 +36905,25 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:944:22: note: in expansion of macro 'XSD_AUTO_PTR' + 944 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:958:22: note: in expansion of macro 'XSD_AUTO_PTR' + 958 | return XSD_AUTO_PTR (); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -36908,34 +36959,15 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:354:18: note: in expansion of macro 'XSD_AUTO_PTR' 354 | return XSD_AUTO_PTR (x); | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:944:22: note: in expansion of macro 'XSD_AUTO_PTR' - 944 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:958:22: note: in expansion of macro 'XSD_AUTO_PTR' - 958 | return XSD_AUTO_PTR (); +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:990:22: note: in expansion of macro 'XSD_AUTO_PTR' + 990 | return XSD_AUTO_PTR ( | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:990:22: note: in expansion of macro 'XSD_AUTO_PTR' - 990 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -37171,6 +37203,16 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/driver.cxx: In function 'int main(int, char**)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/driver.cxx:29:5: note: in expansion of macro 'XSD_AUTO_PTR' + 29 | XSD_AUTO_PTR r (root (argv[1])); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -37246,276 +37288,455 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:55, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/driver.cxx:12: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' - 894 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/driver.cxx:8: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' + 200 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' - 200 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:138:14: note: in expansion of macro 'XSD_AUTO_PTR' + 138 | one (XSD_AUTO_PTR, container*); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' - 934 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:165:14: note: in expansion of macro 'XSD_AUTO_PTR' + 165 | set (XSD_AUTO_PTR); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1026 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:173:9: note: in expansion of macro 'XSD_AUTO_PTR' + 173 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::one::detach()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1095 | static XSD_AUTO_PTR +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:179:18: note: in expansion of macro 'XSD_AUTO_PTR' + 179 | return XSD_AUTO_PTR (x); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1103 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:270:19: note: in expansion of macro 'XSD_AUTO_PTR' + 270 | optional (XSD_AUTO_PTR, container* = 0); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1114 | XSD_AUTO_PTR dom_info_; - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:343:14: note: in expansion of macro 'XSD_AUTO_PTR' + 343 | set (XSD_AUTO_PTR); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1137 | XSD_AUTO_PTR map_; +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:348:9: note: in expansion of macro 'XSD_AUTO_PTR' + 348 | XSD_AUTO_PTR | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::optional::detach()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1152 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:354:18: note: in expansion of macro 'XSD_AUTO_PTR' + 354 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1180 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1018 | push_back (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' - 1203 | mutable XSD_AUTO_PTR content_; - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1032 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:138:14: note: in expansion of macro 'XSD_AUTO_PTR' - 138 | one (XSD_AUTO_PTR, container*); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1054 | insert (iterator position, XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:165:14: note: in expansion of macro 'XSD_AUTO_PTR' - 165 | set (XSD_AUTO_PTR); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:173:9: note: in expansion of macro 'XSD_AUTO_PTR' - 173 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1042 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::one::detach()': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:179:18: note: in expansion of macro 'XSD_AUTO_PTR' - 179 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' + 45 | one (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:270:19: note: in expansion of macro 'XSD_AUTO_PTR' - 270 | optional (XSD_AUTO_PTR, container* = 0); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' + 97 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' - 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' + 139 | optional (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:343:14: note: in expansion of macro 'XSD_AUTO_PTR' - 343 | set (XSD_AUTO_PTR); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' + 200 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:349:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 349 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:354:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 354 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:360:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 360 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:369:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 369 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:374:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 374 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:380:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 380 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:386:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 386 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:392:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 392 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:399:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 399 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:409:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 409 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:414:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 414 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:420:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 420 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:429:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 429 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:434:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 434 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:55, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:41: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:348:9: note: in expansion of macro 'XSD_AUTO_PTR' - 348 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' + 894 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:66: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::optional::detach()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:354:18: note: in expansion of macro 'XSD_AUTO_PTR' - 354 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' + 934 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1018 | push_back (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1026 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1032 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1095 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1054 | insert (iterator position, XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1103 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1114 | XSD_AUTO_PTR dom_info_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1042 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1137 | XSD_AUTO_PTR map_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' - 45 | one (XSD_AUTO_PTR x, container* c) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1152 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' - 97 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1180 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' - 139 | optional (XSD_AUTO_PTR x, container* c) +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' + 1203 | mutable XSD_AUTO_PTR content_; | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' - 200 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' + 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1051:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1051 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1067:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1067 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1085:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1085 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1101:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1101 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1117:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1117 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1135:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1135 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1155:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1155 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1177:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1177 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1200:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1200 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1217:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1217 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1233:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1233 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1251:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1251 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1265:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1265 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1282:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1282 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/driver.cxx: In function 'int main(int, char**)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/driver.cxx:28:5: note: in expansion of macro 'XSD_AUTO_PTR' + 28 | XSD_AUTO_PTR r (root (argv[1])); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -37779,7 +38000,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar -I/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/driver.cxx /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -37856,191 +38076,436 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/iso-8859-1/test.hxx:55, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/iso-8859-1/driver.cxx:12: +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx: In member function 'void test::type::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:94:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 94 | ::std::auto_ptr< a_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:136:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 136 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:153:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 153 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' - 894 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/iso-8859-1/driver.cxx:8: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1018 | push_back (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' - 934 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1032 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1026 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1054 | insert (iterator position, XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:158:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 158 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1095 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1103 | static XSD_AUTO_PTR +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1042 | return XSD_AUTO_PTR (x); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:175:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 175 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:180:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 180 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1114 | XSD_AUTO_PTR dom_info_; - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' + 45 | one (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:193:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 193 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1137 | XSD_AUTO_PTR map_; - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' + 97 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1152 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' + 139 | optional (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:198:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 198 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1180 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' + 200 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:211:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 211 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:225:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 225 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:235:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 235 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:249:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 249 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:264:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 264 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:275:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 275 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:288:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 288 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:293:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 293 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:306:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 306 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:311:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 311 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:324:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 324 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:329:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 329 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx: In function 'std::auto_ptr test::root(const xercesc_3_2::DOMDocument&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:339:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 339 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:351:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 351 | ::std::auto_ptr< ::test::type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:364:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 364 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx: In function 'std::auto_ptr test::root(xsd::cxx::xml::dom::auto_ptr, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:389:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 389 | ::std::auto_ptr< ::test::type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1051:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1051 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1067:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1067 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1085:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1085 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1101:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1101 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1117:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1117 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1135:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1135 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1155:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1155 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1177:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1177 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1200:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1200 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1217:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1217 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1233:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1233 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1251:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1251 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1265:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1265 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1282:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1282 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/iso-8859-1/test.hxx:55, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/iso-8859-1/driver.cxx:12: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' - 1203 | mutable XSD_AUTO_PTR content_; - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' + 894 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/iso-8859-1/driver.cxx:8: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1018 | push_back (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' + 934 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1032 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1026 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1054 | insert (iterator position, XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1095 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1103 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1042 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1114 | XSD_AUTO_PTR dom_info_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' - 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1137 | XSD_AUTO_PTR map_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' - 45 | one (XSD_AUTO_PTR x, container* c) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1152 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' - 97 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1180 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' - 139 | optional (XSD_AUTO_PTR x, container* c) +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' + 1203 | mutable XSD_AUTO_PTR content_; | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' - 200 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' + 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -38304,6 +38769,7 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar -I/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/driver.cxx /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -38380,86 +38846,22 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:349:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 349 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:354:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 354 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:360:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 360 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:369:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 369 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:374:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 374 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:380:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 380 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:386:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 386 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:392:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 392 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:399:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 399 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:409:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 409 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:414:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 414 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:420:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 420 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx: In member function 'void test::type::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:169:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 169 | ::std::auto_ptr< a_type > r ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:429:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 429 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:180:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 180 | ::std::auto_ptr< b_type > r ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.hxx:434:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 434 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:223:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 223 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; @@ -38548,390 +38950,151 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1051:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1051 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1067:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1067 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1085:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1085 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1101:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1101 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1117:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1117 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1135:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1135 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1155:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1155 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1177:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1177 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1200:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1200 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1217:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1217 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1233:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1233 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1251:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1251 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1265:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1265 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1282:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1282 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx: In member function 'void test::type::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:94:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 94 | ::std::auto_ptr< a_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1051:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1051 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1067:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1067 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1085:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1085 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1101:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1101 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1117:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1117 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1135:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1135 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1155:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1155 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1177:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1177 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1200:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1200 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1217:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1217 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1233:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1233 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1251:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1251 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1265:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1265 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.hxx:1282:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1282 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:136:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 136 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:153:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 153 | return ::std::auto_ptr< ::test::type > ( +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:240:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 240 | return ::std::auto_ptr< ::test::type > ( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:158:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 158 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:245:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 245 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:175:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 175 | return ::std::auto_ptr< ::test::type > ( +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:262:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 262 | return ::std::auto_ptr< ::test::type > ( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:180:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 180 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:267:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 267 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:193:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 193 | return ::std::auto_ptr< ::test::type > ( +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:280:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 280 | return ::std::auto_ptr< ::test::type > ( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:198:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 198 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:285:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 285 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:211:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 211 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:298:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 298 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:225:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 225 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:312:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 312 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:235:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 235 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:322:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 322 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:249:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 249 | ::std::auto_ptr< ::test::type > +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar -I/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:336:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 336 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:264:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 264 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:351:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 351 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:275:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 275 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:362:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 362 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:288:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 288 | return ::std::auto_ptr< ::test::type > ( +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:375:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 375 | return ::std::auto_ptr< ::test::type > ( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:293:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 293 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:380:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 380 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:306:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 306 | return ::std::auto_ptr< ::test::type > ( +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:393:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 393 | return ::std::auto_ptr< ::test::type > ( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:311:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 311 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:398:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 398 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:324:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 324 | return ::std::auto_ptr< ::test::type > ( +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:411:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 411 | return ::std::auto_ptr< ::test::type > ( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:329:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 329 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:416:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 416 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx: In function 'std::auto_ptr test::root(const xercesc_3_2::DOMDocument&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:339:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 339 | return ::std::auto_ptr< ::test::type > ( +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx: In function 'std::auto_ptr test::root(const xercesc_3_2::DOMDocument&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:426:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 426 | return ::std::auto_ptr< ::test::type > ( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:351:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 351 | ::std::auto_ptr< ::test::type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/driver.cxx: In function 'int main(int, char**)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/driver.cxx:28:5: note: in expansion of macro 'XSD_AUTO_PTR' - 28 | XSD_AUTO_PTR r (root (argv[1])); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:364:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 364 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx: In function 'std::auto_ptr test::root(xsd::cxx::xml::dom::auto_ptr, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/lcp/test.cxx:389:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 389 | ::std::auto_ptr< ::test::type > r ( +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:438:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 438 | ::std::auto_ptr< ::test::type > r ( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx: In member function 'void test::type::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:169:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 169 | ::std::auto_ptr< a_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:180:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 180 | ::std::auto_ptr< b_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:223:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 223 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:240:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 240 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:245:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 245 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:451:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 451 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:262:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 262 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:267:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 267 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx: In function 'std::auto_ptr test::root(xsd::cxx::xml::dom::auto_ptr, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:476:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 476 | ::std::auto_ptr< ::test::type > r ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -38941,20 +39104,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:280:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 280 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:285:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 285 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/iso-8859-1/test.hxx:1067:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1067 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ @@ -38991,18 +39140,12 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:298:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 298 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/iso-8859-1/test.hxx:1177:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1177 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/iso-8859-1/test.hxx:1200:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1200 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ @@ -39039,105 +39182,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:312:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 312 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:322:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 322 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:336:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 336 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:351:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 351 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:362:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 362 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:375:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 375 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:380:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 380 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:393:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 393 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:398:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 398 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:411:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 411 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:416:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 416 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx: In function 'std::auto_ptr test::root(const xercesc_3_2::DOMDocument&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:426:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 426 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:438:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 438 | ::std::auto_ptr< ::test::type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:451:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 451 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx: In function 'std::auto_ptr test::root(xsd::cxx::xml::dom::auto_ptr, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/utf-8/test.cxx:476:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 476 | ::std::auto_ptr< ::test::type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/iso-8859-1/driver.cxx: In function 'int main(int, char**)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -39148,6 +39192,7 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor -I/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor/driver.cxx In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/iso-8859-1/test.hxx:55, from /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/iso-8859-1/test.cxx:41: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] @@ -39673,8 +39718,7 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar -I/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor -I/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor/driver.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor -I/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor/test.cxx /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/char/iso-8859-1/test.hxx:1051:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1051 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ @@ -40020,6 +40064,112 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance -I/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/driver.cxx +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:55, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:41: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' + 894 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:64: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' + 934 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1026 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1095 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1103 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1114 | XSD_AUTO_PTR dom_info_; + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1137 | XSD_AUTO_PTR map_; + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1152 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1180 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' + 1203 | mutable XSD_AUTO_PTR content_; + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' + 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -40106,6 +40256,7 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance -I/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_content_type::clone() const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -40290,8 +40441,82 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor -I/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor/test.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance -I/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/driver.cxx +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:944:22: note: in expansion of macro 'XSD_AUTO_PTR' + 944 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:958:22: note: in expansion of macro 'XSD_AUTO_PTR' + 958 | return XSD_AUTO_PTR (); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:990:22: note: in expansion of macro 'XSD_AUTO_PTR' + 990 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_attribute_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1036:22: note: in expansion of macro 'XSD_AUTO_PTR' + 1036 | return XSD_AUTO_PTR (); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1047:22: note: in expansion of macro 'XSD_AUTO_PTR' + 1047 | return XSD_AUTO_PTR (); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1074:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1074 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::type&, bool)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1098:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1098 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::type&)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1106:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1106 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -40302,6 +40527,16 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_content_type::clone() const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1183:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1183 | return XSD_AUTO_PTR (new dom_content_type (dom)); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -40368,6 +40603,180 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1367:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1367 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::simple_type::text_content_type::clone() const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1370:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1370 | return XSD_AUTO_PTR (new text_content_type (text)); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1491:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1491 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1497:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1497 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1503:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1503 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1516:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1516 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1494:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1494 | return XSD_AUTO_PTR (new T (e, f, c)); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1500:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1500 | return XSD_AUTO_PTR (new T (a, f, c)); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1509:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1509 | return XSD_AUTO_PTR (new T (s, e, f, c)); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1519:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1519 | return XSD_AUTO_PTR (new T (s, f, c)); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1530:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1530 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1537:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1537 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1544:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1544 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1555:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1555 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1533:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1533 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1540:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1540 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1550:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1550 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1558:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1558 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -40452,101 +40861,82 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1049:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1049 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1065:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1065 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1083:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1083 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1099:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1099 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1115:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1115 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1133:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1133 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1153:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1153 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1175:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1175 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:138:14: note: in expansion of macro 'XSD_AUTO_PTR' + 138 | one (XSD_AUTO_PTR, container*); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1198:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1198 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:165:14: note: in expansion of macro 'XSD_AUTO_PTR' + 165 | set (XSD_AUTO_PTR); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1215:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1215 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:173:9: note: in expansion of macro 'XSD_AUTO_PTR' + 173 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1231:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1231 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::one::detach()': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:179:18: note: in expansion of macro 'XSD_AUTO_PTR' + 179 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1249:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1249 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:270:19: note: in expansion of macro 'XSD_AUTO_PTR' + 270 | optional (XSD_AUTO_PTR, container* = 0); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1263:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1263 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:343:14: note: in expansion of macro 'XSD_AUTO_PTR' + 343 | set (XSD_AUTO_PTR); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1280:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1280 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:348:9: note: in expansion of macro 'XSD_AUTO_PTR' + 348 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/driver.cxx: In function 'int main(int, char**)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::optional::detach()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/driver.cxx:31:5: note: in expansion of macro 'XSD_AUTO_PTR' - 31 | XSD_AUTO_PTR r (root (ifs, xml_schema::flags::dont_validate)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:354:18: note: in expansion of macro 'XSD_AUTO_PTR' + 354 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance -I/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor/test.hxx:55, from /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor/driver.cxx:9: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] @@ -40642,6 +41032,90 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1018 | push_back (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1032 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1054 | insert (iterator position, XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1042 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' + 45 | one (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' + 97 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' + 139 | optional (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' + 200 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -41072,8 +41546,198 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:55, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:41: +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1049:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1049 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1065:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1065 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1083:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1083 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1099:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1099 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1115:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1115 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1133:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1133 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1153:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1153 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1175:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1175 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1198:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1198 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1215:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1215 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1231:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1231 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1249:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1249 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1263:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1263 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1280:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1280 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/driver.cxx: In function 'int main(int, char**)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/driver.cxx:31:5: note: in expansion of macro 'XSD_AUTO_PTR' + 31 | XSD_AUTO_PTR r (root (ifs, xml_schema::flags::dont_validate)); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1049:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1049 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1065:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1065 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1083:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1083 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1099:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1099 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1115:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1115 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1133:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1133 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1153:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1153 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1175:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1175 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1198:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1198 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1215:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1215 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1231:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1231 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1249:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1249 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1263:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1263 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1280:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1280 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor/test.hxx:1149:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1149 | a (::std::auto_ptr< a_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor/test.hxx:1207:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1207 | b (::std::auto_ptr< b_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor/test.hxx:55, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor/test.cxx:41: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -41082,7 +41746,7 @@ | ^~~~~~~~~~~~ In file included from /usr/include/c++/12/memory:76, from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:64: + from /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor/test.hxx:66: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -41167,6 +41831,19 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor/test.hxx:1323: +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor/test.ixx:244:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 244 | a (::std::auto_ptr< a_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor/test.ixx:272:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 272 | b (::std::auto_ptr< b_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -41177,6 +41854,74 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx: In member function 'void test::type::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:171:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 171 | ::std::auto_ptr< a_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:182:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 182 | ::std::auto_ptr< b_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:225:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 225 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx: In function 'std::auto_ptr test::root(const std::wstring&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:242:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 242 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:247:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 247 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx: In function 'std::auto_ptr test::root(const std::wstring&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:264:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 264 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:269:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 269 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx: In function 'std::auto_ptr test::root(const std::wstring&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:282:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 282 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:287:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 287 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:300:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 300 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -41187,6 +41932,12 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:314:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 314 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -41196,6 +41947,12 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:324:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 324 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -41205,6 +41962,24 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:338:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 338 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:353:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 353 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:364:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 364 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_attribute_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -41224,12 +41999,33 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:377:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 377 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1074:20: note: in expansion of macro 'XSD_AUTO_PTR' 1074 | return XSD_AUTO_PTR ( | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:382:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 382 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:395:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 395 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -41253,6 +42049,34 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:400:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 400 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:413:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 413 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:418:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 418 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx: In function 'std::auto_ptr test::root(const xercesc_3_2::DOMDocument&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:428:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 428 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_content_type::clone() const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -41263,6 +42087,12 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:440:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 440 | ::std::auto_ptr< ::test::type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -41330,6 +42160,13 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:453:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 453 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -41417,6 +42254,10 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx: In function 'std::auto_ptr test::root(xsd::cxx::xml::dom::auto_ptr, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:478:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 478 | ::std::auto_ptr< ::test::type > r ( + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -41427,6 +42268,9 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -41597,6 +42441,7 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/float -I/build/xsd-4.0.0/xsd/tests/cxx/tree/float -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/float/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/float/driver.cxx /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor/test.hxx:1149:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1149 | a (::std::auto_ptr< a_type > p); | ^~~~~~~~ @@ -41622,6 +42467,20 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/float -I/build/xsd-4.0.0/xsd/tests/cxx/tree/float -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor/test.cxx: In member function 'void test::type::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor/test.cxx:314:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 314 | ::std::auto_ptr< a_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor/test.cxx:328:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 328 | ::std::auto_ptr< b_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:50, from /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/driver.cxx:12: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] @@ -42091,88 +42950,163 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/float -I/build/xsd-4.0.0/xsd/tests/cxx/tree/float -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/float/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/float/driver.cxx -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1049:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1049 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:138:14: note: in expansion of macro 'XSD_AUTO_PTR' + 138 | one (XSD_AUTO_PTR, container*); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1065:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1065 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:165:14: note: in expansion of macro 'XSD_AUTO_PTR' + 165 | set (XSD_AUTO_PTR); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1083:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1083 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:173:9: note: in expansion of macro 'XSD_AUTO_PTR' + 173 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1099:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1099 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::one::detach()': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:179:18: note: in expansion of macro 'XSD_AUTO_PTR' + 179 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1115:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1115 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:270:19: note: in expansion of macro 'XSD_AUTO_PTR' + 270 | optional (XSD_AUTO_PTR, container* = 0); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1133:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1133 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:343:14: note: in expansion of macro 'XSD_AUTO_PTR' + 343 | set (XSD_AUTO_PTR); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1153:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1153 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:348:9: note: in expansion of macro 'XSD_AUTO_PTR' + 348 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1175:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1175 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::optional::detach()': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:354:18: note: in expansion of macro 'XSD_AUTO_PTR' + 354 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1198:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1198 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1018 | push_back (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1215:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1215 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1032 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1231:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1231 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1054 | insert (iterator position, XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1249:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1249 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1263:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1263 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1042 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.hxx:1280:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1280 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' + 45 | one (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' + 97 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' + 139 | optional (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' + 200 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -42436,82 +43370,7 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:138:14: note: in expansion of macro 'XSD_AUTO_PTR' - 138 | one (XSD_AUTO_PTR, container*); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:165:14: note: in expansion of macro 'XSD_AUTO_PTR' - 165 | set (XSD_AUTO_PTR); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:173:9: note: in expansion of macro 'XSD_AUTO_PTR' - 173 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::one::detach()': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:179:18: note: in expansion of macro 'XSD_AUTO_PTR' - 179 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:270:19: note: in expansion of macro 'XSD_AUTO_PTR' - 270 | optional (XSD_AUTO_PTR, container* = 0); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:343:14: note: in expansion of macro 'XSD_AUTO_PTR' - 343 | set (XSD_AUTO_PTR); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:348:9: note: in expansion of macro 'XSD_AUTO_PTR' - 348 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::optional::detach()': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:354:18: note: in expansion of macro 'XSD_AUTO_PTR' - 354 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/list/ctor -I/build/xsd-4.0.0/xsd/tests/cxx/tree/list/ctor -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/list/ctor/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/list/ctor/driver.cxx /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -42672,363 +43531,444 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1018 | push_back (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:397:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 397 | ::std::auto_ptr< ::test::top_bottom > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1032 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:402:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 402 | ::std::auto_ptr< ::test::top_bottom > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1054 | insert (iterator position, XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:408:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 408 | ::std::auto_ptr< ::test::top_bottom > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:417:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 417 | ::std::auto_ptr< ::test::top_bottom > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1042 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:422:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 422 | ::std::auto_ptr< ::test::top_bottom > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' - 45 | one (XSD_AUTO_PTR x, container* c) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:428:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 428 | ::std::auto_ptr< ::test::top_bottom > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' - 97 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:434:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 434 | ::std::auto_ptr< ::test::top_bottom > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' - 139 | optional (XSD_AUTO_PTR x, container* c) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:440:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 440 | ::std::auto_ptr< ::test::top_bottom > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' - 200 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:447:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 447 | ::std::auto_ptr< ::test::top_bottom > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor/test.hxx:55, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor/test.cxx:41: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' - 894 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor/test.hxx:66: +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:457:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 457 | ::std::auto_ptr< ::test::top_bottom > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' - 934 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:462:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 462 | ::std::auto_ptr< ::test::top_bottom > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1026 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:468:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 468 | ::std::auto_ptr< ::test::top_bottom > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1095 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:477:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 477 | ::std::auto_ptr< ::test::top_bottom > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1103 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:482:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 482 | ::std::auto_ptr< ::test::top_bottom > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/driver.cxx: In function 'int main(int, char**)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1114 | XSD_AUTO_PTR dom_info_; - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/driver.cxx:28:5: note: in expansion of macro 'XSD_AUTO_PTR' + 28 | XSD_AUTO_PTR r (root (argv[1])); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1137 | XSD_AUTO_PTR map_; - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:397:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 397 | ::std::auto_ptr< ::test::top_bottom > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1152 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:402:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 402 | ::std::auto_ptr< ::test::top_bottom > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1180 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:408:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 408 | ::std::auto_ptr< ::test::top_bottom > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' - 1203 | mutable XSD_AUTO_PTR content_; - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:417:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 417 | ::std::auto_ptr< ::test::top_bottom > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx: In member function 'void test::type::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:171:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 171 | ::std::auto_ptr< a_type > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:422:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 422 | ::std::auto_ptr< ::test::top_bottom > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:182:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 182 | ::std::auto_ptr< b_type > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:428:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 428 | ::std::auto_ptr< ::test::top_bottom > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' - 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:434:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 434 | ::std::auto_ptr< ::test::top_bottom > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:225:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 225 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:440:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 440 | ::std::auto_ptr< ::test::top_bottom > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx: In function 'std::auto_ptr test::root(const std::wstring&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:242:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 242 | return ::std::auto_ptr< ::test::type > ( +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:447:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 447 | ::std::auto_ptr< ::test::top_bottom > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:457:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 457 | ::std::auto_ptr< ::test::top_bottom > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:462:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 462 | ::std::auto_ptr< ::test::top_bottom > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:468:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 468 | ::std::auto_ptr< ::test::top_bottom > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:477:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 477 | ::std::auto_ptr< ::test::top_bottom > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:482:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 482 | ::std::auto_ptr< ::test::top_bottom > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx:217:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 217 | ::std::auto_ptr< ::test::top_bottom > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx:234:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 234 | return ::std::auto_ptr< ::test::top_bottom > ( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:247:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 247 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx:239:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 239 | ::std::auto_ptr< ::test::top_bottom > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx: In function 'std::auto_ptr test::root(const std::wstring&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:264:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 264 | return ::std::auto_ptr< ::test::type > ( +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx:256:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 256 | return ::std::auto_ptr< ::test::top_bottom > ( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:269:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 269 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx:261:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 261 | ::std::auto_ptr< ::test::top_bottom > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx: In function 'std::auto_ptr test::root(const std::wstring&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:282:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 282 | return ::std::auto_ptr< ::test::type > ( +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx:274:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 274 | return ::std::auto_ptr< ::test::top_bottom > ( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:287:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 287 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx:279:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 279 | ::std::auto_ptr< ::test::top_bottom > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:300:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 300 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx:292:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 292 | ::std::auto_ptr< ::test::top_bottom > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:314:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 314 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx:306:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 306 | ::std::auto_ptr< ::test::top_bottom > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:324:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 324 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx:316:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 316 | ::std::auto_ptr< ::test::top_bottom > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:338:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 338 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx:330:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 330 | ::std::auto_ptr< ::test::top_bottom > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:353:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 353 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx:345:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 345 | ::std::auto_ptr< ::test::top_bottom > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:364:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 364 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx:356:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 356 | ::std::auto_ptr< ::test::top_bottom > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:377:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 377 | return ::std::auto_ptr< ::test::type > ( +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx:369:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 369 | return ::std::auto_ptr< ::test::top_bottom > ( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:382:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 382 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx:374:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 374 | ::std::auto_ptr< ::test::top_bottom > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:395:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 395 | return ::std::auto_ptr< ::test::type > ( +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx:387:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 387 | return ::std::auto_ptr< ::test::top_bottom > ( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:400:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 400 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx:392:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 392 | ::std::auto_ptr< ::test::top_bottom > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:413:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 413 | return ::std::auto_ptr< ::test::type > ( +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx:405:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 405 | return ::std::auto_ptr< ::test::top_bottom > ( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:418:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 418 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx:410:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 410 | ::std::auto_ptr< ::test::top_bottom > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx: In function 'std::auto_ptr test::root(const xercesc_3_2::DOMDocument&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:428:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 428 | return ::std::auto_ptr< ::test::type > ( +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx: In function 'std::auto_ptr test::root(const xercesc_3_2::DOMDocument&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx:420:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 420 | return ::std::auto_ptr< ::test::top_bottom > ( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:440:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 440 | ::std::auto_ptr< ::test::type > r ( +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx:432:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 432 | ::std::auto_ptr< ::test::top_bottom > r ( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:453:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 453 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx:445:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 445 | ::std::auto_ptr< ::test::top_bottom > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx: In function 'std::auto_ptr test::root(xsd::cxx::xml::dom::auto_ptr, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/encoding/wchar/test.cxx:478:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 478 | ::std::auto_ptr< ::test::type > r ( +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx: In function 'std::auto_ptr test::root(xsd::cxx::xml::dom::auto_ptr, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx:470:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 470 | ::std::auto_ptr< ::test::top_bottom > r ( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/float -I/build/xsd-4.0.0/xsd/tests/cxx/tree/float -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/list/ctor -I/build/xsd-4.0.0/xsd/tests/cxx/tree/list/ctor -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/list/ctor/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/list/ctor/test.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance -I/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/driver.cxx +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:50, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:41: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' + 894 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:61: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' + 934 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1026 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1095 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1103 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1114 | XSD_AUTO_PTR dom_info_; + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1137 | XSD_AUTO_PTR map_; + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1152 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1180 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' + 1203 | mutable XSD_AUTO_PTR content_; + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' + 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -43449,458 +44389,717 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/list/ctor -I/build/xsd-4.0.0/xsd/tests/cxx/tree/list/ctor -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/list/ctor/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/list/ctor/driver.cxx -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:397:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 397 | ::std::auto_ptr< ::test::top_bottom > - | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/list/ctor/test.hxx:55, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/list/ctor/driver.cxx:9: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' + 894 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/list/ctor/test.hxx:66: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:402:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 402 | ::std::auto_ptr< ::test::top_bottom > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' + 934 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:408:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 408 | ::std::auto_ptr< ::test::top_bottom > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1026 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:417:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 417 | ::std::auto_ptr< ::test::top_bottom > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1095 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:422:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 422 | ::std::auto_ptr< ::test::top_bottom > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1103 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:428:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 428 | ::std::auto_ptr< ::test::top_bottom > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1114 | XSD_AUTO_PTR dom_info_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:434:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 434 | ::std::auto_ptr< ::test::top_bottom > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1137 | XSD_AUTO_PTR map_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:440:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 440 | ::std::auto_ptr< ::test::top_bottom > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1152 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:447:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 447 | ::std::auto_ptr< ::test::top_bottom > +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1180 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' + 1203 | mutable XSD_AUTO_PTR content_; + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' + 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance -I/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:580:24: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 580 | float_list (::std::auto_ptr< float_list_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:614:25: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 614 | double_list (::std::auto_ptr< double_list_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:648:26: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 648 | decimal_list (::std::auto_ptr< decimal_list_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:754:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 754 | s (::std::auto_ptr< s_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:818:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 818 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:457:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 457 | ::std::auto_ptr< ::test::top_bottom > +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:823:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 823 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:462:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 462 | ::std::auto_ptr< ::test::top_bottom > +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:829:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 829 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:468:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 468 | ::std::auto_ptr< ::test::top_bottom > +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:838:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 838 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:477:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 477 | ::std::auto_ptr< ::test::top_bottom > +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:843:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 843 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:482:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 482 | ::std::auto_ptr< ::test::top_bottom > +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:849:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 849 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor/test.hxx:1149:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1149 | a (::std::auto_ptr< a_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:855:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 855 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor/test.hxx:1207:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1207 | b (::std::auto_ptr< b_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:861:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 861 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor/test.hxx:1323: -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor/test.ixx:244:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 244 | a (::std::auto_ptr< a_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:868:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 868 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor/test.ixx:272:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 272 | b (::std::auto_ptr< b_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:878:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 878 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:397:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 397 | ::std::auto_ptr< ::test::top_bottom > +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:883:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 883 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:402:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 402 | ::std::auto_ptr< ::test::top_bottom > +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:889:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 889 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:408:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 408 | ::std::auto_ptr< ::test::top_bottom > +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:898:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 898 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:417:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 417 | ::std::auto_ptr< ::test::top_bottom > +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:903:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 903 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:422:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 422 | ::std::auto_ptr< ::test::top_bottom > +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:911:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 911 | ::std::auto_ptr< ::xml_schema::double_ > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:428:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 428 | ::std::auto_ptr< ::test::top_bottom > +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:916:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 916 | ::std::auto_ptr< ::xml_schema::double_ > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:434:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 434 | ::std::auto_ptr< ::test::top_bottom > +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:922:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 922 | ::std::auto_ptr< ::xml_schema::double_ > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:440:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 440 | ::std::auto_ptr< ::test::top_bottom > +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:931:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 931 | ::std::auto_ptr< ::xml_schema::double_ > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:447:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 447 | ::std::auto_ptr< ::test::top_bottom > +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:936:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 936 | ::std::auto_ptr< ::xml_schema::double_ > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:457:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 457 | ::std::auto_ptr< ::test::top_bottom > +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:942:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 942 | ::std::auto_ptr< ::xml_schema::double_ > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:462:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 462 | ::std::auto_ptr< ::test::top_bottom > +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:948:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 948 | ::std::auto_ptr< ::xml_schema::double_ > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:468:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 468 | ::std::auto_ptr< ::test::top_bottom > +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:954:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 954 | ::std::auto_ptr< ::xml_schema::double_ > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:477:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 477 | ::std::auto_ptr< ::test::top_bottom > +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:961:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 961 | ::std::auto_ptr< ::xml_schema::double_ > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.hxx:482:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 482 | ::std::auto_ptr< ::test::top_bottom > +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:971:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 971 | ::std::auto_ptr< ::xml_schema::double_ > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/driver.cxx: In function 'int main(int, char**)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/driver.cxx:28:5: note: in expansion of macro 'XSD_AUTO_PTR' - 28 | XSD_AUTO_PTR r (root (argv[1])); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:976:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 976 | ::std::auto_ptr< ::xml_schema::double_ > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor/test.cxx: In member function 'void test::type::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor/test.cxx:314:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 314 | ::std::auto_ptr< a_type > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:982:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 982 | ::std::auto_ptr< ::xml_schema::double_ > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/ctor/test.cxx:328:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 328 | ::std::auto_ptr< b_type > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:991:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 991 | ::std::auto_ptr< ::xml_schema::double_ > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx:217:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 217 | ::std::auto_ptr< ::test::top_bottom > +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:996:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 996 | ::std::auto_ptr< ::xml_schema::double_ > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx:234:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 234 | return ::std::auto_ptr< ::test::top_bottom > ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:1004:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1004 | ::std::auto_ptr< ::xml_schema::decimal > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx:239:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 239 | ::std::auto_ptr< ::test::top_bottom > +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:1009:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1009 | ::std::auto_ptr< ::xml_schema::decimal > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx:256:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 256 | return ::std::auto_ptr< ::test::top_bottom > ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:1015:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1015 | ::std::auto_ptr< ::xml_schema::decimal > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx:261:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 261 | ::std::auto_ptr< ::test::top_bottom > +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:1024:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1024 | ::std::auto_ptr< ::xml_schema::decimal > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx:274:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 274 | return ::std::auto_ptr< ::test::top_bottom > ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:1029:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1029 | ::std::auto_ptr< ::xml_schema::decimal > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx:279:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 279 | ::std::auto_ptr< ::test::top_bottom > +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:1035:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1035 | ::std::auto_ptr< ::xml_schema::decimal > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx:292:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 292 | ::std::auto_ptr< ::test::top_bottom > +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:1041:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1041 | ::std::auto_ptr< ::xml_schema::decimal > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx:306:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 306 | ::std::auto_ptr< ::test::top_bottom > +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:1047:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1047 | ::std::auto_ptr< ::xml_schema::decimal > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx:316:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 316 | ::std::auto_ptr< ::test::top_bottom > +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:1054:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1054 | ::std::auto_ptr< ::xml_schema::decimal > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx:330:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 330 | ::std::auto_ptr< ::test::top_bottom > +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:1064:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1064 | ::std::auto_ptr< ::xml_schema::decimal > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx:345:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 345 | ::std::auto_ptr< ::test::top_bottom > +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:1069:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1069 | ::std::auto_ptr< ::xml_schema::decimal > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx:356:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 356 | ::std::auto_ptr< ::test::top_bottom > +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:1075:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1075 | ::std::auto_ptr< ::xml_schema::decimal > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx:369:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 369 | return ::std::auto_ptr< ::test::top_bottom > ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:1084:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1084 | ::std::auto_ptr< ::xml_schema::decimal > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx:374:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 374 | ::std::auto_ptr< ::test::top_bottom > +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:1089:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1089 | ::std::auto_ptr< ::xml_schema::decimal > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx:387:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 387 | return ::std::auto_ptr< ::test::top_bottom > ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:944:22: note: in expansion of macro 'XSD_AUTO_PTR' + 944 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx:392:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 392 | ::std::auto_ptr< ::test::top_bottom > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:958:22: note: in expansion of macro 'XSD_AUTO_PTR' + 958 | return XSD_AUTO_PTR (); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx:405:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 405 | return ::std::auto_ptr< ::test::top_bottom > ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:990:22: note: in expansion of macro 'XSD_AUTO_PTR' + 990 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx:410:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 410 | ::std::auto_ptr< ::test::top_bottom > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_attribute_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1036:22: note: in expansion of macro 'XSD_AUTO_PTR' + 1036 | return XSD_AUTO_PTR (); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx: In function 'std::auto_ptr test::root(const xercesc_3_2::DOMDocument&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx:420:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 420 | return ::std::auto_ptr< ::test::top_bottom > ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1047:22: note: in expansion of macro 'XSD_AUTO_PTR' + 1047 | return XSD_AUTO_PTR (); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx:432:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 432 | ::std::auto_ptr< ::test::top_bottom > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1074:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1074 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx:445:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 445 | ::std::auto_ptr< ::test::top_bottom > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::type&, bool)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1098:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1098 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx: In function 'std::auto_ptr test::root(xsd::cxx::xml::dom::auto_ptr, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/enumeration/inheritance/test.cxx:470:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 470 | ::std::auto_ptr< ::test::top_bottom > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::type&)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1106:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1106 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/list/ctor -I/build/xsd-4.0.0/xsd/tests/cxx/tree/list/ctor -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/list/ctor/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/list/ctor/test.cxx -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:50, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/float/driver.cxx:12: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_content_type::clone() const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' - 894 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/float/driver.cxx:9: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1183:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1183 | return XSD_AUTO_PTR (new dom_content_type (dom)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' - 934 | virtual XSD_AUTO_PTR +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1367:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1367 | virtual XSD_AUTO_PTR | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::simple_type::text_content_type::clone() const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1026 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1370:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1370 | return XSD_AUTO_PTR (new text_content_type (text)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1095 | static XSD_AUTO_PTR +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1491:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1491 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1497:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1497 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1503:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1503 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1516:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1516 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1494:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1494 | return XSD_AUTO_PTR (new T (e, f, c)); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1103 | static XSD_AUTO_PTR +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1500:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1500 | return XSD_AUTO_PTR (new T (a, f, c)); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1114 | XSD_AUTO_PTR dom_info_; - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1509:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1509 | return XSD_AUTO_PTR (new T (s, e, f, c)); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1519:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1519 | return XSD_AUTO_PTR (new T (s, f, c)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1137 | XSD_AUTO_PTR map_; +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1530:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1530 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1537:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1537 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1544:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1544 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1555:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1555 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1533:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1533 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1540:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1540 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1550:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1550 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1558:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1558 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:1370: +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.ixx:216:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 216 | float_list (::std::auto_ptr< float_list_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.ixx:265:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 265 | double_list (::std::auto_ptr< double_list_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.ixx:314:24: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 314 | decimal_list (::std::auto_ptr< decimal_list_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.ixx:475:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 475 | s (::std::auto_ptr< s_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:138:14: note: in expansion of macro 'XSD_AUTO_PTR' + 138 | one (XSD_AUTO_PTR, container*); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:165:14: note: in expansion of macro 'XSD_AUTO_PTR' + 165 | set (XSD_AUTO_PTR); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:173:9: note: in expansion of macro 'XSD_AUTO_PTR' + 173 | XSD_AUTO_PTR | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::one::detach()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1152 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:179:18: note: in expansion of macro 'XSD_AUTO_PTR' + 179 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1180 | virtual XSD_AUTO_PTR +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:270:19: note: in expansion of macro 'XSD_AUTO_PTR' + 270 | optional (XSD_AUTO_PTR, container* = 0); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; @@ -43908,444 +45107,590 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' - 1203 | mutable XSD_AUTO_PTR content_; +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:343:14: note: in expansion of macro 'XSD_AUTO_PTR' + 343 | set (XSD_AUTO_PTR); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:348:9: note: in expansion of macro 'XSD_AUTO_PTR' + 348 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::optional::detach()': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:354:18: note: in expansion of macro 'XSD_AUTO_PTR' + 354 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1018 | push_back (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1032 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1054 | insert (iterator position, XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1042 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' + 45 | one (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' + 97 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' + 139 | optional (XSD_AUTO_PTR x, container* c) | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' - 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' + 200 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In member function 'void test::type::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:540:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 540 | ::std::auto_ptr< float_list_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:562:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 562 | ::std::auto_ptr< double_list_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:584:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 584 | ::std::auto_ptr< decimal_list_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:598:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 598 | ::std::auto_ptr< simple_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:609:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 609 | ::std::auto_ptr< complex_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:729:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 729 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:746:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 746 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:751:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 751 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:768:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 768 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:773:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 773 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:786:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 786 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:791:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 791 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:804:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 804 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:818:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 818 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:828:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 828 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:842:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 842 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:857:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 857 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:868:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 868 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:881:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 881 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:886:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 886 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:899:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 899 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:904:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 904 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:917:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 917 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:922:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 922 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In function 'std::auto_ptr test::root(const xercesc_3_2::DOMDocument&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:932:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 932 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:944:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 944 | ::std::auto_ptr< ::test::type > r ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:944:22: note: in expansion of macro 'XSD_AUTO_PTR' - 944 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:957:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 957 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:958:22: note: in expansion of macro 'XSD_AUTO_PTR' - 958 | return XSD_AUTO_PTR (); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In function 'std::auto_ptr test::root(xsd::cxx::xml::dom::auto_ptr, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:982:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 982 | ::std::auto_ptr< ::test::type > r ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:990:22: note: in expansion of macro 'XSD_AUTO_PTR' - 990 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:995:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 995 | ::std::auto_ptr< ::xml_schema::double_ > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_attribute_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1036:22: note: in expansion of macro 'XSD_AUTO_PTR' - 1036 | return XSD_AUTO_PTR (); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In function 'std::auto_ptr test::double_(const std::string&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1012:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1012 | return ::std::auto_ptr< ::xml_schema::double_ > ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1047:22: note: in expansion of macro 'XSD_AUTO_PTR' - 1047 | return XSD_AUTO_PTR (); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1017:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1017 | ::std::auto_ptr< ::xml_schema::double_ > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1074:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1074 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In function 'std::auto_ptr test::double_(const std::string&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1034:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1034 | return ::std::auto_ptr< ::xml_schema::double_ > ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::type&, bool)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1098:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1098 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1039:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1039 | ::std::auto_ptr< ::xml_schema::double_ > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::type&)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1106:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1106 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In function 'std::auto_ptr test::double_(const std::string&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1052:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1052 | return ::std::auto_ptr< ::xml_schema::double_ > ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_content_type::clone() const': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1183:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1183 | return XSD_AUTO_PTR (new dom_content_type (dom)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1057:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1057 | ::std::auto_ptr< ::xml_schema::double_ > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1367:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1367 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1070:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1070 | ::std::auto_ptr< ::xml_schema::double_ > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::simple_type::text_content_type::clone() const': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1370:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1370 | return XSD_AUTO_PTR (new text_content_type (text)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1084:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1084 | ::std::auto_ptr< ::xml_schema::double_ > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1491:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1491 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1094:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1094 | ::std::auto_ptr< ::xml_schema::double_ > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1497:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1497 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1108:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1108 | ::std::auto_ptr< ::xml_schema::double_ > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1503:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1503 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1123:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1123 | ::std::auto_ptr< ::xml_schema::double_ > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1516:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1516 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1134:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1134 | ::std::auto_ptr< ::xml_schema::double_ > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1494:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1494 | return XSD_AUTO_PTR (new T (e, f, c)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In function 'std::auto_ptr test::double_(xercesc_3_2::InputSource&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1147:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1147 | return ::std::auto_ptr< ::xml_schema::double_ > ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1500:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1500 | return XSD_AUTO_PTR (new T (a, f, c)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1152:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1152 | ::std::auto_ptr< ::xml_schema::double_ > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1509:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1509 | return XSD_AUTO_PTR (new T (s, e, f, c)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In function 'std::auto_ptr test::double_(xercesc_3_2::InputSource&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1165:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1165 | return ::std::auto_ptr< ::xml_schema::double_ > ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1519:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1519 | return XSD_AUTO_PTR (new T (s, f, c)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1170:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1170 | ::std::auto_ptr< ::xml_schema::double_ > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1530:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1530 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In function 'std::auto_ptr test::double_(xercesc_3_2::InputSource&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1183:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1183 | return ::std::auto_ptr< ::xml_schema::double_ > ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1537:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1537 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1188:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1188 | ::std::auto_ptr< ::xml_schema::double_ > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1544:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1544 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In function 'std::auto_ptr test::double_(const xercesc_3_2::DOMDocument&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1198:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1198 | return ::std::auto_ptr< ::xml_schema::double_ > ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1555:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1555 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1210:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1210 | ::std::auto_ptr< ::xml_schema::double_ > r ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1533:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1533 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1224:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1224 | ::std::auto_ptr< ::xml_schema::double_ > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1540:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1540 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In function 'std::auto_ptr test::double_(xsd::cxx::xml::dom::auto_ptr, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1249:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1249 | ::std::auto_ptr< ::xml_schema::double_ > r ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1550:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1550 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1263:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1263 | ::std::auto_ptr< ::xml_schema::decimal > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1558:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1558 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In function 'std::auto_ptr test::decimal(const std::string&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1280:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1280 | return ::std::auto_ptr< ::xml_schema::decimal > ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:138:14: note: in expansion of macro 'XSD_AUTO_PTR' - 138 | one (XSD_AUTO_PTR, container*); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1285:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1285 | ::std::auto_ptr< ::xml_schema::decimal > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:165:14: note: in expansion of macro 'XSD_AUTO_PTR' - 165 | set (XSD_AUTO_PTR); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In function 'std::auto_ptr test::decimal(const std::string&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1302:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1302 | return ::std::auto_ptr< ::xml_schema::decimal > ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:173:9: note: in expansion of macro 'XSD_AUTO_PTR' - 173 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1307:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1307 | ::std::auto_ptr< ::xml_schema::decimal > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::one::detach()': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:179:18: note: in expansion of macro 'XSD_AUTO_PTR' - 179 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In function 'std::auto_ptr test::decimal(const std::string&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1320:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1320 | return ::std::auto_ptr< ::xml_schema::decimal > ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:270:19: note: in expansion of macro 'XSD_AUTO_PTR' - 270 | optional (XSD_AUTO_PTR, container* = 0); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1325:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1325 | ::std::auto_ptr< ::xml_schema::decimal > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:343:14: note: in expansion of macro 'XSD_AUTO_PTR' - 343 | set (XSD_AUTO_PTR); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1338:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1338 | ::std::auto_ptr< ::xml_schema::decimal > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:348:9: note: in expansion of macro 'XSD_AUTO_PTR' - 348 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1352:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1352 | ::std::auto_ptr< ::xml_schema::decimal > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::optional::detach()': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:354:18: note: in expansion of macro 'XSD_AUTO_PTR' - 354 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1362:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1362 | ::std::auto_ptr< ::xml_schema::decimal > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1018 | push_back (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1376:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1376 | ::std::auto_ptr< ::xml_schema::decimal > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1032 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1391:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1391 | ::std::auto_ptr< ::xml_schema::decimal > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1054 | insert (iterator position, XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1402:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1402 | ::std::auto_ptr< ::xml_schema::decimal > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In function 'std::auto_ptr test::decimal(xercesc_3_2::InputSource&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1415:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1415 | return ::std::auto_ptr< ::xml_schema::decimal > ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1042 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1420:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1420 | ::std::auto_ptr< ::xml_schema::decimal > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' - 45 | one (XSD_AUTO_PTR x, container* c) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In function 'std::auto_ptr test::decimal(xercesc_3_2::InputSource&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1433:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1433 | return ::std::auto_ptr< ::xml_schema::decimal > ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' - 97 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1438:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1438 | ::std::auto_ptr< ::xml_schema::decimal > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' - 139 | optional (XSD_AUTO_PTR x, container* c) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In function 'std::auto_ptr test::decimal(xercesc_3_2::InputSource&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1451:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1451 | return ::std::auto_ptr< ::xml_schema::decimal > ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' - 200 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1456:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1456 | ::std::auto_ptr< ::xml_schema::decimal > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/list/ctor/test.hxx:55, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/list/ctor/driver.cxx:9: +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In function 'std::auto_ptr test::decimal(const xercesc_3_2::DOMDocument&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1466:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1466 | return ::std::auto_ptr< ::xml_schema::decimal > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:50, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/float/driver.cxx:12: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -44353,8 +45698,7 @@ 894 | virtual XSD_AUTO_PTR | ^~~~~~~~~~~~ In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/list/ctor/test.hxx:66: + from /build/xsd-4.0.0/xsd/tests/cxx/tree/float/driver.cxx:9: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -44412,6 +45756,12 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1478:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1478 | ::std::auto_ptr< ::xml_schema::decimal > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -44439,6 +45789,20 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1492:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1492 | ::std::auto_ptr< ::xml_schema::decimal > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In function 'std::auto_ptr test::decimal(xsd::cxx::xml::dom::auto_ptr, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1517:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1517 | ::std::auto_ptr< ::xml_schema::decimal > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -44709,268 +46073,269 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/list/ctor/test.hxx:55, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/list/ctor/test.cxx:41: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:138:14: note: in expansion of macro 'XSD_AUTO_PTR' - 138 | one (XSD_AUTO_PTR, container*); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' + 894 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/list/ctor/test.hxx:66: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:165:14: note: in expansion of macro 'XSD_AUTO_PTR' - 165 | set (XSD_AUTO_PTR); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' + 934 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:173:9: note: in expansion of macro 'XSD_AUTO_PTR' - 173 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:138:14: note: in expansion of macro 'XSD_AUTO_PTR' + 138 | one (XSD_AUTO_PTR, container*); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::one::detach()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:179:18: note: in expansion of macro 'XSD_AUTO_PTR' - 179 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1026 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:270:19: note: in expansion of macro 'XSD_AUTO_PTR' - 270 | optional (XSD_AUTO_PTR, container* = 0); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:165:14: note: in expansion of macro 'XSD_AUTO_PTR' + 165 | set (XSD_AUTO_PTR); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:343:14: note: in expansion of macro 'XSD_AUTO_PTR' - 343 | set (XSD_AUTO_PTR); - | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:348:9: note: in expansion of macro 'XSD_AUTO_PTR' - 348 | XSD_AUTO_PTR +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:173:9: note: in expansion of macro 'XSD_AUTO_PTR' + 173 | XSD_AUTO_PTR | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::optional::detach()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:354:18: note: in expansion of macro 'XSD_AUTO_PTR' - 354 | return XSD_AUTO_PTR (x); +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1095 | static XSD_AUTO_PTR | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1018 | push_back (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1103 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::one::detach()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1032 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:179:18: note: in expansion of macro 'XSD_AUTO_PTR' + 179 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1054 | insert (iterator position, XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1114 | XSD_AUTO_PTR dom_info_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1137 | XSD_AUTO_PTR map_; + | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:270:19: note: in expansion of macro 'XSD_AUTO_PTR' + 270 | optional (XSD_AUTO_PTR, container* = 0); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1042 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:343:14: note: in expansion of macro 'XSD_AUTO_PTR' + 343 | set (XSD_AUTO_PTR); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' - 45 | one (XSD_AUTO_PTR x, container* c) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1152 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' - 97 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:348:9: note: in expansion of macro 'XSD_AUTO_PTR' + 348 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' - 139 | optional (XSD_AUTO_PTR x, container* c) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1180 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' - 200 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' + 1203 | mutable XSD_AUTO_PTR content_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:50, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:41: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::optional::detach()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' - 894 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:61: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:354:18: note: in expansion of macro 'XSD_AUTO_PTR' + 354 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' - 934 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' + 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1026 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1018 | push_back (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1095 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1032 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1103 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1054 | insert (iterator position, XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1114 | XSD_AUTO_PTR dom_info_; - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel -I/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/driver.cxx +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1137 | XSD_AUTO_PTR map_; - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1042 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1152 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' + 45 | one (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1180 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' + 97 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' - 1203 | mutable XSD_AUTO_PTR content_; +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' + 139 | optional (XSD_AUTO_PTR x, container* c) | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' - 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' + 200 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -45234,282 +46599,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:580:24: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 580 | float_list (::std::auto_ptr< float_list_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:614:25: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 614 | double_list (::std::auto_ptr< double_list_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:648:26: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 648 | decimal_list (::std::auto_ptr< decimal_list_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:754:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 754 | s (::std::auto_ptr< s_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:818:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 818 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:823:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 823 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:829:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 829 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:838:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 838 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:843:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 843 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:849:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 849 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:855:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 855 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:861:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 861 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:868:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 868 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:878:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 878 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:883:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 883 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:889:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 889 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:898:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 898 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:903:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 903 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:911:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 911 | ::std::auto_ptr< ::xml_schema::double_ > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:916:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 916 | ::std::auto_ptr< ::xml_schema::double_ > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:922:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 922 | ::std::auto_ptr< ::xml_schema::double_ > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:931:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 931 | ::std::auto_ptr< ::xml_schema::double_ > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:936:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 936 | ::std::auto_ptr< ::xml_schema::double_ > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:942:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 942 | ::std::auto_ptr< ::xml_schema::double_ > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:948:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 948 | ::std::auto_ptr< ::xml_schema::double_ > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:954:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 954 | ::std::auto_ptr< ::xml_schema::double_ > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:961:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 961 | ::std::auto_ptr< ::xml_schema::double_ > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:971:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 971 | ::std::auto_ptr< ::xml_schema::double_ > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:976:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 976 | ::std::auto_ptr< ::xml_schema::double_ > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:982:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 982 | ::std::auto_ptr< ::xml_schema::double_ > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:991:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 991 | ::std::auto_ptr< ::xml_schema::double_ > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:996:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 996 | ::std::auto_ptr< ::xml_schema::double_ > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:1004:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1004 | ::std::auto_ptr< ::xml_schema::decimal > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:1009:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1009 | ::std::auto_ptr< ::xml_schema::decimal > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:1015:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1015 | ::std::auto_ptr< ::xml_schema::decimal > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:1024:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1024 | ::std::auto_ptr< ::xml_schema::decimal > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:1029:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1029 | ::std::auto_ptr< ::xml_schema::decimal > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:1035:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1035 | ::std::auto_ptr< ::xml_schema::decimal > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:1041:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1041 | ::std::auto_ptr< ::xml_schema::decimal > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:1047:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1047 | ::std::auto_ptr< ::xml_schema::decimal > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:1054:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1054 | ::std::auto_ptr< ::xml_schema::decimal > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:1064:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1064 | ::std::auto_ptr< ::xml_schema::decimal > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:1069:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1069 | ::std::auto_ptr< ::xml_schema::decimal > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:1075:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1075 | ::std::auto_ptr< ::xml_schema::decimal > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:1084:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1084 | ::std::auto_ptr< ::xml_schema::decimal > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:1089:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1089 | ::std::auto_ptr< ::xml_schema::decimal > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -45567,13 +46656,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.hxx:1370: -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.ixx:216:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 216 | float_list (::std::auto_ptr< float_list_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -45583,13 +46665,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance -I/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/driver.cxx -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.ixx:265:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 265 | double_list (::std::auto_ptr< double_list_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::optional::detach()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -45600,28 +46675,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.ixx:314:24: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 314 | decimal_list (::std::auto_ptr< decimal_list_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.ixx:475:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 475 | s (::std::auto_ptr< s_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/driver.cxx: In function 'int main(int, char**)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/driver.cxx:28:5: note: in expansion of macro 'XSD_AUTO_PTR' - 28 | XSD_AUTO_PTR r (root (argv[1])); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -46007,8 +47060,18 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/list/ctor/test.hxx:55, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/list/ctor/test.cxx:41: +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/driver.cxx: In function 'int main(int, char**)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/float/driver.cxx:28:5: note: in expansion of macro 'XSD_AUTO_PTR' + 28 | XSD_AUTO_PTR r (root (argv[1])); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.hxx:50, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/driver.cxx:11: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -46016,8 +47079,7 @@ 894 | virtual XSD_AUTO_PTR | ^~~~~~~~~~~~ In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/list/ctor/test.hxx:66: + from /build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/driver.cxx:8: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -46112,184 +47174,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In member function 'void test::type::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:540:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 540 | ::std::auto_ptr< float_list_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:562:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 562 | ::std::auto_ptr< double_list_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:584:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 584 | ::std::auto_ptr< decimal_list_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:598:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 598 | ::std::auto_ptr< simple_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:609:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 609 | ::std::auto_ptr< complex_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:729:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 729 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:746:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 746 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:751:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 751 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:768:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 768 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:773:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 773 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:786:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 786 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:791:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 791 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:804:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 804 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:818:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 818 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:828:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 828 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:842:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 842 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:857:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 857 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:868:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 868 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:881:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 881 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:886:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 886 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:899:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 899 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:904:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 904 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:917:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 917 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:922:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 922 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In function 'std::auto_ptr test::root(const xercesc_3_2::DOMDocument&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:932:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 932 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:944:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 944 | ::std::auto_ptr< ::test::type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:957:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 957 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -46309,13 +47193,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In function 'std::auto_ptr test::root(xsd::cxx::xml::dom::auto_ptr, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:982:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 982 | ::std::auto_ptr< ::test::type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -46325,20 +47202,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:995:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 995 | ::std::auto_ptr< ::xml_schema::double_ > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In function 'std::auto_ptr test::double_(const std::string&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1012:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1012 | return ::std::auto_ptr< ::xml_schema::double_ > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_attribute_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -46358,13 +47221,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1017:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1017 | ::std::auto_ptr< ::xml_schema::double_ > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -46374,13 +47230,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In function 'std::auto_ptr test::double_(const std::string&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1034:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1034 | return ::std::auto_ptr< ::xml_schema::double_ > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::type&, bool)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -46401,27 +47250,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1039:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1039 | ::std::auto_ptr< ::xml_schema::double_ > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In function 'std::auto_ptr test::double_(const std::string&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1052:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1052 | return ::std::auto_ptr< ::xml_schema::double_ > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1057:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1057 | ::std::auto_ptr< ::xml_schema::double_ > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_content_type::clone() const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -46432,24 +47260,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1070:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1070 | ::std::auto_ptr< ::xml_schema::double_ > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1084:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1084 | ::std::auto_ptr< ::xml_schema::double_ > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1094:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1094 | ::std::auto_ptr< ::xml_schema::double_ > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -46470,12 +47280,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1108:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1108 | ::std::auto_ptr< ::xml_schema::double_ > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -46513,12 +47317,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1123:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1123 | ::std::auto_ptr< ::xml_schema::double_ > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -46559,12 +47357,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1134:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1134 | ::std::auto_ptr< ::xml_schema::double_ > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -46602,13 +47394,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In function 'std::auto_ptr test::double_(xercesc_3_2::InputSource&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1147:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1147 | return ::std::auto_ptr< ::xml_schema::double_ > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -46639,20 +47424,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1152:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1152 | ::std::auto_ptr< ::xml_schema::double_ > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In function 'std::auto_ptr test::double_(xercesc_3_2::InputSource&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1165:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1165 | return ::std::auto_ptr< ::xml_schema::double_ > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -46663,208 +47434,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1170:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1170 | ::std::auto_ptr< ::xml_schema::double_ > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In function 'std::auto_ptr test::double_(xercesc_3_2::InputSource&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1183:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1183 | return ::std::auto_ptr< ::xml_schema::double_ > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1188:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1188 | ::std::auto_ptr< ::xml_schema::double_ > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In function 'std::auto_ptr test::double_(const xercesc_3_2::DOMDocument&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1198:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1198 | return ::std::auto_ptr< ::xml_schema::double_ > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1210:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1210 | ::std::auto_ptr< ::xml_schema::double_ > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1224:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1224 | ::std::auto_ptr< ::xml_schema::double_ > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In function 'std::auto_ptr test::double_(xsd::cxx::xml::dom::auto_ptr, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1249:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1249 | ::std::auto_ptr< ::xml_schema::double_ > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1263:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1263 | ::std::auto_ptr< ::xml_schema::decimal > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In function 'std::auto_ptr test::decimal(const std::string&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1280:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1280 | return ::std::auto_ptr< ::xml_schema::decimal > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1285:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1285 | ::std::auto_ptr< ::xml_schema::decimal > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In function 'std::auto_ptr test::decimal(const std::string&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1302:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1302 | return ::std::auto_ptr< ::xml_schema::decimal > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1307:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1307 | ::std::auto_ptr< ::xml_schema::decimal > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In function 'std::auto_ptr test::decimal(const std::string&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1320:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1320 | return ::std::auto_ptr< ::xml_schema::decimal > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1325:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1325 | ::std::auto_ptr< ::xml_schema::decimal > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1338:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1338 | ::std::auto_ptr< ::xml_schema::decimal > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1352:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1352 | ::std::auto_ptr< ::xml_schema::decimal > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1362:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1362 | ::std::auto_ptr< ::xml_schema::decimal > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1376:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1376 | ::std::auto_ptr< ::xml_schema::decimal > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1391:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1391 | ::std::auto_ptr< ::xml_schema::decimal > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1402:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1402 | ::std::auto_ptr< ::xml_schema::decimal > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In function 'std::auto_ptr test::decimal(xercesc_3_2::InputSource&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1415:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1415 | return ::std::auto_ptr< ::xml_schema::decimal > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1420:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1420 | ::std::auto_ptr< ::xml_schema::decimal > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In function 'std::auto_ptr test::decimal(xercesc_3_2::InputSource&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1433:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1433 | return ::std::auto_ptr< ::xml_schema::decimal > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1438:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1438 | ::std::auto_ptr< ::xml_schema::decimal > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In function 'std::auto_ptr test::decimal(xercesc_3_2::InputSource&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1451:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1451 | return ::std::auto_ptr< ::xml_schema::decimal > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1456:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1456 | ::std::auto_ptr< ::xml_schema::decimal > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In function 'std::auto_ptr test::decimal(const xercesc_3_2::DOMDocument&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1466:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1466 | return ::std::auto_ptr< ::xml_schema::decimal > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1478:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1478 | ::std::auto_ptr< ::xml_schema::decimal > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1492:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1492 | ::std::auto_ptr< ::xml_schema::decimal > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx: In function 'std::auto_ptr test::decimal(xsd::cxx::xml::dom::auto_ptr, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/float/test.cxx:1517:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1517 | ::std::auto_ptr< ::xml_schema::decimal > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -46978,7 +47547,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance -I/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -47027,7 +47595,7 @@ 64 | template class auto_ptr; | ^~~~~~~~ In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.hxx:50, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/driver.cxx:11: + from /build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:41: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -47035,7 +47603,8 @@ 894 | virtual XSD_AUTO_PTR | ^~~~~~~~~~~~ In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/driver.cxx:8: + from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.hxx:61: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -47130,6 +47699,161 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.hxx:278:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 278 | e (::std::auto_ptr< e_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.hxx:331:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 331 | e1 (::std::auto_ptr< e1_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.hxx:385:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 385 | string (::std::auto_ptr< string_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.hxx:447:31: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 447 | ctor_args_derived (::std::auto_ptr< ctor_args_derived_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.hxx:509:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 509 | foo (::std::auto_ptr< foo_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.hxx:593:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 593 | ::std::auto_ptr< ::test::derived > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.hxx:598:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 598 | ::std::auto_ptr< ::test::derived > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.hxx:604:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 604 | ::std::auto_ptr< ::test::derived > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.hxx:613:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 613 | ::std::auto_ptr< ::test::derived > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.hxx:618:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 618 | ::std::auto_ptr< ::test::derived > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.hxx:624:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 624 | ::std::auto_ptr< ::test::derived > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.hxx:630:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 630 | ::std::auto_ptr< ::test::derived > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.hxx:636:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 636 | ::std::auto_ptr< ::test::derived > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.hxx:643:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 643 | ::std::auto_ptr< ::test::derived > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.hxx:653:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 653 | ::std::auto_ptr< ::test::derived > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.hxx:658:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 658 | ::std::auto_ptr< ::test::derived > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.hxx:664:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 664 | ::std::auto_ptr< ::test::derived > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.hxx:673:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 673 | ::std::auto_ptr< ::test::derived > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.hxx:678:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 678 | ::std::auto_ptr< ::test::derived > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.hxx:685: +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.ixx:70:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 70 | e (::std::auto_ptr< e_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.ixx:102:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 102 | e1 (::std::auto_ptr< e1_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.ixx:134:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 134 | string (::std::auto_ptr< string_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.ixx:166:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 166 | ctor_args_derived (::std::auto_ptr< ctor_args_derived_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.ixx:198:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 198 | foo (::std::auto_ptr< foo_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/driver.cxx: In function 'int main(int, char**)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/driver.cxx:27:5: note: in expansion of macro 'XSD_AUTO_PTR' + 27 | XSD_AUTO_PTR r (root (argv[1])); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -47550,7 +48274,8 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel -I/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/driver.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel -I/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java -I/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/driver.cxx /build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.hxx:278:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 278 | e (::std::auto_ptr< e_type > p); | ^~~~~~~~ @@ -47696,18 +48421,135 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/driver.cxx: In function 'int main(int, char**)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/driver.cxx:27:5: note: in expansion of macro 'XSD_AUTO_PTR' - 27 | XSD_AUTO_PTR r (root (argv[1])); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx: In member function 'void test::base::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:94:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 94 | ::std::auto_ptr< e_type > r ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.hxx:50, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:41: +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx: In member function 'void test::derived::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:189:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 189 | ::std::auto_ptr< e1_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:618:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 618 | ::std::auto_ptr< ::test::derived > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:635:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 635 | return ::std::auto_ptr< ::test::derived > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:640:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 640 | ::std::auto_ptr< ::test::derived > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:657:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 657 | return ::std::auto_ptr< ::test::derived > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:662:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 662 | ::std::auto_ptr< ::test::derived > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:675:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 675 | return ::std::auto_ptr< ::test::derived > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:680:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 680 | ::std::auto_ptr< ::test::derived > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:693:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 693 | ::std::auto_ptr< ::test::derived > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:707:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 707 | ::std::auto_ptr< ::test::derived > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:717:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 717 | ::std::auto_ptr< ::test::derived > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:731:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 731 | ::std::auto_ptr< ::test::derived > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:746:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 746 | ::std::auto_ptr< ::test::derived > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:757:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 757 | ::std::auto_ptr< ::test::derived > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:770:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 770 | return ::std::auto_ptr< ::test::derived > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:775:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 775 | ::std::auto_ptr< ::test::derived > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:788:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 788 | return ::std::auto_ptr< ::test::derived > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:793:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 793 | ::std::auto_ptr< ::test::derived > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:50, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/driver.cxx:13: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -47716,7 +48558,14 @@ | ^~~~~~~~~~~~ In file included from /usr/include/c++/12/memory:76, from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.hxx:61: + from /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:61: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:806:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 806 | return ::std::auto_ptr< ::test::derived > ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -47738,6 +48587,13 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:811:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 811 | ::std::auto_ptr< ::test::derived > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -47756,6 +48612,13 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx: In function 'std::auto_ptr test::root(const xercesc_3_2::DOMDocument&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:821:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 821 | return ::std::auto_ptr< ::test::derived > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -47783,6 +48646,12 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:833:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 833 | ::std::auto_ptr< ::test::derived > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -47801,7 +48670,20 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel -I/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:846:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 846 | ::std::auto_ptr< ::test::derived > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx: In function 'std::auto_ptr test::root(xsd::cxx::xml::dom::auto_ptr, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:871:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 871 | ::std::auto_ptr< ::test::derived > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -47812,6 +48694,7 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java -I/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -47831,7 +48714,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java -I/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/driver.cxx /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -48233,326 +49115,153 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java -I/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.hxx:278:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 278 | e (::std::auto_ptr< e_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.hxx:331:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 331 | e1 (::std::auto_ptr< e1_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.hxx:385:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 385 | string (::std::auto_ptr< string_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.hxx:447:31: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 447 | ctor_args_derived (::std::auto_ptr< ctor_args_derived_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.hxx:509:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 509 | foo (::std::auto_ptr< foo_type > p); +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:364:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 364 | foo (::std::auto_ptr< FooType > p); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.hxx:593:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 593 | ::std::auto_ptr< ::test::derived > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.hxx:598:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 598 | ::std::auto_ptr< ::test::derived > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.hxx:604:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 604 | ::std::auto_ptr< ::test::derived > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.hxx:613:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 613 | ::std::auto_ptr< ::test::derived > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.hxx:618:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 618 | ::std::auto_ptr< ::test::derived > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.hxx:624:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 624 | ::std::auto_ptr< ::test::derived > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.hxx:630:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 630 | ::std::auto_ptr< ::test::derived > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.hxx:636:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 636 | ::std::auto_ptr< ::test::derived > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.hxx:643:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 643 | ::std::auto_ptr< ::test::derived > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:381:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 381 | bar (::std::auto_ptr< BarType > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.hxx:653:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 653 | ::std::auto_ptr< ::test::derived > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:430:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 430 | fox (::std::auto_ptr< FoxType > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.hxx:658:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 658 | ::std::auto_ptr< ::test::derived > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:524:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 524 | a (::std::auto_ptr< AType > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.hxx:664:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 664 | ::std::auto_ptr< ::test::derived > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:541:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 541 | b (::std::auto_ptr< BType > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.hxx:673:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 673 | ::std::auto_ptr< ::test::derived > +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:617:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 617 | ::std::auto_ptr< ::xml_schema::String > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.hxx:678:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 678 | ::std::auto_ptr< ::test::derived > +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:622:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 622 | ::std::auto_ptr< ::xml_schema::String > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.hxx:685: -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.ixx:70:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 70 | e (::std::auto_ptr< e_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.ixx:102:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 102 | e1 (::std::auto_ptr< e1_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.ixx:134:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 134 | string (::std::auto_ptr< string_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.ixx:166:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 166 | ctor_args_derived (::std::auto_ptr< ctor_args_derived_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.ixx:198:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 198 | foo (::std::auto_ptr< foo_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr -I/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/driver.cxx -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx: In member function 'void test::base::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:94:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 94 | ::std::auto_ptr< e_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx: In member function 'void test::derived::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:189:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 189 | ::std::auto_ptr< e1_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr -I/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:618:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 618 | ::std::auto_ptr< ::test::derived > +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:628:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 628 | ::std::auto_ptr< ::xml_schema::String > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:635:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 635 | return ::std::auto_ptr< ::test::derived > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:640:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 640 | ::std::auto_ptr< ::test::derived > +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:637:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 637 | ::std::auto_ptr< ::xml_schema::String > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:657:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 657 | return ::std::auto_ptr< ::test::derived > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:662:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 662 | ::std::auto_ptr< ::test::derived > +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:642:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 642 | ::std::auto_ptr< ::xml_schema::String > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:675:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 675 | return ::std::auto_ptr< ::test::derived > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:680:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 680 | ::std::auto_ptr< ::test::derived > +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:648:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 648 | ::std::auto_ptr< ::xml_schema::String > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:693:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 693 | ::std::auto_ptr< ::test::derived > +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:654:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 654 | ::std::auto_ptr< ::xml_schema::String > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:707:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 707 | ::std::auto_ptr< ::test::derived > +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:660:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 660 | ::std::auto_ptr< ::xml_schema::String > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:717:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 717 | ::std::auto_ptr< ::test::derived > +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:667:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 667 | ::std::auto_ptr< ::xml_schema::String > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:731:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 731 | ::std::auto_ptr< ::test::derived > +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:677:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 677 | ::std::auto_ptr< ::xml_schema::String > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:746:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 746 | ::std::auto_ptr< ::test::derived > +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:682:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 682 | ::std::auto_ptr< ::xml_schema::String > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:757:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 757 | ::std::auto_ptr< ::test::derived > +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:688:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 688 | ::std::auto_ptr< ::xml_schema::String > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:770:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 770 | return ::std::auto_ptr< ::test::derived > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:775:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 775 | ::std::auto_ptr< ::test::derived > +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:697:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 697 | ::std::auto_ptr< ::xml_schema::String > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:788:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 788 | return ::std::auto_ptr< ::test::derived > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:793:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 793 | ::std::auto_ptr< ::test::derived > +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:702:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 702 | ::std::auto_ptr< ::xml_schema::String > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:806:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 806 | return ::std::auto_ptr< ::test::derived > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:811:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 811 | ::std::auto_ptr< ::test::derived > - | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:804: +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.ixx:128:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 128 | foo (::std::auto_ptr< FooType > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx: In function 'std::auto_ptr test::root(const xercesc_3_2::DOMDocument&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:821:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 821 | return ::std::auto_ptr< ::test::derived > ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.ixx:156:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 156 | bar (::std::auto_ptr< BarType > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:833:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 833 | ::std::auto_ptr< ::test::derived > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.ixx:226:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 226 | fox (::std::auto_ptr< FoxType > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:846:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 846 | ::std::auto_ptr< ::test::derived > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.ixx:300:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 300 | a (::std::auto_ptr< AType > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx: In function 'std::auto_ptr test::root(xsd::cxx::xml::dom::auto_ptr, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/name-clash/inheritance/test.cxx:871:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 871 | ::std::auto_ptr< ::test::derived > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.ixx:328:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 328 | b (::std::auto_ptr< BType > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/order -I/build/xsd-4.0.0/xsd/tests/cxx/tree/order -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/order/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/order/driver.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/order -I/build/xsd-4.0.0/xsd/tests/cxx/tree/order -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:50, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/driver.cxx:13: + from /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:41: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -48656,6 +49365,7 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr -I/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/driver.cxx /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -48916,101 +49626,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:50, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:41: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' - 894 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:61: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' - 934 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1026 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1095 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1103 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1114 | XSD_AUTO_PTR dom_info_; - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1137 | XSD_AUTO_PTR map_; - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1152 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1180 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' - 1203 | mutable XSD_AUTO_PTR content_; - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -49087,16 +49702,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' - 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -49172,8 +49777,17 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' + 200 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.hxx:50, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:41: + from /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/driver.cxx:13: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -49207,21 +49821,12 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' - 200 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' 1095 | static XSD_AUTO_PTR | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -49276,34 +49881,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:944:22: note: in expansion of macro 'XSD_AUTO_PTR' - 944 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:958:22: note: in expansion of macro 'XSD_AUTO_PTR' - 958 | return XSD_AUTO_PTR (); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:990:22: note: in expansion of macro 'XSD_AUTO_PTR' - 990 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -49314,238 +49891,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_attribute_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1036:22: note: in expansion of macro 'XSD_AUTO_PTR' - 1036 | return XSD_AUTO_PTR (); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1047:22: note: in expansion of macro 'XSD_AUTO_PTR' - 1047 | return XSD_AUTO_PTR (); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1074:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1074 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::type&, bool)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1098:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1098 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::type&)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1106:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1106 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_content_type::clone() const': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1183:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1183 | return XSD_AUTO_PTR (new dom_content_type (dom)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1367:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1367 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::simple_type::text_content_type::clone() const': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1370:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1370 | return XSD_AUTO_PTR (new text_content_type (text)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1491:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1491 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1497:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1497 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1503:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1503 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1516:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1516 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1494:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1494 | return XSD_AUTO_PTR (new T (e, f, c)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1500:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1500 | return XSD_AUTO_PTR (new T (a, f, c)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1509:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1509 | return XSD_AUTO_PTR (new T (s, e, f, c)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1519:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1519 | return XSD_AUTO_PTR (new T (s, f, c)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1530:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1530 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1537:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1537 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1544:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1544 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1555:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1555 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1533:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1533 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1540:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1540 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1550:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1550 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1558:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1558 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -49599,34 +49944,6 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1074:20: note: in expansion of macro 'XSD_AUTO_PTR' 1074 | return XSD_AUTO_PTR ( | ^~~~~~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:138:14: note: in expansion of macro 'XSD_AUTO_PTR' - 138 | one (XSD_AUTO_PTR, container*); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:165:14: note: in expansion of macro 'XSD_AUTO_PTR' - 165 | set (XSD_AUTO_PTR); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:173:9: note: in expansion of macro 'XSD_AUTO_PTR' - 173 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -49640,16 +49957,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::one::detach()': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:179:18: note: in expansion of macro 'XSD_AUTO_PTR' - 179 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::type&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -49660,44 +49967,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:270:19: note: in expansion of macro 'XSD_AUTO_PTR' - 270 | optional (XSD_AUTO_PTR, container* = 0); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:343:14: note: in expansion of macro 'XSD_AUTO_PTR' - 343 | set (XSD_AUTO_PTR); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:348:9: note: in expansion of macro 'XSD_AUTO_PTR' - 348 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::optional::detach()': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:354:18: note: in expansion of macro 'XSD_AUTO_PTR' - 354 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_content_type::clone() const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -49886,90 +50155,6 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1018 | push_back (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1032 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1054 | insert (iterator position, XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1042 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' - 45 | one (XSD_AUTO_PTR x, container* c) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' - 97 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' - 139 | optional (XSD_AUTO_PTR x, container* c) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' - 200 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:138:14: note: in expansion of macro 'XSD_AUTO_PTR' 138 | one (XSD_AUTO_PTR, container*); | ^~~~~~~~~~~~ @@ -50042,6 +50227,7 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr -I/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -50126,8 +50312,26 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:364:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 364 | foo (::std::auto_ptr< FooType > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:381:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 381 | bar (::std::auto_ptr< BarType > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:430:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 430 | fox (::std::auto_ptr< FoxType > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.hxx:50, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/driver.cxx:13: + from /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:41: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -50158,6 +50362,12 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:524:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 524 | a (::std::auto_ptr< AType > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -50167,6 +50377,12 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:541:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 541 | b (::std::auto_ptr< BType > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -50212,81 +50428,18 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' - 1203 | mutable XSD_AUTO_PTR content_; - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' - 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:364:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 364 | foo (::std::auto_ptr< FooType > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:381:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 381 | bar (::std::auto_ptr< BarType > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:430:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 430 | fox (::std::auto_ptr< FoxType > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:524:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 524 | a (::std::auto_ptr< AType > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:541:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 541 | b (::std::auto_ptr< BType > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:617:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 617 | ::std::auto_ptr< ::xml_schema::String > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.hxx:50, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:41: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' - 894 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.hxx:61: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' - 934 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' + 1203 | mutable XSD_AUTO_PTR content_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -50296,25 +50449,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:944:22: note: in expansion of macro 'XSD_AUTO_PTR' - 944 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1026 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:628:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 628 | ::std::auto_ptr< ::xml_schema::String > | ^~~~~~~~ @@ -50327,54 +50461,18 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1095 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1103 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:642:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 642 | ::std::auto_ptr< ::xml_schema::String > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:958:22: note: in expansion of macro 'XSD_AUTO_PTR' - 958 | return XSD_AUTO_PTR (); - | ^~~~~~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1114 | XSD_AUTO_PTR dom_info_; - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:648:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 648 | ::std::auto_ptr< ::xml_schema::String > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:654:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 654 | ::std::auto_ptr< ::xml_schema::String > | ^~~~~~~~ @@ -50393,15 +50491,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1137 | XSD_AUTO_PTR map_; - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:677:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 677 | ::std::auto_ptr< ::xml_schema::String > | ^~~~~~~~ @@ -50414,20 +50503,71 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:688:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 688 | ::std::auto_ptr< ::xml_schema::String > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:697:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 697 | ::std::auto_ptr< ::xml_schema::String > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:702:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 702 | ::std::auto_ptr< ::xml_schema::String > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1152 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' + 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:804: +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.ixx:128:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 128 | foo (::std::auto_ptr< FooType > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.ixx:156:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 156 | bar (::std::auto_ptr< BarType > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.ixx:226:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 226 | fox (::std::auto_ptr< FoxType > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.ixx:300:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 300 | a (::std::auto_ptr< AType > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.ixx:328:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 328 | b (::std::auto_ptr< BType > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:990:22: note: in expansion of macro 'XSD_AUTO_PTR' - 990 | return XSD_AUTO_PTR ( +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:944:22: note: in expansion of macro 'XSD_AUTO_PTR' + 944 | return XSD_AUTO_PTR ( | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; @@ -50435,18 +50575,18 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1180 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:958:22: note: in expansion of macro 'XSD_AUTO_PTR' + 958 | return XSD_AUTO_PTR (); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' - 1203 | mutable XSD_AUTO_PTR content_; - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:990:22: note: in expansion of macro 'XSD_AUTO_PTR' + 990 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -50457,18 +50597,6 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1036:22: note: in expansion of macro 'XSD_AUTO_PTR' 1036 | return XSD_AUTO_PTR (); | ^~~~~~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:688:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 688 | ::std::auto_ptr< ::xml_schema::String > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:697:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 697 | ::std::auto_ptr< ::xml_schema::String > - | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -50481,12 +50609,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:702:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 702 | ::std::auto_ptr< ::xml_schema::String > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -50526,16 +50648,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' - 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -50710,182 +50822,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:364:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 364 | foo (::std::auto_ptr< FooType > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:381:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 381 | bar (::std::auto_ptr< BarType > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:430:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 430 | fox (::std::auto_ptr< FoxType > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:524:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 524 | a (::std::auto_ptr< AType > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:541:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 541 | b (::std::auto_ptr< BType > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:804: -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.ixx:128:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 128 | foo (::std::auto_ptr< FooType > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.ixx:156:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 156 | bar (::std::auto_ptr< BarType > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:617:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 617 | ::std::auto_ptr< ::xml_schema::String > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:622:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 622 | ::std::auto_ptr< ::xml_schema::String > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:628:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 628 | ::std::auto_ptr< ::xml_schema::String > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:637:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 637 | ::std::auto_ptr< ::xml_schema::String > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:642:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 642 | ::std::auto_ptr< ::xml_schema::String > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:648:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 648 | ::std::auto_ptr< ::xml_schema::String > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:654:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 654 | ::std::auto_ptr< ::xml_schema::String > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:660:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 660 | ::std::auto_ptr< ::xml_schema::String > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:667:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 667 | ::std::auto_ptr< ::xml_schema::String > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:677:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 677 | ::std::auto_ptr< ::xml_schema::String > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:682:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 682 | ::std::auto_ptr< ::xml_schema::String > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:688:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 688 | ::std::auto_ptr< ::xml_schema::String > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:697:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 697 | ::std::auto_ptr< ::xml_schema::String > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:702:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 702 | ::std::auto_ptr< ::xml_schema::String > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.ixx:226:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 226 | fox (::std::auto_ptr< FoxType > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.ixx:300:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 300 | a (::std::auto_ptr< AType > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.ixx:328:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 328 | b (::std::auto_ptr< BType > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.hxx:804: -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.ixx:128:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 128 | foo (::std::auto_ptr< FooType > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.ixx:156:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 156 | bar (::std::auto_ptr< BarType > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.ixx:226:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 226 | fox (::std::auto_ptr< FoxType > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.ixx:300:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 300 | a (::std::auto_ptr< AType > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.ixx:328:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 328 | b (::std::auto_ptr< BType > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -50952,6 +50888,7 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/order -I/build/xsd-4.0.0/xsd/tests/cxx/tree/order -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/order/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/order/driver.cxx /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::optional::detach()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -50962,263 +50899,253 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:944:22: note: in expansion of macro 'XSD_AUTO_PTR' - 944 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx: In member function 'void test::Type::parse(xsd::cxx::xml::dom::parser&, xml_schema::Flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:187:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 187 | ::std::auto_ptr< FooType > r ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:958:22: note: in expansion of macro 'XSD_AUTO_PTR' - 958 | return XSD_AUTO_PTR (); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:201:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 201 | ::std::auto_ptr< BarType > r ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:990:22: note: in expansion of macro 'XSD_AUTO_PTR' - 990 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:215:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 215 | ::std::auto_ptr< BazType > r ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_attribute_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1036:22: note: in expansion of macro 'XSD_AUTO_PTR' - 1036 | return XSD_AUTO_PTR (); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1018 | push_back (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1047:22: note: in expansion of macro 'XSD_AUTO_PTR' - 1047 | return XSD_AUTO_PTR (); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1032 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1074:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1074 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1054 | insert (iterator position, XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::type&, bool)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1098:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1098 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::type&)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1106:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1106 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx: In member function 'void test::Foo::parse(xsd::cxx::xml::dom::parser&, xml_schema::Flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:388:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 388 | ::std::auto_ptr< AType > r ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_content_type::clone() const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1183:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1183 | return XSD_AUTO_PTR (new dom_content_type (dom)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1042 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1367:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1367 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:402:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 402 | ::std::auto_ptr< BType > r ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::simple_type::text_content_type::clone() const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1370:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1370 | return XSD_AUTO_PTR (new text_content_type (text)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' + 45 | one (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1491:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1491 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' + 97 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1497:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1497 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' + 139 | optional (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1503:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1503 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' + 200 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1516:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1516 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:525:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 525 | ::std::auto_ptr< ::xml_schema::String > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1494:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1494 | return XSD_AUTO_PTR (new T (e, f, c)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx: In function 'std::auto_ptr > > test::root(const std::string&, xml_schema::Flags, const xml_schema::Properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:542:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 542 | return ::std::auto_ptr< ::xml_schema::String > ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1500:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1500 | return XSD_AUTO_PTR (new T (a, f, c)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:547:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 547 | ::std::auto_ptr< ::xml_schema::String > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1509:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1509 | return XSD_AUTO_PTR (new T (s, e, f, c)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx: In function 'std::auto_ptr > > test::root(const std::string&, xml_schema::ErrorHandler&, xml_schema::Flags, const xml_schema::Properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:564:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 564 | return ::std::auto_ptr< ::xml_schema::String > ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1519:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1519 | return XSD_AUTO_PTR (new T (s, f, c)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:569:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 569 | ::std::auto_ptr< ::xml_schema::String > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1530:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1530 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx: In function 'std::auto_ptr > > test::root(const std::string&, xercesc_3_2::DOMErrorHandler&, xml_schema::Flags, const xml_schema::Properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:582:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 582 | return ::std::auto_ptr< ::xml_schema::String > ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1537:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1537 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:587:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 587 | ::std::auto_ptr< ::xml_schema::String > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1544:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1544 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:600:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 600 | ::std::auto_ptr< ::xml_schema::String > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1555:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1555 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:614:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 614 | ::std::auto_ptr< ::xml_schema::String > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1533:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1533 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:624:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 624 | ::std::auto_ptr< ::xml_schema::String > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1540:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1540 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:638:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 638 | ::std::auto_ptr< ::xml_schema::String > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1550:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1550 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:653:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 653 | ::std::auto_ptr< ::xml_schema::String > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1558:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1558 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:664:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 664 | ::std::auto_ptr< ::xml_schema::String > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx: In function 'std::auto_ptr > > test::root(xercesc_3_2::InputSource&, xml_schema::Flags, const xml_schema::Properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:677:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 677 | return ::std::auto_ptr< ::xml_schema::String > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:682:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 682 | ::std::auto_ptr< ::xml_schema::String > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx: In function 'std::auto_ptr > > test::root(xercesc_3_2::InputSource&, xml_schema::ErrorHandler&, xml_schema::Flags, const xml_schema::Properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:695:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 695 | return ::std::auto_ptr< ::xml_schema::String > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:700:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 700 | ::std::auto_ptr< ::xml_schema::String > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx: In function 'std::auto_ptr > > test::root(xercesc_3_2::InputSource&, xercesc_3_2::DOMErrorHandler&, xml_schema::Flags, const xml_schema::Properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:713:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 713 | return ::std::auto_ptr< ::xml_schema::String > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:718:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 718 | ::std::auto_ptr< ::xml_schema::String > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx: In function 'std::auto_ptr > > test::root(const xercesc_3_2::DOMDocument&, xml_schema::Flags, const xml_schema::Properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:728:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 728 | return ::std::auto_ptr< ::xml_schema::String > ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -51234,12 +51161,25 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:740:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 740 | ::std::auto_ptr< ::xml_schema::String > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.hxx:430:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 430 | setFox (::std::auto_ptr< FoxType > p); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:753:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 753 | ::std::auto_ptr< ::xml_schema::String > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.hxx:524:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 524 | setA (::std::auto_ptr< AType > p); | ^~~~~~~~ @@ -51252,6 +51192,13 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx: In function 'std::auto_ptr > > test::root(xsd::cxx::xml::dom::auto_ptr, xml_schema::Flags, const xml_schema::Properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:778:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 778 | ::std::auto_ptr< ::xml_schema::String > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.hxx:617:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 617 | ::std::auto_ptr< ::xml_schema::String > | ^~~~~~~~ @@ -51336,442 +51283,388 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1018 | push_back (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.hxx:804: +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.ixx:128:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 128 | setFoo (::std::auto_ptr< FooType > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1032 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.ixx:156:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 156 | setBar (::std::auto_ptr< BarType > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1054 | insert (iterator position, XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.ixx:226:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 226 | setFox (::std::auto_ptr< FoxType > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.ixx:300:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 300 | setA (::std::auto_ptr< AType > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1042 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.ixx:328:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 328 | setB (::std::auto_ptr< BType > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' - 45 | one (XSD_AUTO_PTR x, container* c) - | ^~~~~~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/order -I/build/xsd-4.0.0/xsd/tests/cxx/tree/order -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.hxx:364:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 364 | setFoo (::std::auto_ptr< FooType > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' - 97 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.hxx:381:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 381 | setBar (::std::auto_ptr< BarType > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' - 139 | optional (XSD_AUTO_PTR x, container* c) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.hxx:430:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 430 | setFox (::std::auto_ptr< FoxType > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' - 200 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.hxx:524:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 524 | setA (::std::auto_ptr< AType > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.hxx:804: -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.ixx:128:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 128 | setFoo (::std::auto_ptr< FooType > x) +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.hxx:541:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 541 | setB (::std::auto_ptr< BType > p); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.ixx:156:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 156 | setBar (::std::auto_ptr< BarType > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.hxx:617:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 617 | ::std::auto_ptr< ::xml_schema::String > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.ixx:226:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 226 | setFox (::std::auto_ptr< FoxType > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.hxx:622:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 622 | ::std::auto_ptr< ::xml_schema::String > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.ixx:300:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 300 | setA (::std::auto_ptr< AType > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.hxx:628:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 628 | ::std::auto_ptr< ::xml_schema::String > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.ixx:328:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 328 | setB (::std::auto_ptr< BType > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.hxx:637:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 637 | ::std::auto_ptr< ::xml_schema::String > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx: In member function 'void test::Type::parse(xsd::cxx::xml::dom::parser&, xml_schema::Flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:187:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 187 | ::std::auto_ptr< FooType > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.hxx:642:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 642 | ::std::auto_ptr< ::xml_schema::String > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:201:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 201 | ::std::auto_ptr< BarType > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.hxx:648:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 648 | ::std::auto_ptr< ::xml_schema::String > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:215:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 215 | ::std::auto_ptr< BazType > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.hxx:654:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 654 | ::std::auto_ptr< ::xml_schema::String > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx: In member function 'void test::Foo::parse(xsd::cxx::xml::dom::parser&, xml_schema::Flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:388:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 388 | ::std::auto_ptr< AType > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.hxx:660:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 660 | ::std::auto_ptr< ::xml_schema::String > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:402:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 402 | ::std::auto_ptr< BType > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.hxx:667:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 667 | ::std::auto_ptr< ::xml_schema::String > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.hxx:50, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/driver.cxx:13: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' - 894 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.hxx:61: +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.hxx:677:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 677 | ::std::auto_ptr< ::xml_schema::String > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' - 934 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.hxx:682:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 682 | ::std::auto_ptr< ::xml_schema::String > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1026 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.hxx:688:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 688 | ::std::auto_ptr< ::xml_schema::String > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1095 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.hxx:697:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 697 | ::std::auto_ptr< ::xml_schema::String > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1103 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.hxx:702:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 702 | ::std::auto_ptr< ::xml_schema::String > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1114 | XSD_AUTO_PTR dom_info_; - | ^~~~~~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.hxx:804: +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.ixx:128:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 128 | setFoo (::std::auto_ptr< FooType > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1137 | XSD_AUTO_PTR map_; - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.ixx:156:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 156 | setBar (::std::auto_ptr< BarType > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1152 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.ixx:226:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 226 | setFox (::std::auto_ptr< FoxType > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1180 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.ixx:300:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 300 | setA (::std::auto_ptr< AType > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' - 1203 | mutable XSD_AUTO_PTR content_; - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.ixx:328:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 328 | setB (::std::auto_ptr< BType > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:525:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 525 | ::std::auto_ptr< ::xml_schema::String > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx: In member function 'void test::Type::parse(xsd::cxx::xml::dom::parser&, xml_schema::Flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:187:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 187 | ::std::auto_ptr< FooType > r ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' - 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:201:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 201 | ::std::auto_ptr< BarType > r ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx: In function 'std::auto_ptr > > test::root(const std::string&, xml_schema::Flags, const xml_schema::Properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:542:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:215:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 215 | ::std::auto_ptr< BazType > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx: In member function 'void test::Foo::parse(xsd::cxx::xml::dom::parser&, xml_schema::Flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:388:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 388 | ::std::auto_ptr< AType > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:402:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 402 | ::std::auto_ptr< BType > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:525:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 525 | ::std::auto_ptr< ::xml_schema::String > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx: In function 'std::auto_ptr > > test::parseRoot(const std::string&, xml_schema::Flags, const xml_schema::Properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:542:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 542 | return ::std::auto_ptr< ::xml_schema::String > ( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:547:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:547:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 547 | ::std::auto_ptr< ::xml_schema::String > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx: In function 'std::auto_ptr > > test::root(const std::string&, xml_schema::ErrorHandler&, xml_schema::Flags, const xml_schema::Properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:564:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx: In function 'std::auto_ptr > > test::parseRoot(const std::string&, xml_schema::ErrorHandler&, xml_schema::Flags, const xml_schema::Properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:564:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 564 | return ::std::auto_ptr< ::xml_schema::String > ( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:569:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:569:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 569 | ::std::auto_ptr< ::xml_schema::String > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx: In function 'std::auto_ptr > > test::root(const std::string&, xercesc_3_2::DOMErrorHandler&, xml_schema::Flags, const xml_schema::Properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:582:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx: In function 'std::auto_ptr > > test::parseRoot(const std::string&, xercesc_3_2::DOMErrorHandler&, xml_schema::Flags, const xml_schema::Properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:582:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 582 | return ::std::auto_ptr< ::xml_schema::String > ( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:587:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:587:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 587 | ::std::auto_ptr< ::xml_schema::String > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:600:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:600:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 600 | ::std::auto_ptr< ::xml_schema::String > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:614:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:614:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 614 | ::std::auto_ptr< ::xml_schema::String > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:624:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:624:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 624 | ::std::auto_ptr< ::xml_schema::String > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:638:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:638:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 638 | ::std::auto_ptr< ::xml_schema::String > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:653:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:653:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 653 | ::std::auto_ptr< ::xml_schema::String > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:664:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:664:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 664 | ::std::auto_ptr< ::xml_schema::String > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx: In function 'std::auto_ptr > > test::root(xercesc_3_2::InputSource&, xml_schema::Flags, const xml_schema::Properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:677:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx: In function 'std::auto_ptr > > test::parseRoot(xercesc_3_2::InputSource&, xml_schema::Flags, const xml_schema::Properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:677:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 677 | return ::std::auto_ptr< ::xml_schema::String > ( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:682:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:682:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 682 | ::std::auto_ptr< ::xml_schema::String > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx: In function 'std::auto_ptr > > test::root(xercesc_3_2::InputSource&, xml_schema::ErrorHandler&, xml_schema::Flags, const xml_schema::Properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:695:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx: In function 'std::auto_ptr > > test::parseRoot(xercesc_3_2::InputSource&, xml_schema::ErrorHandler&, xml_schema::Flags, const xml_schema::Properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:695:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 695 | return ::std::auto_ptr< ::xml_schema::String > ( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:700:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:700:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 700 | ::std::auto_ptr< ::xml_schema::String > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx: In function 'std::auto_ptr > > test::root(xercesc_3_2::InputSource&, xercesc_3_2::DOMErrorHandler&, xml_schema::Flags, const xml_schema::Properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:713:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx: In function 'std::auto_ptr > > test::parseRoot(xercesc_3_2::InputSource&, xercesc_3_2::DOMErrorHandler&, xml_schema::Flags, const xml_schema::Properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:713:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 713 | return ::std::auto_ptr< ::xml_schema::String > ( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:718:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:718:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 718 | ::std::auto_ptr< ::xml_schema::String > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx: In function 'std::auto_ptr > > test::root(const xercesc_3_2::DOMDocument&, xml_schema::Flags, const xml_schema::Properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:728:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx: In function 'std::auto_ptr > > test::parseRoot(const xercesc_3_2::DOMDocument&, xml_schema::Flags, const xml_schema::Properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:728:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 728 | return ::std::auto_ptr< ::xml_schema::String > ( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:138:14: note: in expansion of macro 'XSD_AUTO_PTR' - 138 | one (XSD_AUTO_PTR, container*); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:740:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 740 | ::std::auto_ptr< ::xml_schema::String > r ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:165:14: note: in expansion of macro 'XSD_AUTO_PTR' - 165 | set (XSD_AUTO_PTR); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:753:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 753 | ::std::auto_ptr< ::xml_schema::String > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:173:9: note: in expansion of macro 'XSD_AUTO_PTR' - 173 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx: In function 'std::auto_ptr > > test::parseRoot(xsd::cxx::xml::dom::auto_ptr, xml_schema::Flags, const xml_schema::Properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:778:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 778 | ::std::auto_ptr< ::xml_schema::String > r ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::one::detach()': +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.hxx:50, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/driver.cxx:13: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:179:18: note: in expansion of macro 'XSD_AUTO_PTR' - 179 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:740:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 740 | ::std::auto_ptr< ::xml_schema::String > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' + 894 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.hxx:61: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:270:19: note: in expansion of macro 'XSD_AUTO_PTR' - 270 | optional (XSD_AUTO_PTR, container* = 0); +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' + 934 | virtual XSD_AUTO_PTR | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; @@ -51779,79 +51672,82 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:343:14: note: in expansion of macro 'XSD_AUTO_PTR' - 343 | set (XSD_AUTO_PTR); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1026 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:348:9: note: in expansion of macro 'XSD_AUTO_PTR' - 348 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1095 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::optional::detach()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:354:18: note: in expansion of macro 'XSD_AUTO_PTR' - 354 | return XSD_AUTO_PTR (x); +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1103 | static XSD_AUTO_PTR | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:753:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 753 | ::std::auto_ptr< ::xml_schema::String > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1114 | XSD_AUTO_PTR dom_info_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx: In function 'std::auto_ptr > > test::root(xsd::cxx::xml::dom::auto_ptr, xml_schema::Flags, const xml_schema::Properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.cxx:778:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 778 | ::std::auto_ptr< ::xml_schema::String > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1137 | XSD_AUTO_PTR map_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1018 | push_back (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1152 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1032 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1180 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1054 | insert (iterator position, XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' + 1203 | mutable XSD_AUTO_PTR content_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' + 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -51883,16 +51779,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1042 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_attribute_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -51921,16 +51807,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' - 45 | one (XSD_AUTO_PTR x, container* c) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::type&, bool)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -51941,15 +51817,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' - 97 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::type&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -51960,24 +51827,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' - 139 | optional (XSD_AUTO_PTR x, container* c) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' - 200 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_content_type::clone() const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -52162,40 +52011,8 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx: In member function 'void test::Type::parse(xsd::cxx::xml::dom::parser&, xml_schema::Flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:187:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 187 | ::std::auto_ptr< FooType > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:201:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 201 | ::std::auto_ptr< BarType > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:215:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 215 | ::std::auto_ptr< BazType > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx: In member function 'void test::Foo::parse(xsd::cxx::xml::dom::parser&, xml_schema::Flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:388:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 388 | ::std::auto_ptr< AType > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:402:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 402 | ::std::auto_ptr< BType > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.hxx:50, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/order/driver.cxx:15: +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.hxx:50, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:41: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -52203,7 +52020,8 @@ 894 | virtual XSD_AUTO_PTR | ^~~~~~~~~~~~ In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/order/driver.cxx:8: + from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.hxx:61: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -52287,96 +52105,17 @@ | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:525:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 525 | ::std::auto_ptr< ::xml_schema::String > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx: In function 'std::auto_ptr > > test::parseRoot(const std::string&, xml_schema::Flags, const xml_schema::Properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:542:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 542 | return ::std::auto_ptr< ::xml_schema::String > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:547:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 547 | ::std::auto_ptr< ::xml_schema::String > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx: In function 'std::auto_ptr > > test::parseRoot(const std::string&, xml_schema::ErrorHandler&, xml_schema::Flags, const xml_schema::Properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:564:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 564 | return ::std::auto_ptr< ::xml_schema::String > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:569:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 569 | ::std::auto_ptr< ::xml_schema::String > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx: In function 'std::auto_ptr > > test::parseRoot(const std::string&, xercesc_3_2::DOMErrorHandler&, xml_schema::Flags, const xml_schema::Properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:582:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 582 | return ::std::auto_ptr< ::xml_schema::String > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:587:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 587 | ::std::auto_ptr< ::xml_schema::String > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:600:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 600 | ::std::auto_ptr< ::xml_schema::String > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:614:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 614 | ::std::auto_ptr< ::xml_schema::String > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:624:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 624 | ::std::auto_ptr< ::xml_schema::String > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:638:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 638 | ::std::auto_ptr< ::xml_schema::String > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:653:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 653 | ::std::auto_ptr< ::xml_schema::String > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:664:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 664 | ::std::auto_ptr< ::xml_schema::String > - | ^~~~~~~~ + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' + 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx: In function 'std::auto_ptr > > test::parseRoot(xercesc_3_2::InputSource&, xml_schema::Flags, const xml_schema::Properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:677:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 677 | return ::std::auto_ptr< ::xml_schema::String > ( - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -52387,9 +52126,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -52418,20 +52154,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:682:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 682 | ::std::auto_ptr< ::xml_schema::String > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx: In function 'std::auto_ptr > > test::parseRoot(xercesc_3_2::InputSource&, xml_schema::ErrorHandler&, xml_schema::Flags, const xml_schema::Properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:695:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 695 | return ::std::auto_ptr< ::xml_schema::String > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -52451,13 +52173,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:700:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 700 | ::std::auto_ptr< ::xml_schema::String > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -52477,57 +52192,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx: In function 'std::auto_ptr > > test::parseRoot(xercesc_3_2::InputSource&, xercesc_3_2::DOMErrorHandler&, xml_schema::Flags, const xml_schema::Properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:713:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 713 | return ::std::auto_ptr< ::xml_schema::String > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:718:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 718 | ::std::auto_ptr< ::xml_schema::String > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' - 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx: In function 'std::auto_ptr > > test::parseRoot(const xercesc_3_2::DOMDocument&, xml_schema::Flags, const xml_schema::Properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:728:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 728 | return ::std::auto_ptr< ::xml_schema::String > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:740:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 740 | ::std::auto_ptr< ::xml_schema::String > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:753:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 753 | ::std::auto_ptr< ::xml_schema::String > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx: In function 'std::auto_ptr > > test::parseRoot(xsd::cxx::xml::dom::auto_ptr, xml_schema::Flags, const xml_schema::Properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.cxx:778:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 778 | ::std::auto_ptr< ::xml_schema::String > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -53032,129 +52696,369 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.hxx:364:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 364 | setFoo (::std::auto_ptr< FooType > p); - | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison -I/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/driver.cxx +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.hxx:50, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx:41: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' + 894 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.hxx:61: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.hxx:381:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 381 | setBar (::std::auto_ptr< BarType > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' + 934 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.hxx:430:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 430 | setFox (::std::auto_ptr< FoxType > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1026 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.hxx:524:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 524 | setA (::std::auto_ptr< AType > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1095 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.hxx:541:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 541 | setB (::std::auto_ptr< BType > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1103 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.hxx:617:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 617 | ::std::auto_ptr< ::xml_schema::String > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1114 | XSD_AUTO_PTR dom_info_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.hxx:622:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 622 | ::std::auto_ptr< ::xml_schema::String > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1137 | XSD_AUTO_PTR map_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.hxx:628:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 628 | ::std::auto_ptr< ::xml_schema::String > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1152 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.hxx:637:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 637 | ::std::auto_ptr< ::xml_schema::String > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1180 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.hxx:642:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 642 | ::std::auto_ptr< ::xml_schema::String > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' + 1203 | mutable XSD_AUTO_PTR content_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.hxx:648:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 648 | ::std::auto_ptr< ::xml_schema::String > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' + 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.hxx:654:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 654 | ::std::auto_ptr< ::xml_schema::String > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:944:22: note: in expansion of macro 'XSD_AUTO_PTR' + 944 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.hxx:660:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 660 | ::std::auto_ptr< ::xml_schema::String > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:958:22: note: in expansion of macro 'XSD_AUTO_PTR' + 958 | return XSD_AUTO_PTR (); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.hxx:667:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 667 | ::std::auto_ptr< ::xml_schema::String > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:990:22: note: in expansion of macro 'XSD_AUTO_PTR' + 990 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.hxx:677:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 677 | ::std::auto_ptr< ::xml_schema::String > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_attribute_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1036:22: note: in expansion of macro 'XSD_AUTO_PTR' + 1036 | return XSD_AUTO_PTR (); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.hxx:682:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 682 | ::std::auto_ptr< ::xml_schema::String > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1047:22: note: in expansion of macro 'XSD_AUTO_PTR' + 1047 | return XSD_AUTO_PTR (); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.hxx:688:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 688 | ::std::auto_ptr< ::xml_schema::String > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1074:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1074 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.hxx:697:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 697 | ::std::auto_ptr< ::xml_schema::String > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::type&, bool)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1098:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1098 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.hxx:702:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 702 | ::std::auto_ptr< ::xml_schema::String > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::type&)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1106:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1106 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.hxx:364:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 364 | foo (::std::auto_ptr< foo_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_content_type::clone() const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1183:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1183 | return XSD_AUTO_PTR (new dom_content_type (dom)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.hxx:381:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 381 | bar (::std::auto_ptr< bar_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1367:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1367 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::simple_type::text_content_type::clone() const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1370:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1370 | return XSD_AUTO_PTR (new text_content_type (text)); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1491:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1491 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1497:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1497 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1503:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1503 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1516:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1516 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1494:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1494 | return XSD_AUTO_PTR (new T (e, f, c)); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1500:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1500 | return XSD_AUTO_PTR (new T (a, f, c)); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1509:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1509 | return XSD_AUTO_PTR (new T (s, e, f, c)); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1519:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1519 | return XSD_AUTO_PTR (new T (s, f, c)); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1530:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1530 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1537:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1537 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1544:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1544 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1555:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1555 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1533:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1533 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1540:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1540 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1550:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1550 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1558:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1558 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -53167,12 +53071,6 @@ /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.hxx:381:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 381 | bar (::std::auto_ptr< bar_type > p); | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.hxx:430:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 430 | fox (::std::auto_ptr< fox_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -53194,21 +53092,103 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:138:14: note: in expansion of macro 'XSD_AUTO_PTR' + 138 | one (XSD_AUTO_PTR, container*); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:165:14: note: in expansion of macro 'XSD_AUTO_PTR' + 165 | set (XSD_AUTO_PTR); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:173:9: note: in expansion of macro 'XSD_AUTO_PTR' + 173 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.hxx:617:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 617 | ::std::auto_ptr< ::xml_schema::string > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.hxx:524:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 524 | a (::std::auto_ptr< a_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::one::detach()': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:179:18: note: in expansion of macro 'XSD_AUTO_PTR' + 179 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.hxx:541:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 541 | b (::std::auto_ptr< b_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:270:19: note: in expansion of macro 'XSD_AUTO_PTR' + 270 | optional (XSD_AUTO_PTR, container* = 0); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.hxx:364:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 364 | foo (::std::auto_ptr< foo_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:343:14: note: in expansion of macro 'XSD_AUTO_PTR' + 343 | set (XSD_AUTO_PTR); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.hxx:381:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 381 | bar (::std::auto_ptr< bar_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:348:9: note: in expansion of macro 'XSD_AUTO_PTR' + 348 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::optional::detach()': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:354:18: note: in expansion of macro 'XSD_AUTO_PTR' + 354 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.hxx:430:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 430 | fox (::std::auto_ptr< fox_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -53224,6 +53204,7 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison -I/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.cxx /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.hxx:637:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 637 | ::std::auto_ptr< ::xml_schema::string > | ^~~~~~~~ @@ -53290,6 +53271,18 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.hxx:524:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 524 | a (::std::auto_ptr< a_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.hxx:541:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 541 | b (::std::auto_ptr< b_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.hxx:617:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 617 | ::std::auto_ptr< ::xml_schema::string > | ^~~~~~~~ @@ -53374,34 +53367,87 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.hxx:804: -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.ixx:128:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 128 | setFoo (::std::auto_ptr< FooType > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1018 | push_back (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.ixx:156:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 156 | setBar (::std::auto_ptr< BarType > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1032 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.ixx:226:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 226 | setFox (::std::auto_ptr< FoxType > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1054 | insert (iterator position, XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.ixx:300:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 300 | setA (::std::auto_ptr< AType > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.ixx:328:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 328 | setB (::std::auto_ptr< BType > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1042 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' + 45 | one (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' + 97 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' + 139 | optional (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' + 200 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -53467,19 +53513,7 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.hxx:709:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 709 | a (::std::auto_ptr< a_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.hxx:732:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 732 | b (::std::auto_ptr< b_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison -I/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/driver.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream -I/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/driver.cxx /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx: In member function 'void test::type::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:187:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 187 | ::std::auto_ptr< foo_type > r ( @@ -53499,6 +53533,185 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx: In member function 'void test::foo::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:388:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 388 | ::std::auto_ptr< a_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:402:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 402 | ::std::auto_ptr< b_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:525:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 525 | ::std::auto_ptr< ::xml_schema::string > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx: In function 'std::auto_ptr > > test::root(const std::string&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:542:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 542 | return ::std::auto_ptr< ::xml_schema::string > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:547:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 547 | ::std::auto_ptr< ::xml_schema::string > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx: In function 'std::auto_ptr > > test::root(const std::string&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:564:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 564 | return ::std::auto_ptr< ::xml_schema::string > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:569:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 569 | ::std::auto_ptr< ::xml_schema::string > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx: In function 'std::auto_ptr > > test::root(const std::string&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:582:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 582 | return ::std::auto_ptr< ::xml_schema::string > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:587:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 587 | ::std::auto_ptr< ::xml_schema::string > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:600:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 600 | ::std::auto_ptr< ::xml_schema::string > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:614:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 614 | ::std::auto_ptr< ::xml_schema::string > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:624:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 624 | ::std::auto_ptr< ::xml_schema::string > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:638:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 638 | ::std::auto_ptr< ::xml_schema::string > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:653:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 653 | ::std::auto_ptr< ::xml_schema::string > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:664:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 664 | ::std::auto_ptr< ::xml_schema::string > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx: In function 'std::auto_ptr > > test::root(xercesc_3_2::InputSource&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:677:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 677 | return ::std::auto_ptr< ::xml_schema::string > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:682:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 682 | ::std::auto_ptr< ::xml_schema::string > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx: In function 'std::auto_ptr > > test::root(xercesc_3_2::InputSource&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:695:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 695 | return ::std::auto_ptr< ::xml_schema::string > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:700:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 700 | ::std::auto_ptr< ::xml_schema::string > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx: In function 'std::auto_ptr > > test::root(xercesc_3_2::InputSource&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:713:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 713 | return ::std::auto_ptr< ::xml_schema::string > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:718:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 718 | ::std::auto_ptr< ::xml_schema::string > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx: In function 'std::auto_ptr > > test::root(const xercesc_3_2::DOMDocument&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:728:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 728 | return ::std::auto_ptr< ::xml_schema::string > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:740:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 740 | ::std::auto_ptr< ::xml_schema::string > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:753:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 753 | ::std::auto_ptr< ::xml_schema::string > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx: In function 'std::auto_ptr > > test::root(xsd::cxx::xml::dom::auto_ptr, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:778:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 778 | ::std::auto_ptr< ::xml_schema::string > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.hxx:709:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 709 | a (::std::auto_ptr< a_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.hxx:732:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 732 | b (::std::auto_ptr< b_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.hxx:1589:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1589 | ::std::auto_ptr< ::test::root > | ^~~~~~~~ @@ -53583,19 +53796,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx: In member function 'void test::foo::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:388:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 388 | ::std::auto_ptr< a_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:402:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 402 | ::std::auto_ptr< b_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.hxx:1809: /build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.ixx:293:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 293 | a (::std::auto_ptr< a_type > x) @@ -53609,25 +53809,8 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:525:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 525 | ::std::auto_ptr< ::xml_schema::string > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/driver.cxx: In function 'int main(int, char**)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/driver.cxx:34:5: note: in expansion of macro 'XSD_AUTO_PTR' - 34 | XSD_AUTO_PTR r (root_ (argv[1], xml_schema::flags::dont_initialize)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.hxx:50, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx:41: + from /build/xsd-4.0.0/xsd/tests/cxx/tree/order/driver.cxx:15: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -53635,15 +53818,7 @@ 894 | virtual XSD_AUTO_PTR | ^~~~~~~~~~~~ In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.hxx:61: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx: In function 'std::auto_ptr > > test::root(const std::string&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:542:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 542 | return ::std::auto_ptr< ::xml_schema::string > ( - | ^~~~~~~~ + from /build/xsd-4.0.0/xsd/tests/cxx/tree/order/driver.cxx:8: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -53671,13 +53846,6 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' 1095 | static XSD_AUTO_PTR | ^~~~~~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:547:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 547 | ::std::auto_ptr< ::xml_schema::string > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -53699,13 +53867,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx: In function 'std::auto_ptr > > test::root(const std::string&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:564:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 564 | return ::std::auto_ptr< ::xml_schema::string > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -53724,13 +53885,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:569:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 569 | ::std::auto_ptr< ::xml_schema::string > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -53749,63 +53903,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx: In function 'std::auto_ptr > > test::root(const std::string&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:582:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 582 | return ::std::auto_ptr< ::xml_schema::string > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:587:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 587 | ::std::auto_ptr< ::xml_schema::string > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:600:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 600 | ::std::auto_ptr< ::xml_schema::string > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:614:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 614 | ::std::auto_ptr< ::xml_schema::string > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:624:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 624 | ::std::auto_ptr< ::xml_schema::string > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:638:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 638 | ::std::auto_ptr< ::xml_schema::string > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:653:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 653 | ::std::auto_ptr< ::xml_schema::string > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:664:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 664 | ::std::auto_ptr< ::xml_schema::string > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx: In function 'std::auto_ptr > > test::root(xercesc_3_2::InputSource&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:677:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 677 | return ::std::auto_ptr< ::xml_schema::string > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -53816,68 +53913,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:682:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 682 | ::std::auto_ptr< ::xml_schema::string > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx: In function 'std::auto_ptr > > test::root(xercesc_3_2::InputSource&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:695:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 695 | return ::std::auto_ptr< ::xml_schema::string > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:700:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 700 | ::std::auto_ptr< ::xml_schema::string > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx: In function 'std::auto_ptr > > test::root(xercesc_3_2::InputSource&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:713:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 713 | return ::std::auto_ptr< ::xml_schema::string > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:718:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 718 | ::std::auto_ptr< ::xml_schema::string > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx: In function 'std::auto_ptr > > test::root(const xercesc_3_2::DOMDocument&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:728:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 728 | return ::std::auto_ptr< ::xml_schema::string > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:740:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 740 | ::std::auto_ptr< ::xml_schema::string > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:753:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 753 | ::std::auto_ptr< ::xml_schema::string > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx: In function 'std::auto_ptr > > test::root(xsd::cxx::xml::dom::auto_ptr, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.cxx:778:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 778 | ::std::auto_ptr< ::xml_schema::string > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -54098,6 +54133,10 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx: In member function 'void test::t1_base::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx:100:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 100 | ::std::auto_ptr< a_type > r ( + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -54108,6 +54147,9 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -54138,6 +54180,91 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx:113:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 113 | ::std::auto_ptr< b_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx: In member function 'void test::t1_interm::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx:222:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 222 | ::std::auto_ptr< c_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx: In member function 'void test::t1_derived::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx:331:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 331 | ::std::auto_ptr< d_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx: In member function 'void test::t2_derived::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx:525:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 525 | ::std::auto_ptr< a_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx:538:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 538 | ::std::auto_ptr< b_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx: In member function 'void test::t3_type::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx:648:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 648 | ::std::auto_ptr< a_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx:664:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 664 | ::std::auto_ptr< b_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx:680:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 680 | ::std::auto_ptr< c_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx: In member function 'void test::t4_base::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx:816:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 816 | ::std::auto_ptr< a_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx:829:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 829 | ::std::auto_ptr< b_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx: In member function 'void test::t4_derived::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx:959:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 959 | ::std::auto_ptr< c_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx: In member function 'void test::t5_derived::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx:1181:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1181 | ::std::auto_ptr< a_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx:1194:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1194 | ::std::auto_ptr< b_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -54214,6 +54341,34 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx: In member function 'void test::root::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx:1566:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1566 | ::std::auto_ptr< t1_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx:1577:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1577 | ::std::auto_ptr< t2_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx:1588:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1588 | ::std::auto_ptr< t3_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx:1599:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1599 | ::std::auto_ptr< t4_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx:1610:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1610 | ::std::auto_ptr< t5a_type > r ( + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -54224,6 +54379,9 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -54251,6 +54409,12 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx:1621:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1621 | ::std::auto_ptr< t5b_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -54261,6 +54425,12 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx:1632:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1632 | ::std::auto_ptr< t6_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -54280,6 +54450,12 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx:1643:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1643 | ::std::auto_ptr< t7_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -54298,256 +54474,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.hxx:709:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 709 | a (::std::auto_ptr< a_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.hxx:732:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 732 | b (::std::auto_ptr< b_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.hxx:1589:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1589 | ::std::auto_ptr< ::test::root > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.hxx:1594:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1594 | ::std::auto_ptr< ::test::root > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.hxx:1600:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1600 | ::std::auto_ptr< ::test::root > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.hxx:1609:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1609 | ::std::auto_ptr< ::test::root > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.hxx:1614:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1614 | ::std::auto_ptr< ::test::root > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.hxx:1620:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1620 | ::std::auto_ptr< ::test::root > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.hxx:1626:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1626 | ::std::auto_ptr< ::test::root > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.hxx:1632:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1632 | ::std::auto_ptr< ::test::root > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.hxx:1639:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1639 | ::std::auto_ptr< ::test::root > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.hxx:1649:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1649 | ::std::auto_ptr< ::test::root > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.hxx:1654:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1654 | ::std::auto_ptr< ::test::root > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.hxx:1660:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1660 | ::std::auto_ptr< ::test::root > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.hxx:1669:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1669 | ::std::auto_ptr< ::test::root > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.hxx:1674:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1674 | ::std::auto_ptr< ::test::root > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.hxx:1809: -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.ixx:293:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 293 | a (::std::auto_ptr< a_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.ixx:328:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 328 | b (::std::auto_ptr< b_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx: In member function 'void test::t1_base::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx:100:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 100 | ::std::auto_ptr< a_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx:113:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 113 | ::std::auto_ptr< b_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx: In member function 'void test::t1_interm::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx:222:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 222 | ::std::auto_ptr< c_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx: In member function 'void test::t1_derived::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx:331:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 331 | ::std::auto_ptr< d_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx: In member function 'void test::t2_derived::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx:525:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 525 | ::std::auto_ptr< a_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx:538:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 538 | ::std::auto_ptr< b_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx: In member function 'void test::t3_type::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx:648:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 648 | ::std::auto_ptr< a_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx:664:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 664 | ::std::auto_ptr< b_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx:680:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 680 | ::std::auto_ptr< c_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx: In member function 'void test::t4_base::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx:816:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 816 | ::std::auto_ptr< a_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx:829:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 829 | ::std::auto_ptr< b_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx: In member function 'void test::t4_derived::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx:959:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 959 | ::std::auto_ptr< c_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx: In member function 'void test::t5_derived::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx:1181:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1181 | ::std::auto_ptr< a_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx:1194:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1194 | ::std::auto_ptr< b_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx: In member function 'void test::root::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx:1566:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1566 | ::std::auto_ptr< t1_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx:1577:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1577 | ::std::auto_ptr< t2_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx:1588:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1588 | ::std::auto_ptr< t3_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx:1599:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1599 | ::std::auto_ptr< t4_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx:1610:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1610 | ::std::auto_ptr< t5a_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx:1621:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1621 | ::std::auto_ptr< t5b_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx:1632:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1632 | ::std::auto_ptr< t6_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx:1643:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1643 | ::std::auto_ptr< t7_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx: At global scope: /build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.cxx:1728:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1728 | ::std::auto_ptr< ::test::root > @@ -54702,8 +54628,126 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison -I/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream -I/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/driver.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream -I/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.cxx +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.hxx:709:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 709 | a (::std::auto_ptr< a_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.hxx:732:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 732 | b (::std::auto_ptr< b_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.hxx:1589:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1589 | ::std::auto_ptr< ::test::root > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.hxx:1594:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1594 | ::std::auto_ptr< ::test::root > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.hxx:1600:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1600 | ::std::auto_ptr< ::test::root > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.hxx:1609:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1609 | ::std::auto_ptr< ::test::root > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.hxx:1614:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1614 | ::std::auto_ptr< ::test::root > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.hxx:1620:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1620 | ::std::auto_ptr< ::test::root > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.hxx:1626:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1626 | ::std::auto_ptr< ::test::root > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.hxx:1632:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1632 | ::std::auto_ptr< ::test::root > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.hxx:1639:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1639 | ::std::auto_ptr< ::test::root > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.hxx:1649:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1649 | ::std::auto_ptr< ::test::root > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.hxx:1654:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1654 | ::std::auto_ptr< ::test::root > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.hxx:1660:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1660 | ::std::auto_ptr< ::test::root > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.hxx:1669:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1669 | ::std::auto_ptr< ::test::root > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.hxx:1674:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1674 | ::std::auto_ptr< ::test::root > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.hxx:1809: +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.ixx:293:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 293 | a (::std::auto_ptr< a_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.ixx:328:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 328 | b (::std::auto_ptr< b_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/driver.cxx: In function 'int main(int, char**)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/driver.cxx:34:5: note: in expansion of macro 'XSD_AUTO_PTR' + 34 | XSD_AUTO_PTR r (root_ (argv[1], xml_schema::flags::dont_initialize)); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.hxx:50, from /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/driver.cxx:11: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] @@ -54808,6 +54852,7 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type -I/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/driver.cxx /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -55228,250 +55273,373 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.hxx:277:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 277 | a (::std::auto_ptr< a_type > p); - | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.hxx:50, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.cxx:41: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' + 894 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.hxx:61: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.hxx:357:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 357 | b (::std::auto_ptr< b_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' + 934 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.hxx:479:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 479 | base (::std::auto_ptr< base_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1026 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.hxx:485:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 485 | type (::std::auto_ptr< base_type >); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1095 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.hxx:538:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 538 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1103 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.hxx:543:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 543 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1114 | XSD_AUTO_PTR dom_info_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.hxx:549:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 549 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1137 | XSD_AUTO_PTR map_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.hxx:558:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 558 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1152 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.hxx:563:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 563 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1180 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.hxx:569:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 569 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' + 1203 | mutable XSD_AUTO_PTR content_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.hxx:575:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 575 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' + 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.hxx:581:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 581 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:944:22: note: in expansion of macro 'XSD_AUTO_PTR' + 944 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.hxx:588:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 588 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:958:22: note: in expansion of macro 'XSD_AUTO_PTR' + 958 | return XSD_AUTO_PTR (); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.hxx:598:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 598 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:990:22: note: in expansion of macro 'XSD_AUTO_PTR' + 990 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.hxx:603:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 603 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_attribute_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1036:22: note: in expansion of macro 'XSD_AUTO_PTR' + 1036 | return XSD_AUTO_PTR (); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.hxx:609:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 609 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1047:22: note: in expansion of macro 'XSD_AUTO_PTR' + 1047 | return XSD_AUTO_PTR (); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.hxx:618:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 618 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1074:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1074 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.hxx:623:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 623 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::type&, bool)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1098:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1098 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.hxx:630: -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.ixx:70:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 70 | a (::std::auto_ptr< a_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::type&)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1106:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1106 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.ixx:130:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 130 | b (::std::auto_ptr< b_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_content_type::clone() const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1183:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1183 | return XSD_AUTO_PTR (new dom_content_type (dom)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.ixx:187:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 187 | base (::std::auto_ptr< base_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1367:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1367 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/driver.cxx: In function 'int main(int, char**)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::simple_type::text_content_type::clone() const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/driver.cxx:27:5: note: in expansion of macro 'XSD_AUTO_PTR' - 27 | XSD_AUTO_PTR r (root (argv[1])); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1370:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1370 | return XSD_AUTO_PTR (new text_content_type (text)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:50, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/driver.cxx:11: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' - 894 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/driver.cxx:8: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1491:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1491 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' - 934 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1497:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1497 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1026 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1503:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1503 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1095 | static XSD_AUTO_PTR +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1516:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1516 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1494:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1494 | return XSD_AUTO_PTR (new T (e, f, c)); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1103 | static XSD_AUTO_PTR +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1500:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1500 | return XSD_AUTO_PTR (new T (a, f, c)); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1114 | XSD_AUTO_PTR dom_info_; - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1509:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1509 | return XSD_AUTO_PTR (new T (s, e, f, c)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1137 | XSD_AUTO_PTR map_; - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1519:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1519 | return XSD_AUTO_PTR (new T (s, f, c)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1152 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1530:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1530 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1180 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1537:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1537 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' - 1203 | mutable XSD_AUTO_PTR content_; - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1544:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1544 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' - 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1555:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1555 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream -I/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.cxx -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.hxx:50, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.cxx:41: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1533:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1533 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1540:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1540 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1550:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1550 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1558:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1558 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:50, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/driver.cxx:11: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -55479,8 +55647,7 @@ 894 | virtual XSD_AUTO_PTR | ^~~~~~~~~~~~ In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.hxx:61: + from /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/driver.cxx:8: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -55565,311 +55732,348 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' - 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:138:14: note: in expansion of macro 'XSD_AUTO_PTR' + 138 | one (XSD_AUTO_PTR, container*); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:944:22: note: in expansion of macro 'XSD_AUTO_PTR' - 944 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:165:14: note: in expansion of macro 'XSD_AUTO_PTR' + 165 | set (XSD_AUTO_PTR); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:958:22: note: in expansion of macro 'XSD_AUTO_PTR' - 958 | return XSD_AUTO_PTR (); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:173:9: note: in expansion of macro 'XSD_AUTO_PTR' + 173 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::one::detach()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:990:22: note: in expansion of macro 'XSD_AUTO_PTR' - 990 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:179:18: note: in expansion of macro 'XSD_AUTO_PTR' + 179 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_attribute_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1036:22: note: in expansion of macro 'XSD_AUTO_PTR' - 1036 | return XSD_AUTO_PTR (); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:270:19: note: in expansion of macro 'XSD_AUTO_PTR' + 270 | optional (XSD_AUTO_PTR, container* = 0); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1047:22: note: in expansion of macro 'XSD_AUTO_PTR' - 1047 | return XSD_AUTO_PTR (); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:343:14: note: in expansion of macro 'XSD_AUTO_PTR' + 343 | set (XSD_AUTO_PTR); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1074:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1074 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:348:9: note: in expansion of macro 'XSD_AUTO_PTR' + 348 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::type&, bool)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::optional::detach()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1098:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1098 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:354:18: note: in expansion of macro 'XSD_AUTO_PTR' + 354 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::type&)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1106:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1106 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.hxx:277:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 277 | a (::std::auto_ptr< a_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_content_type::clone() const': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1183:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1183 | return XSD_AUTO_PTR (new dom_content_type (dom)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.hxx:357:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 357 | b (::std::auto_ptr< b_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:944:22: note: in expansion of macro 'XSD_AUTO_PTR' - 944 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' + 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:958:22: note: in expansion of macro 'XSD_AUTO_PTR' - 958 | return XSD_AUTO_PTR (); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.hxx:479:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 479 | base (::std::auto_ptr< base_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1367:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1367 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.hxx:485:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 485 | type (::std::auto_ptr< base_type >); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::simple_type::text_content_type::clone() const': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1370:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1370 | return XSD_AUTO_PTR (new text_content_type (text)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.hxx:538:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 538 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1491:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1491 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.hxx:543:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 543 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1497:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1497 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.hxx:549:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 549 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:990:22: note: in expansion of macro 'XSD_AUTO_PTR' - 990 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1503:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1503 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.hxx:558:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 558 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.hxx:563:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 563 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.hxx:569:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 569 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.hxx:575:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 575 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.hxx:581:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 581 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.hxx:588:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 588 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.hxx:598:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 598 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.hxx:603:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 603 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.hxx:609:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 609 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.hxx:618:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 618 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.hxx:623:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 623 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.hxx:630: +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.ixx:70:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 70 | a (::std::auto_ptr< a_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.ixx:130:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 130 | b (::std::auto_ptr< b_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.ixx:187:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 187 | base (::std::auto_ptr< base_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1516:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1516 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1018 | push_back (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1494:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1494 | return XSD_AUTO_PTR (new T (e, f, c)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1032 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1500:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1500 | return XSD_AUTO_PTR (new T (a, f, c)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1054 | insert (iterator position, XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1509:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1509 | return XSD_AUTO_PTR (new T (s, e, f, c)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/driver.cxx: In function 'int main(int, char**)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1519:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1519 | return XSD_AUTO_PTR (new T (s, f, c)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/driver.cxx:27:5: note: in expansion of macro 'XSD_AUTO_PTR' + 27 | XSD_AUTO_PTR r (root (argv[1])); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1530:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1530 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1042 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1537:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1537 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' + 45 | one (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1544:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1544 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' + 97 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1555:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1555 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' + 139 | optional (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1533:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1533 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' + 200 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1540:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1540 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:944:22: note: in expansion of macro 'XSD_AUTO_PTR' + 944 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1550:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1550 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:958:22: note: in expansion of macro 'XSD_AUTO_PTR' + 958 | return XSD_AUTO_PTR (); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_attribute_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1036:22: note: in expansion of macro 'XSD_AUTO_PTR' - 1036 | return XSD_AUTO_PTR (); +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:990:22: note: in expansion of macro 'XSD_AUTO_PTR' + 990 | return XSD_AUTO_PTR ( | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_attribute_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1558:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1558 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1036:22: note: in expansion of macro 'XSD_AUTO_PTR' + 1036 | return XSD_AUTO_PTR (); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -56255,167 +56459,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:138:14: note: in expansion of macro 'XSD_AUTO_PTR' - 138 | one (XSD_AUTO_PTR, container*); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:165:14: note: in expansion of macro 'XSD_AUTO_PTR' - 165 | set (XSD_AUTO_PTR); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:173:9: note: in expansion of macro 'XSD_AUTO_PTR' - 173 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::one::detach()': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:179:18: note: in expansion of macro 'XSD_AUTO_PTR' - 179 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:270:19: note: in expansion of macro 'XSD_AUTO_PTR' - 270 | optional (XSD_AUTO_PTR, container* = 0); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:343:14: note: in expansion of macro 'XSD_AUTO_PTR' - 343 | set (XSD_AUTO_PTR); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:348:9: note: in expansion of macro 'XSD_AUTO_PTR' - 348 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::optional::detach()': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:354:18: note: in expansion of macro 'XSD_AUTO_PTR' - 354 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1018 | push_back (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1032 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1054 | insert (iterator position, XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1042 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' - 45 | one (XSD_AUTO_PTR x, container* c) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' - 97 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' - 139 | optional (XSD_AUTO_PTR x, container* c) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' - 200 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type -I/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/driver.cxx /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.hxx:277:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 277 | a (::std::auto_ptr< a_type > p); | ^~~~~~~~ @@ -56543,30 +56586,7 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:280:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 280 | a (::std::auto_ptr< a_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:301:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 301 | base (::std::auto_ptr< a_type >, - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:356:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 356 | b (::std::auto_ptr< b_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:363:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 363 | derived1 (::std::auto_ptr< a_type >, - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type -I/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -56603,21 +56623,102 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:420:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 420 | derived2 (::std::auto_ptr< a_type >, - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:275:7: note: in expansion of macro 'XSD_AUTO_PTR' + 275 | XSD_AUTO_PTR type_factory_map:: + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: In member function 'std::auto_ptr xsd::cxx::tree::type_factory_map::create(const C*, const C*, factory, bool, bool, const xercesc_3_2::DOMElement&, const qualified_name&, xsd::cxx::tree::flags, xsd::cxx::tree::container*) const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:275:7: note: in expansion of macro 'XSD_AUTO_PTR' - 275 | XSD_AUTO_PTR type_factory_map:: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:309:18: note: in expansion of macro 'XSD_AUTO_PTR' + 309 | return XSD_AUTO_PTR (); // No match. + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:328:7: note: in expansion of macro 'XSD_AUTO_PTR' + 328 | XSD_AUTO_PTR type_factory_map:: + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: In static member function 'static std::auto_ptr xsd::cxx::tree::type_factory_map::traits_adapter(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:331:16: note: in expansion of macro 'XSD_AUTO_PTR' + 331 | return XSD_AUTO_PTR (traits::create (e, f, c)); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:429:7: note: in expansion of macro 'XSD_AUTO_PTR' + 429 | XSD_AUTO_PTR | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: In function 'std::auto_ptr xsd::cxx::tree::factory_impl(const xercesc_3_2::DOMElement&, flags, container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:432:16: note: in expansion of macro 'XSD_AUTO_PTR' + 432 | return XSD_AUTO_PTR (new T (e, f, c)); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:280:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 280 | a (::std::auto_ptr< a_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:301:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 301 | base (::std::auto_ptr< a_type >, + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.cxx: In member function 'void test::base::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.cxx:113:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 113 | ::std::auto_ptr< a_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:356:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 356 | b (::std::auto_ptr< b_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:363:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 363 | derived1 (::std::auto_ptr< a_type >, + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:420:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 420 | derived2 (::std::auto_ptr< a_type >, + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:530:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 530 | derived3 (::std::auto_ptr< a_type >, | ^~~~~~~~ @@ -56630,6 +56731,13 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.cxx: In member function 'void test::derived1::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.cxx:256:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 256 | ::std::auto_ptr< b_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:603:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 603 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ @@ -56678,16 +56786,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: In member function 'std::auto_ptr xsd::cxx::tree::type_factory_map::create(const C*, const C*, factory, bool, bool, const xercesc_3_2::DOMElement&, const qualified_name&, xsd::cxx::tree::flags, xsd::cxx::tree::container*) const': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:309:18: note: in expansion of macro 'XSD_AUTO_PTR' - 309 | return XSD_AUTO_PTR (); // No match. - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:658:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 658 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ @@ -56700,32 +56798,12 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:328:7: note: in expansion of macro 'XSD_AUTO_PTR' - 328 | XSD_AUTO_PTR type_factory_map:: - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:669:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 669 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: In static member function 'static std::auto_ptr xsd::cxx::tree::type_factory_map::traits_adapter(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:331:16: note: in expansion of macro 'XSD_AUTO_PTR' - 331 | return XSD_AUTO_PTR (traits::create (e, f, c)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:678:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 678 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ @@ -56738,26 +56816,10 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:429:7: note: in expansion of macro 'XSD_AUTO_PTR' - 429 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: In function 'std::auto_ptr xsd::cxx::tree::factory_impl(const xercesc_3_2::DOMElement&, flags, container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:432:16: note: in expansion of macro 'XSD_AUTO_PTR' - 432 | return XSD_AUTO_PTR (new T (e, f, c)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.cxx: In member function 'void test::derived2::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.cxx:374:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 374 | ::std::auto_ptr< c_type > r ( + | ^~~~~~~~ In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:690: /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.ixx:70:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 70 | a (::std::auto_ptr< a_type > x) @@ -56765,12 +56827,22 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.ixx:130:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 130 | b (::std::auto_ptr< b_type > x) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.cxx:449:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 449 | type (::std::auto_ptr< base_type > base) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/driver.cxx: In function 'int main(int, char**)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -56781,34 +56853,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.cxx: In member function 'void test::base::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.cxx:113:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 113 | ::std::auto_ptr< a_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.cxx: In member function 'void test::derived1::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.cxx:256:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 256 | ::std::auto_ptr< b_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.cxx: In member function 'void test::derived2::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.cxx:374:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 374 | ::std::auto_ptr< c_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.cxx:449:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 449 | type (::std::auto_ptr< base_type > base) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.cxx: In member function 'void test::type::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.cxx:491:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 491 | ::std::auto_ptr< ::xsd::cxx::tree::type > tmp ( @@ -56976,11 +57020,8 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type -I/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix -I/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/driver.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix -I/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:50, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.cxx:41: +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:50, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/driver.cxx:11: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -56988,8 +57029,7 @@ 894 | virtual XSD_AUTO_PTR | ^~~~~~~~~~~~ In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:61: + from /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/driver.cxx:8: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -57504,8 +57544,119 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:50, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/driver.cxx:11: +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix -I/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/driver.cxx +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:277:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 277 | a (::std::auto_ptr< a_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:392:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 392 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:397:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 397 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:403:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 403 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:412:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 412 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:417:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 417 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:423:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 423 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:429:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 429 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:435:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 435 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:442:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 442 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:452:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 452 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:457:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 457 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:463:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 463 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:472:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 472 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:477:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 477 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:484: +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.ixx:70:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 70 | a (::std::auto_ptr< a_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/driver.cxx: In function 'int main(int, char**)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/driver.cxx:27:5: note: in expansion of macro 'XSD_AUTO_PTR' + 27 | XSD_AUTO_PTR r (root (argv[1])); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix -I/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix -I/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/foo.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/foo.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix -I/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/bar.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/bar.cxx +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:50, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.cxx:41: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -57513,7 +57664,8 @@ 894 | virtual XSD_AUTO_PTR | ^~~~~~~~~~~~ In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/driver.cxx:8: + from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:61: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -57608,136 +57760,529 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:280:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 280 | a (::std::auto_ptr< a_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:944:22: note: in expansion of macro 'XSD_AUTO_PTR' + 944 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:301:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 301 | base (::std::auto_ptr< a_type >, - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:958:22: note: in expansion of macro 'XSD_AUTO_PTR' + 958 | return XSD_AUTO_PTR (); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:356:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 356 | b (::std::auto_ptr< b_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:990:22: note: in expansion of macro 'XSD_AUTO_PTR' + 990 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:363:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 363 | derived1 (::std::auto_ptr< a_type >, - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_attribute_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1036:22: note: in expansion of macro 'XSD_AUTO_PTR' + 1036 | return XSD_AUTO_PTR (); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:420:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 420 | derived2 (::std::auto_ptr< a_type >, - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1047:22: note: in expansion of macro 'XSD_AUTO_PTR' + 1047 | return XSD_AUTO_PTR (); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:530:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 530 | derived3 (::std::auto_ptr< a_type >, - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1074:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1074 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:598:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 598 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::type&, bool)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1098:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1098 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:603:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 603 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::type&)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1106:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1106 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:609:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 609 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_content_type::clone() const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1183:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1183 | return XSD_AUTO_PTR (new dom_content_type (dom)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:618:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 618 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1367:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1367 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:623:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 623 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::simple_type::text_content_type::clone() const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1370:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1370 | return XSD_AUTO_PTR (new text_content_type (text)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:629:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 629 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1491:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1491 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:635:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 635 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1497:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1497 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:641:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 641 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1503:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1503 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:648:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 648 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1516:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1516 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:658:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 658 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1494:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1494 | return XSD_AUTO_PTR (new T (e, f, c)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:663:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 663 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1500:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1500 | return XSD_AUTO_PTR (new T (a, f, c)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:669:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 669 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1509:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1509 | return XSD_AUTO_PTR (new T (s, e, f, c)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:678:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 678 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1519:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1519 | return XSD_AUTO_PTR (new T (s, f, c)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:683:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 683 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1530:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1530 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:690: -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.ixx:70:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 70 | a (::std::auto_ptr< a_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1537:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1537 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.ixx:130:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 130 | b (::std::auto_ptr< b_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1544:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1544 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1555:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1555 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1533:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1533 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1540:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1540 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1550:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1550 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1558:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1558 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template -I/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/driver.cxx +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:50, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:41: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' + 894 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:61: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' + 934 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1026 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1095 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1103 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1114 | XSD_AUTO_PTR dom_info_; + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1137 | XSD_AUTO_PTR map_; + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1152 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1180 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' + 1203 | mutable XSD_AUTO_PTR content_; + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:138:14: note: in expansion of macro 'XSD_AUTO_PTR' + 138 | one (XSD_AUTO_PTR, container*); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:165:14: note: in expansion of macro 'XSD_AUTO_PTR' + 165 | set (XSD_AUTO_PTR); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:173:9: note: in expansion of macro 'XSD_AUTO_PTR' + 173 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::one::detach()': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:179:18: note: in expansion of macro 'XSD_AUTO_PTR' + 179 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:270:19: note: in expansion of macro 'XSD_AUTO_PTR' + 270 | optional (XSD_AUTO_PTR, container* = 0); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:343:14: note: in expansion of macro 'XSD_AUTO_PTR' + 343 | set (XSD_AUTO_PTR); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:348:9: note: in expansion of macro 'XSD_AUTO_PTR' + 348 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::optional::detach()': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:354:18: note: in expansion of macro 'XSD_AUTO_PTR' + 354 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' + 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1018 | push_back (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1032 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1054 | insert (iterator position, XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1042 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' + 45 | one (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' + 97 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' + 139 | optional (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' + 200 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -58001,6 +58546,396 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:138:14: note: in expansion of macro 'XSD_AUTO_PTR' + 138 | one (XSD_AUTO_PTR, container*); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:165:14: note: in expansion of macro 'XSD_AUTO_PTR' + 165 | set (XSD_AUTO_PTR); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:173:9: note: in expansion of macro 'XSD_AUTO_PTR' + 173 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::one::detach()': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:179:18: note: in expansion of macro 'XSD_AUTO_PTR' + 179 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:270:19: note: in expansion of macro 'XSD_AUTO_PTR' + 270 | optional (XSD_AUTO_PTR, container* = 0); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:343:14: note: in expansion of macro 'XSD_AUTO_PTR' + 343 | set (XSD_AUTO_PTR); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:348:9: note: in expansion of macro 'XSD_AUTO_PTR' + 348 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::optional::detach()': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:354:18: note: in expansion of macro 'XSD_AUTO_PTR' + 354 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1018 | push_back (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1032 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1054 | insert (iterator position, XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1042 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' + 45 | one (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' + 97 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' + 139 | optional (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' + 200 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:280:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 280 | a (::std::auto_ptr< a_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:301:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 301 | base (::std::auto_ptr< a_type >, + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:356:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 356 | b (::std::auto_ptr< b_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:363:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 363 | derived1 (::std::auto_ptr< a_type >, + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:420:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 420 | derived2 (::std::auto_ptr< a_type >, + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:530:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 530 | derived3 (::std::auto_ptr< a_type >, + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:598:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 598 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:603:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 603 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:609:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 609 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:618:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 618 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:623:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 623 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:629:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 629 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:635:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 635 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:641:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 641 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:648:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 648 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:658:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 658 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:663:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 663 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:669:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 669 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:678:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 678 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:683:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 683 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.hxx:690: +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.ixx:70:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 70 | a (::std::auto_ptr< a_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.ixx:130:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 130 | b (::std::auto_ptr< b_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:277:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 277 | a (::std::auto_ptr< a_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:392:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 392 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:397:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 397 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:403:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 403 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:412:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 412 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:417:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 417 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:423:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 423 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:429:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 429 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:435:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 435 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:442:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 442 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:452:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 452 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:457:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 457 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:463:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 463 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:472:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 472 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:477:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 477 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:484: +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.ixx:70:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 70 | a (::std::auto_ptr< a_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -58110,6 +59045,108 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.hxx:30:17: note: in expansion of macro 'XSD_AUTO_PTR' + 30 | typedef XSD_AUTO_PTR (*factory) (const xercesc::DOMElement&, + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.hxx:53:9: note: in expansion of macro 'XSD_AUTO_PTR' + 53 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.hxx:70:16: note: in expansion of macro 'XSD_AUTO_PTR' + 70 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.hxx:136:7: note: in expansion of macro 'XSD_AUTO_PTR' + 136 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:275:7: note: in expansion of macro 'XSD_AUTO_PTR' + 275 | XSD_AUTO_PTR type_factory_map:: + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: In member function 'std::auto_ptr xsd::cxx::tree::type_factory_map::create(const C*, const C*, factory, bool, bool, const xercesc_3_2::DOMElement&, const qualified_name&, xsd::cxx::tree::flags, xsd::cxx::tree::container*) const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:309:18: note: in expansion of macro 'XSD_AUTO_PTR' + 309 | return XSD_AUTO_PTR (); // No match. + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:328:7: note: in expansion of macro 'XSD_AUTO_PTR' + 328 | XSD_AUTO_PTR type_factory_map:: + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: In static member function 'static std::auto_ptr xsd::cxx::tree::type_factory_map::traits_adapter(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:331:16: note: in expansion of macro 'XSD_AUTO_PTR' + 331 | return XSD_AUTO_PTR (traits::create (e, f, c)); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:429:7: note: in expansion of macro 'XSD_AUTO_PTR' + 429 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: In function 'std::auto_ptr xsd::cxx::tree::factory_impl(const xercesc_3_2::DOMElement&, flags, container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:432:16: note: in expansion of macro 'XSD_AUTO_PTR' + 432 | return XSD_AUTO_PTR (new T (e, f, c)); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx: In member function 'void test::base::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:103:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 103 | ::std::auto_ptr< a_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.cxx:126:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 126 | ::std::auto_ptr< a_type > r ( | ^~~~~~~~ @@ -58123,6 +59160,13 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx: In member function 'void test::type::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:209:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 209 | ::std::auto_ptr< ::xsd::cxx::tree::type > tmp ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.cxx: In member function 'void test::derived1::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.cxx:259:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 259 | ::std::auto_ptr< ::xsd::cxx::tree::type > tmp ( @@ -58169,6 +59213,12 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:218:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 218 | ::std::auto_ptr< base_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.cxx: At global scope: /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.cxx:557:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 557 | derived3 (::std::auto_ptr< a_type > a, @@ -58189,198 +59239,136 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:138:14: note: in expansion of macro 'XSD_AUTO_PTR' - 138 | one (XSD_AUTO_PTR, container*); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:310:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 310 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:165:14: note: in expansion of macro 'XSD_AUTO_PTR' - 165 | set (XSD_AUTO_PTR); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:327:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 327 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:173:9: note: in expansion of macro 'XSD_AUTO_PTR' - 173 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:332:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 332 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::one::detach()': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:179:18: note: in expansion of macro 'XSD_AUTO_PTR' - 179 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.cxx:789:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 789 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:270:19: note: in expansion of macro 'XSD_AUTO_PTR' - 270 | optional (XSD_AUTO_PTR, container* = 0); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:349:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 349 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:343:14: note: in expansion of macro 'XSD_AUTO_PTR' - 343 | set (XSD_AUTO_PTR); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:354:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 354 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:348:9: note: in expansion of macro 'XSD_AUTO_PTR' - 348 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:367:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 367 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::optional::detach()': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:354:18: note: in expansion of macro 'XSD_AUTO_PTR' - 354 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:372:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 372 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.hxx:50, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:41: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' - 894 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.hxx:61: +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:385:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 385 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' - 934 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:399:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 399 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1026 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:409:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 409 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1095 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:423:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 423 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1103 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:438:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 438 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1114 | XSD_AUTO_PTR dom_info_; - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:449:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 449 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1137 | XSD_AUTO_PTR map_; - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:462:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 462 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1152 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:467:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 467 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1180 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:480:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 480 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' - 1203 | mutable XSD_AUTO_PTR content_; - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.cxx:806:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 806 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.cxx:789:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 789 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:485:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 485 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' - 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix -I/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/foo.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/foo.cxx -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.cxx:806:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 806 | return ::std::auto_ptr< ::test::type > ( +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:498:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 498 | return ::std::auto_ptr< ::test::type > ( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; @@ -58392,6 +59380,20 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:503:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 503 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx: In function 'std::auto_ptr test::root(const xercesc_3_2::DOMDocument&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:513:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 513 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.cxx:828:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 828 | return ::std::auto_ptr< ::test::type > ( @@ -58399,6 +59401,12 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:525:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 525 | ::std::auto_ptr< ::test::type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.cxx: At global scope: /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.cxx:833:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 833 | ::std::auto_ptr< ::test::type > @@ -58420,6 +59428,13 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:538:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 538 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.cxx:864:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 864 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ @@ -58432,6 +59447,13 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx: In function 'std::auto_ptr test::root(xsd::cxx::xml::dom::auto_ptr, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:563:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 563 | ::std::auto_ptr< ::test::type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.cxx:888:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 888 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ @@ -58537,87 +59559,212 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/foo.hxx:50, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/foo.cxx:41: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' + 894 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/foo.hxx:61: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' + 934 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1026 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1095 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1103 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1114 | XSD_AUTO_PTR dom_info_; + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1137 | XSD_AUTO_PTR map_; + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1152 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1180 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' + 1203 | mutable XSD_AUTO_PTR content_; + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.hxx:50, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/driver.cxx:11: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' + 894 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/driver.cxx:8: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' + 934 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' + 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1018 | push_back (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1026 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1032 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1095 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1054 | insert (iterator position, XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1103 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1114 | XSD_AUTO_PTR dom_info_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1042 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1137 | XSD_AUTO_PTR map_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' - 45 | one (XSD_AUTO_PTR x, container* c) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1152 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' - 97 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1180 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' - 139 | optional (XSD_AUTO_PTR x, container* c) +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' + 1203 | mutable XSD_AUTO_PTR content_; | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' - 200 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' + 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -58994,6 +60141,16 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:944:22: note: in expansion of macro 'XSD_AUTO_PTR' + 944 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -59041,225 +60198,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.hxx:50, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/driver.cxx:11: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' - 894 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/driver.cxx:8: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' - 934 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1026 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1095 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1103 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1114 | XSD_AUTO_PTR dom_info_; - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1137 | XSD_AUTO_PTR map_; - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1152 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1180 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' - 1203 | mutable XSD_AUTO_PTR content_; - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' - 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:50, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:41: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' - 894 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:61: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' - 934 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1026 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1095 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1103 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1114 | XSD_AUTO_PTR dom_info_; - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1137 | XSD_AUTO_PTR map_; - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1152 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1180 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' - 1203 | mutable XSD_AUTO_PTR content_; - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' - 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:944:22: note: in expansion of macro 'XSD_AUTO_PTR' - 944 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -59336,16 +60274,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:944:22: note: in expansion of macro 'XSD_AUTO_PTR' - 944 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -59366,15 +60294,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:958:22: note: in expansion of macro 'XSD_AUTO_PTR' - 958 | return XSD_AUTO_PTR (); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -59465,15 +60384,6 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:990:22: note: in expansion of macro 'XSD_AUTO_PTR' - 990 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1537:16: note: in expansion of macro 'XSD_AUTO_PTR' 1537 | static XSD_AUTO_PTR | ^~~~~~~~~~~~ @@ -59538,235 +60448,258 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_attribute_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1036:22: note: in expansion of macro 'XSD_AUTO_PTR' - 1036 | return XSD_AUTO_PTR (); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:138:14: note: in expansion of macro 'XSD_AUTO_PTR' + 138 | one (XSD_AUTO_PTR, container*); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1047:22: note: in expansion of macro 'XSD_AUTO_PTR' - 1047 | return XSD_AUTO_PTR (); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:165:14: note: in expansion of macro 'XSD_AUTO_PTR' + 165 | set (XSD_AUTO_PTR); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1074:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1074 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:173:9: note: in expansion of macro 'XSD_AUTO_PTR' + 173 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::type&, bool)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::one::detach()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1098:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1098 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:179:18: note: in expansion of macro 'XSD_AUTO_PTR' + 179 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::type&)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1106:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1106 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:270:19: note: in expansion of macro 'XSD_AUTO_PTR' + 270 | optional (XSD_AUTO_PTR, container* = 0); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_content_type::clone() const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1183:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1183 | return XSD_AUTO_PTR (new dom_content_type (dom)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:343:14: note: in expansion of macro 'XSD_AUTO_PTR' + 343 | set (XSD_AUTO_PTR); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1367:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1367 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:348:9: note: in expansion of macro 'XSD_AUTO_PTR' + 348 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::simple_type::text_content_type::clone() const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::optional::detach()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1370:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1370 | return XSD_AUTO_PTR (new text_content_type (text)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:354:18: note: in expansion of macro 'XSD_AUTO_PTR' + 354 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1491:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1491 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1018 | push_back (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1497:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1497 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1032 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1503:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1503 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1054 | insert (iterator position, XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1516:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1516 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1494:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1494 | return XSD_AUTO_PTR (new T (e, f, c)); +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1042 | return XSD_AUTO_PTR (x); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1500:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1500 | return XSD_AUTO_PTR (new T (a, f, c)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' + 45 | one (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1509:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1509 | return XSD_AUTO_PTR (new T (s, e, f, c)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' + 97 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1519:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1519 | return XSD_AUTO_PTR (new T (s, f, c)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' + 139 | optional (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1530:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1530 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' + 200 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1537:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1537 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.hxx:30:17: note: in expansion of macro 'XSD_AUTO_PTR' + 30 | typedef XSD_AUTO_PTR (*factory) (const xercesc::DOMElement&, + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1544:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1544 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.hxx:53:9: note: in expansion of macro 'XSD_AUTO_PTR' + 53 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1555:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1555 | static XSD_AUTO_PTR +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.hxx:70:16: note: in expansion of macro 'XSD_AUTO_PTR' + 70 | static XSD_AUTO_PTR | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1533:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1533 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.hxx:136:7: note: in expansion of macro 'XSD_AUTO_PTR' + 136 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1540:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1540 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:275:7: note: in expansion of macro 'XSD_AUTO_PTR' + 275 | XSD_AUTO_PTR type_factory_map:: + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: In member function 'std::auto_ptr xsd::cxx::tree::type_factory_map::create(const C*, const C*, factory, bool, bool, const xercesc_3_2::DOMElement&, const qualified_name&, xsd::cxx::tree::flags, xsd::cxx::tree::container*) const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1550:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1550 | return XSD_AUTO_PTR ( +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:309:18: note: in expansion of macro 'XSD_AUTO_PTR' + 309 | return XSD_AUTO_PTR (); // No match. | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1558:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1558 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:328:7: note: in expansion of macro 'XSD_AUTO_PTR' + 328 | XSD_AUTO_PTR type_factory_map:: + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: In static member function 'static std::auto_ptr xsd::cxx::tree::type_factory_map::traits_adapter(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:331:16: note: in expansion of macro 'XSD_AUTO_PTR' + 331 | return XSD_AUTO_PTR (traits::create (e, f, c)); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:429:7: note: in expansion of macro 'XSD_AUTO_PTR' + 429 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: In function 'std::auto_ptr xsd::cxx::tree::factory_impl(const xercesc_3_2::DOMElement&, flags, container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:432:16: note: in expansion of macro 'XSD_AUTO_PTR' + 432 | return XSD_AUTO_PTR (new T (e, f, c)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -59830,18 +60763,86 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.hxx:50, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:41: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' + 894 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.hxx:61: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' + 934 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.hxx:587:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 587 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1026 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1095 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1103 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1114 | XSD_AUTO_PTR dom_info_; + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.hxx:592:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 592 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1137 | XSD_AUTO_PTR map_; + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.hxx:598:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 598 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ @@ -59860,6 +60861,15 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1152 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.hxx:618:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 618 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ @@ -59872,6 +60882,15 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1180 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.hxx:630:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 630 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ @@ -59884,6 +60903,15 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' + 1203 | mutable XSD_AUTO_PTR content_; + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.hxx:647:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 647 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ @@ -59945,50 +60973,53 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/driver.cxx: In function 'int main(int, char**)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:138:14: note: in expansion of macro 'XSD_AUTO_PTR' - 138 | one (XSD_AUTO_PTR, container*); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/driver.cxx:27:5: note: in expansion of macro 'XSD_AUTO_PTR' + 27 | XSD_AUTO_PTR r (root (argv[1])); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:165:14: note: in expansion of macro 'XSD_AUTO_PTR' - 165 | set (XSD_AUTO_PTR); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' + 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.hxx:50, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/driver.cxx:11: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:173:9: note: in expansion of macro 'XSD_AUTO_PTR' - 173 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' + 894 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/driver.cxx:8: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::one::detach()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:179:18: note: in expansion of macro 'XSD_AUTO_PTR' - 179 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' + 934 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:270:19: note: in expansion of macro 'XSD_AUTO_PTR' - 270 | optional (XSD_AUTO_PTR, container* = 0); +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1026 | virtual XSD_AUTO_PTR | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; @@ -59996,298 +61027,292 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:343:14: note: in expansion of macro 'XSD_AUTO_PTR' - 343 | set (XSD_AUTO_PTR); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1095 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:348:9: note: in expansion of macro 'XSD_AUTO_PTR' - 348 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1103 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::optional::detach()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:354:18: note: in expansion of macro 'XSD_AUTO_PTR' - 354 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1114 | XSD_AUTO_PTR dom_info_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1018 | push_back (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1137 | XSD_AUTO_PTR map_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1032 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1152 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1054 | insert (iterator position, XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1180 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' + 1203 | mutable XSD_AUTO_PTR content_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1042 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' + 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:138:14: note: in expansion of macro 'XSD_AUTO_PTR' - 138 | one (XSD_AUTO_PTR, container*); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:944:22: note: in expansion of macro 'XSD_AUTO_PTR' + 944 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:165:14: note: in expansion of macro 'XSD_AUTO_PTR' - 165 | set (XSD_AUTO_PTR); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:958:22: note: in expansion of macro 'XSD_AUTO_PTR' + 958 | return XSD_AUTO_PTR (); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:173:9: note: in expansion of macro 'XSD_AUTO_PTR' - 173 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:990:22: note: in expansion of macro 'XSD_AUTO_PTR' + 990 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::one::detach()': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_attribute_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:179:18: note: in expansion of macro 'XSD_AUTO_PTR' - 179 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1036:22: note: in expansion of macro 'XSD_AUTO_PTR' + 1036 | return XSD_AUTO_PTR (); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' - 45 | one (XSD_AUTO_PTR x, container* c) - | ^~~~~~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:270:19: note: in expansion of macro 'XSD_AUTO_PTR' - 270 | optional (XSD_AUTO_PTR, container* = 0); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1047:22: note: in expansion of macro 'XSD_AUTO_PTR' + 1047 | return XSD_AUTO_PTR (); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:343:14: note: in expansion of macro 'XSD_AUTO_PTR' - 343 | set (XSD_AUTO_PTR); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1074:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1074 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::type&, bool)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:348:9: note: in expansion of macro 'XSD_AUTO_PTR' - 348 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1098:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1098 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::type&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' - 97 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1106:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1106 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::optional::detach()': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:354:18: note: in expansion of macro 'XSD_AUTO_PTR' - 354 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:944:22: note: in expansion of macro 'XSD_AUTO_PTR' + 944 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_content_type::clone() const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' - 139 | optional (XSD_AUTO_PTR x, container* c) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1183:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1183 | return XSD_AUTO_PTR (new dom_content_type (dom)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' - 200 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:958:22: note: in expansion of macro 'XSD_AUTO_PTR' + 958 | return XSD_AUTO_PTR (); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1018 | push_back (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:990:22: note: in expansion of macro 'XSD_AUTO_PTR' + 990 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_attribute_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1032 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1036:22: note: in expansion of macro 'XSD_AUTO_PTR' + 1036 | return XSD_AUTO_PTR (); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1054 | insert (iterator position, XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1047:22: note: in expansion of macro 'XSD_AUTO_PTR' + 1047 | return XSD_AUTO_PTR (); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1074:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1074 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::type&, bool)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1042 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1098:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1098 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::type&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' - 45 | one (XSD_AUTO_PTR x, container* c) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1106:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1106 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' - 97 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1367:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1367 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_content_type::clone() const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' - 139 | optional (XSD_AUTO_PTR x, container* c) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1183:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1183 | return XSD_AUTO_PTR (new dom_content_type (dom)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::simple_type::text_content_type::clone() const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' - 200 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1370:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1370 | return XSD_AUTO_PTR (new text_content_type (text)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.hxx:30:17: note: in expansion of macro 'XSD_AUTO_PTR' - 30 | typedef XSD_AUTO_PTR (*factory) (const xercesc::DOMElement&, - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1491:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1491 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.hxx:53:9: note: in expansion of macro 'XSD_AUTO_PTR' - 53 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1497:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1497 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.hxx:70:16: note: in expansion of macro 'XSD_AUTO_PTR' - 70 | static XSD_AUTO_PTR +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1503:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1503 | static XSD_AUTO_PTR | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; @@ -60295,521 +61320,517 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.hxx:136:7: note: in expansion of macro 'XSD_AUTO_PTR' - 136 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1516:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1516 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:275:7: note: in expansion of macro 'XSD_AUTO_PTR' - 275 | XSD_AUTO_PTR type_factory_map:: - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1494:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1494 | return XSD_AUTO_PTR (new T (e, f, c)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: In member function 'std::auto_ptr xsd::cxx::tree::type_factory_map::create(const C*, const C*, factory, bool, bool, const xercesc_3_2::DOMElement&, const qualified_name&, xsd::cxx::tree::flags, xsd::cxx::tree::container*) const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:309:18: note: in expansion of macro 'XSD_AUTO_PTR' - 309 | return XSD_AUTO_PTR (); // No match. +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1500:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1500 | return XSD_AUTO_PTR (new T (a, f, c)); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:328:7: note: in expansion of macro 'XSD_AUTO_PTR' - 328 | XSD_AUTO_PTR type_factory_map:: - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1509:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1509 | return XSD_AUTO_PTR (new T (s, e, f, c)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: In static member function 'static std::auto_ptr xsd::cxx::tree::type_factory_map::traits_adapter(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:331:16: note: in expansion of macro 'XSD_AUTO_PTR' - 331 | return XSD_AUTO_PTR (traits::create (e, f, c)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1367:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1367 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:429:7: note: in expansion of macro 'XSD_AUTO_PTR' - 429 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1519:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1519 | return XSD_AUTO_PTR (new T (s, f, c)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: In function 'std::auto_ptr xsd::cxx::tree::factory_impl(const xercesc_3_2::DOMElement&, flags, container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:432:16: note: in expansion of macro 'XSD_AUTO_PTR' - 432 | return XSD_AUTO_PTR (new T (e, f, c)); +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1530:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1530 | static XSD_AUTO_PTR | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:277:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 277 | a (::std::auto_ptr< a_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:173:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 173 | b (::std::auto_ptr< base_type > base) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx: In member function 'void test::b::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:215:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 215 | ::std::auto_ptr< ::xsd::cxx::tree::type > tmp ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:392:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 392 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:397:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 397 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:403:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 403 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:412:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 412 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:417:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 417 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:423:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 423 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:429:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 429 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:435:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 435 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:442:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 442 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:452:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 452 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:457:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 457 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:463:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 463 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:472:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 472 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:477:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 477 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:226:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 226 | ::std::auto_ptr< base_type > r ( - | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:484: -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.ixx:70:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 70 | a (::std::auto_ptr< a_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:286:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 286 | c (::std::auto_ptr< base_type > base) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx: In member function 'void test::c::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:328:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 328 | ::std::auto_ptr< ::xsd::cxx::tree::type > tmp ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:339:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 339 | ::std::auto_ptr< base_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/driver.cxx: In function 'int main(int, char**)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/driver.cxx:27:5: note: in expansion of macro 'XSD_AUTO_PTR' - 27 | XSD_AUTO_PTR r (root (argv[1])); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:403:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 403 | type (::std::auto_ptr< a_type > a, - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1537:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1537 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::simple_type::text_content_type::clone() const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1370:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1370 | return XSD_AUTO_PTR (new text_content_type (text)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:404:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 404 | ::std::auto_ptr< b_type > b, - | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:405:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 405 | ::std::auto_ptr< c_type > c) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1544:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1544 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx: In member function 'void test::type::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:454:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 454 | ::std::auto_ptr< a_type > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1555:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1555 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:468:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 468 | ::std::auto_ptr< b_type > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1533:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1533 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:482:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 482 | ::std::auto_ptr< c_type > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1540:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1540 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:550:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 550 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1491:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1491 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:567:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 567 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1497:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1497 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:572:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 572 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1503:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1503 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:589:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 589 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1516:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1516 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:594:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 594 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1494:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1494 | return XSD_AUTO_PTR (new T (e, f, c)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:607:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 607 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1500:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1500 | return XSD_AUTO_PTR (new T (a, f, c)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:612:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 612 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1509:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1509 | return XSD_AUTO_PTR (new T (s, e, f, c)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:625:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 625 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1519:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1519 | return XSD_AUTO_PTR (new T (s, f, c)); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:639:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 639 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1530:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1530 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:649:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 649 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1537:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1537 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:663:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 663 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1544:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1544 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:678:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 678 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1555:16: note: in expansion of macro 'XSD_AUTO_PTR' + 1555 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:689:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 689 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1533:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1533 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:702:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 702 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1540:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1540 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:707:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 707 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1550:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1550 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:720:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 720 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1558:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1558 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:725:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 725 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1550:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1550 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:738:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 738 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1558:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1558 | return XSD_AUTO_PTR ( + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:743:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 743 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:138:14: note: in expansion of macro 'XSD_AUTO_PTR' + 138 | one (XSD_AUTO_PTR, container*); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx: In function 'std::auto_ptr test::root(const xercesc_3_2::DOMDocument&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:753:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 753 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:165:14: note: in expansion of macro 'XSD_AUTO_PTR' + 165 | set (XSD_AUTO_PTR); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:765:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 765 | ::std::auto_ptr< ::test::type > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:173:9: note: in expansion of macro 'XSD_AUTO_PTR' + 173 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:778:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 778 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::one::detach()': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:179:18: note: in expansion of macro 'XSD_AUTO_PTR' + 179 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx: In function 'std::auto_ptr test::root(xsd::cxx::xml::dom::auto_ptr, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:803:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 803 | ::std::auto_ptr< ::test::type > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:270:19: note: in expansion of macro 'XSD_AUTO_PTR' + 270 | optional (XSD_AUTO_PTR, container* = 0); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:277:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 277 | a (::std::auto_ptr< a_type > p); - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:343:14: note: in expansion of macro 'XSD_AUTO_PTR' + 343 | set (XSD_AUTO_PTR); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:392:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 392 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:348:9: note: in expansion of macro 'XSD_AUTO_PTR' + 348 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:397:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 397 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::optional::detach()': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:354:18: note: in expansion of macro 'XSD_AUTO_PTR' + 354 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:403:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 403 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:138:14: note: in expansion of macro 'XSD_AUTO_PTR' + 138 | one (XSD_AUTO_PTR, container*); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:412:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 412 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:165:14: note: in expansion of macro 'XSD_AUTO_PTR' + 165 | set (XSD_AUTO_PTR); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:417:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 417 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:173:9: note: in expansion of macro 'XSD_AUTO_PTR' + 173 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:423:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 423 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::one::detach()': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:179:18: note: in expansion of macro 'XSD_AUTO_PTR' + 179 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:429:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 429 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:270:19: note: in expansion of macro 'XSD_AUTO_PTR' + 270 | optional (XSD_AUTO_PTR, container* = 0); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:435:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 435 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:343:14: note: in expansion of macro 'XSD_AUTO_PTR' + 343 | set (XSD_AUTO_PTR); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:442:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 442 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:348:9: note: in expansion of macro 'XSD_AUTO_PTR' + 348 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:452:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 452 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::optional::detach()': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:354:18: note: in expansion of macro 'XSD_AUTO_PTR' + 354 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:457:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 457 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1018 | push_back (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:463:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 463 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1032 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:472:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 472 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1054 | insert (iterator position, XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:477:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 477 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.hxx:484: -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.ixx:70:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 70 | a (::std::auto_ptr< a_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1042 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.hxx:30:17: note: in expansion of macro 'XSD_AUTO_PTR' - 30 | typedef XSD_AUTO_PTR (*factory) (const xercesc::DOMElement&, - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1018 | push_back (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.hxx:53:9: note: in expansion of macro 'XSD_AUTO_PTR' - 53 | XSD_AUTO_PTR +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1032 | XSD_AUTO_PTR | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; @@ -60817,251 +61838,209 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.hxx:70:16: note: in expansion of macro 'XSD_AUTO_PTR' - 70 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1054 | insert (iterator position, XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.hxx:136:7: note: in expansion of macro 'XSD_AUTO_PTR' - 136 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:275:7: note: in expansion of macro 'XSD_AUTO_PTR' - 275 | XSD_AUTO_PTR type_factory_map:: - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' + 45 | one (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: In member function 'std::auto_ptr xsd::cxx::tree::type_factory_map::create(const C*, const C*, factory, bool, bool, const xercesc_3_2::DOMElement&, const qualified_name&, xsd::cxx::tree::flags, xsd::cxx::tree::container*) const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:309:18: note: in expansion of macro 'XSD_AUTO_PTR' - 309 | return XSD_AUTO_PTR (); // No match. +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1042 | return XSD_AUTO_PTR (x); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:328:7: note: in expansion of macro 'XSD_AUTO_PTR' - 328 | XSD_AUTO_PTR type_factory_map:: - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' + 97 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: In static member function 'static std::auto_ptr xsd::cxx::tree::type_factory_map::traits_adapter(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:331:16: note: in expansion of macro 'XSD_AUTO_PTR' - 331 | return XSD_AUTO_PTR (traits::create (e, f, c)); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' + 139 | optional (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:429:7: note: in expansion of macro 'XSD_AUTO_PTR' - 429 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' + 200 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: In function 'std::auto_ptr xsd::cxx::tree::factory_impl(const xercesc_3_2::DOMElement&, flags, container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:432:16: note: in expansion of macro 'XSD_AUTO_PTR' - 432 | return XSD_AUTO_PTR (new T (e, f, c)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx: In member function 'void test::base::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:103:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 103 | ::std::auto_ptr< a_type > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' + 45 | one (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx: In member function 'void test::type::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:209:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 209 | ::std::auto_ptr< ::xsd::cxx::tree::type > tmp ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' + 97 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:218:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 218 | ::std::auto_ptr< base_type > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' + 139 | optional (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:310:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 310 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' + 200 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:327:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 327 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.hxx:274:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 274 | a (::std::auto_ptr< a_type > p); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:332:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 332 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.hxx:333:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 333 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:349:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 349 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:354:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 354 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.hxx:338:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 338 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:367:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 367 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:372:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 372 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.hxx:344:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 344 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:385:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 385 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.hxx:353:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 353 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:399:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 399 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.hxx:358:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 358 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:409:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 409 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.hxx:364:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 364 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:423:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 423 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.hxx:370:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 370 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:438:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 438 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.hxx:376:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 376 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:449:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 449 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.hxx:383:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 383 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:462:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 462 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:467:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 467 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.hxx:393:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 393 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:480:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 480 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:485:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 485 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.hxx:398:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 398 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:498:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 498 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:503:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 503 | ::std::auto_ptr< ::test::type > +/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.hxx:404:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 404 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx: In function 'std::auto_ptr test::root(const xercesc_3_2::DOMDocument&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:513:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 513 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.hxx:413:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 413 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:525:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 525 | ::std::auto_ptr< ::test::type > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.hxx:418:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 418 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:538:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 538 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.hxx:425: +/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.ixx:70:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 70 | a (::std::auto_ptr< a_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx: In function 'std::auto_ptr test::root(xsd::cxx::xml::dom::auto_ptr, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.cxx:563:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 563 | ::std::auto_ptr< ::test::type > r ( - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/driver.cxx: In function 'int main(int, char**)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/driver.cxx:27:5: note: in expansion of macro 'XSD_AUTO_PTR' + 27 | XSD_AUTO_PTR r (root (argv[1])); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -61240,18 +62219,8 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/driver.cxx: In function 'int main(int, char**)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/driver.cxx:27:5: note: in expansion of macro 'XSD_AUTO_PTR' - 27 | XSD_AUTO_PTR r (root (argv[1])); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/foo.hxx:50, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/foo.cxx:41: +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/bar.hxx:50, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/bar.cxx:41: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -61260,7 +62229,7 @@ | ^~~~~~~~~~~~ In file included from /usr/include/c++/12/memory:76, from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/foo.hxx:61: + from /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/bar.hxx:61: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -61345,6 +62314,101 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.hxx:30:17: note: in expansion of macro 'XSD_AUTO_PTR' + 30 | typedef XSD_AUTO_PTR (*factory) (const xercesc::DOMElement&, + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.hxx:53:9: note: in expansion of macro 'XSD_AUTO_PTR' + 53 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.hxx:70:16: note: in expansion of macro 'XSD_AUTO_PTR' + 70 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.hxx:136:7: note: in expansion of macro 'XSD_AUTO_PTR' + 136 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:275:7: note: in expansion of macro 'XSD_AUTO_PTR' + 275 | XSD_AUTO_PTR type_factory_map:: + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: In member function 'std::auto_ptr xsd::cxx::tree::type_factory_map::create(const C*, const C*, factory, bool, bool, const xercesc_3_2::DOMElement&, const qualified_name&, xsd::cxx::tree::flags, xsd::cxx::tree::container*) const': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:309:18: note: in expansion of macro 'XSD_AUTO_PTR' + 309 | return XSD_AUTO_PTR (); // No match. + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:328:7: note: in expansion of macro 'XSD_AUTO_PTR' + 328 | XSD_AUTO_PTR type_factory_map:: + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: In static member function 'static std::auto_ptr xsd::cxx::tree::type_factory_map::traits_adapter(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:331:16: note: in expansion of macro 'XSD_AUTO_PTR' + 331 | return XSD_AUTO_PTR (traits::create (e, f, c)); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:429:7: note: in expansion of macro 'XSD_AUTO_PTR' + 429 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: In function 'std::auto_ptr xsd::cxx::tree::factory_impl(const xercesc_3_2::DOMElement&, flags, container*)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:432:16: note: in expansion of macro 'XSD_AUTO_PTR' + 432 | return XSD_AUTO_PTR (new T (e, f, c)); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -61355,7 +62419,134 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix -I/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/bar.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/bar.cxx +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:173:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 173 | b (::std::auto_ptr< base_type > base) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx: In member function 'void test::b::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:215:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 215 | ::std::auto_ptr< ::xsd::cxx::tree::type > tmp ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template -I/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.cxx +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:226:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 226 | ::std::auto_ptr< base_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:286:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 286 | c (::std::auto_ptr< base_type > base) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx: In member function 'void test::c::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:328:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 328 | ::std::auto_ptr< ::xsd::cxx::tree::type > tmp ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:339:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 339 | ::std::auto_ptr< base_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:403:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 403 | type (::std::auto_ptr< a_type > a, + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:404:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 404 | ::std::auto_ptr< b_type > b, + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:405:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 405 | ::std::auto_ptr< c_type > c) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx: In member function 'void test::type::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:454:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 454 | ::std::auto_ptr< a_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:468:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 468 | ::std::auto_ptr< b_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:482:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 482 | ::std::auto_ptr< c_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:550:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 550 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:567:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 567 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:572:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 572 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:589:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 589 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:594:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 594 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:607:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 607 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:612:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 612 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -61366,6 +62557,12 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:625:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 625 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -61375,6 +62572,18 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:639:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 639 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:649:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 649 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -61384,6 +62593,18 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:663:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 663 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:678:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 678 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_attribute_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -61403,6 +62624,19 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:689:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 689 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:702:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 702 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -61412,6 +62646,13 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:707:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 707 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::type&, bool)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -61422,6 +62663,13 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:720:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 720 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::type&)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -61432,6 +62680,34 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:725:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 725 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:738:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 738 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:743:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 743 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx: In function 'std::auto_ptr test::root(const xercesc_3_2::DOMDocument&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:753:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 753 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_content_type::clone() const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -61442,6 +62718,12 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:765:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 765 | ::std::auto_ptr< ::test::type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -61529,6 +62811,10 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:778:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 778 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -61539,6 +62825,9 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -61616,6 +62905,13 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx: In function 'std::auto_ptr test::root(xsd::cxx::xml::dom::auto_ptr, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.cxx:803:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 803 | ::std::auto_ptr< ::test::type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -61776,7 +63072,8 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template -I/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/driver.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/types-only -I/build/xsd-4.0.0/xsd/tests/cxx/tree/types-only -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/driver.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/types-only -I/build/xsd-4.0.0/xsd/tests/cxx/tree/types-only -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/test.cxx /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -61872,10 +63169,8 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template -I/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.cxx -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/types-only -I/build/xsd-4.0.0/xsd/tests/cxx/tree/types-only -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/driver.cxx -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/bar.hxx:50, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/bar.cxx:41: +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.hxx:50, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.cxx:41: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -61884,7 +63179,7 @@ | ^~~~~~~~~~~~ In file included from /usr/include/c++/12/memory:76, from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/bar.hxx:61: + from /build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.hxx:61: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -62399,8 +63694,8 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.hxx:50, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/driver.cxx:11: +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/test.hxx:50, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/test.cxx:41: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -62408,7 +63703,8 @@ 894 | virtual XSD_AUTO_PTR | ^~~~~~~~~~~~ In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/driver.cxx:8: + from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/test.hxx:61: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -62522,7 +63818,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/types-only -I/build/xsd-4.0.0/xsd/tests/cxx/tree/types-only -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/test.cxx /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -62764,261 +64059,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:138:14: note: in expansion of macro 'XSD_AUTO_PTR' - 138 | one (XSD_AUTO_PTR, container*); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:165:14: note: in expansion of macro 'XSD_AUTO_PTR' - 165 | set (XSD_AUTO_PTR); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:173:9: note: in expansion of macro 'XSD_AUTO_PTR' - 173 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::one::detach()': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:179:18: note: in expansion of macro 'XSD_AUTO_PTR' - 179 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:270:19: note: in expansion of macro 'XSD_AUTO_PTR' - 270 | optional (XSD_AUTO_PTR, container* = 0); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:343:14: note: in expansion of macro 'XSD_AUTO_PTR' - 343 | set (XSD_AUTO_PTR); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:348:9: note: in expansion of macro 'XSD_AUTO_PTR' - 348 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::optional::detach()': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:354:18: note: in expansion of macro 'XSD_AUTO_PTR' - 354 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1018 | push_back (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1032 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1054 | insert (iterator position, XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1042 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' - 45 | one (XSD_AUTO_PTR x, container* c) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' - 97 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' - 139 | optional (XSD_AUTO_PTR x, container* c) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' - 200 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.hxx:30:17: note: in expansion of macro 'XSD_AUTO_PTR' - 30 | typedef XSD_AUTO_PTR (*factory) (const xercesc::DOMElement&, - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.hxx:53:9: note: in expansion of macro 'XSD_AUTO_PTR' - 53 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.hxx:70:16: note: in expansion of macro 'XSD_AUTO_PTR' - 70 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.hxx:136:7: note: in expansion of macro 'XSD_AUTO_PTR' - 136 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:275:7: note: in expansion of macro 'XSD_AUTO_PTR' - 275 | XSD_AUTO_PTR type_factory_map:: - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: In member function 'std::auto_ptr xsd::cxx::tree::type_factory_map::create(const C*, const C*, factory, bool, bool, const xercesc_3_2::DOMElement&, const qualified_name&, xsd::cxx::tree::flags, xsd::cxx::tree::container*) const': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:309:18: note: in expansion of macro 'XSD_AUTO_PTR' - 309 | return XSD_AUTO_PTR (); // No match. - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:328:7: note: in expansion of macro 'XSD_AUTO_PTR' - 328 | XSD_AUTO_PTR type_factory_map:: - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: In static member function 'static std::auto_ptr xsd::cxx::tree::type_factory_map::traits_adapter(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:331:16: note: in expansion of macro 'XSD_AUTO_PTR' - 331 | return XSD_AUTO_PTR (traits::create (e, f, c)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:429:7: note: in expansion of macro 'XSD_AUTO_PTR' - 429 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx: In function 'std::auto_ptr xsd::cxx::tree::factory_impl(const xercesc_3_2::DOMElement&, flags, container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/type-factory-map.txx:432:16: note: in expansion of macro 'XSD_AUTO_PTR' - 432 | return XSD_AUTO_PTR (new T (e, f, c)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.hxx:274:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 274 | a (::std::auto_ptr< a_type > p); | ^~~~~~~~ @@ -63116,381 +64156,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/driver.cxx: In function 'int main(int, char**)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/driver.cxx:27:5: note: in expansion of macro 'XSD_AUTO_PTR' - 27 | XSD_AUTO_PTR r (root (argv[1])); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.hxx:50, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.cxx:41: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' - 894 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.hxx:61: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' - 934 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1026 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1095 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1103 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1114 | XSD_AUTO_PTR dom_info_; - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1137 | XSD_AUTO_PTR map_; - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1152 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1180 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' - 1203 | mutable XSD_AUTO_PTR content_; - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' - 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:944:22: note: in expansion of macro 'XSD_AUTO_PTR' - 944 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:958:22: note: in expansion of macro 'XSD_AUTO_PTR' - 958 | return XSD_AUTO_PTR (); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:990:22: note: in expansion of macro 'XSD_AUTO_PTR' - 990 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_attribute_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1036:22: note: in expansion of macro 'XSD_AUTO_PTR' - 1036 | return XSD_AUTO_PTR (); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1047:22: note: in expansion of macro 'XSD_AUTO_PTR' - 1047 | return XSD_AUTO_PTR (); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1074:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1074 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::type&, bool)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1098:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1098 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::type&)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1106:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1106 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_content_type::clone() const': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1183:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1183 | return XSD_AUTO_PTR (new dom_content_type (dom)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1367:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1367 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::simple_type::text_content_type::clone() const': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1370:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1370 | return XSD_AUTO_PTR (new text_content_type (text)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1491:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1491 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1497:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1497 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1503:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1503 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1516:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1516 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1494:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1494 | return XSD_AUTO_PTR (new T (e, f, c)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1500:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1500 | return XSD_AUTO_PTR (new T (a, f, c)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1509:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1509 | return XSD_AUTO_PTR (new T (s, e, f, c)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1519:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1519 | return XSD_AUTO_PTR (new T (s, f, c)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1530:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1530 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1537:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1537 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1544:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1544 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1555:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1555 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1533:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1533 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1540:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1540 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1550:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1550 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1558:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1558 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -63604,54 +64269,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1042 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' - 45 | one (XSD_AUTO_PTR x, container* c) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' - 97 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' - 139 | optional (XSD_AUTO_PTR x, container* c) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' - 200 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor -I/build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor/driver.cxx In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/test.hxx:50, from /build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/driver.cxx:11: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] @@ -63708,6 +64325,16 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' 1114 | XSD_AUTO_PTR dom_info_; | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1042 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -63747,100 +64374,40 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.hxx:274:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 274 | a (::std::auto_ptr< a_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.hxx:333:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 333 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.hxx:338:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 338 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.hxx:344:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 344 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.hxx:353:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 353 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.hxx:358:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 358 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.hxx:364:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 364 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.hxx:370:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 370 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.hxx:376:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 376 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.hxx:383:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 383 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.hxx:393:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 393 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.hxx:398:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 398 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.hxx:404:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 404 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' + 45 | one (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.hxx:413:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 413 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' + 97 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.hxx:418:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 418 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' + 139 | optional (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.hxx:425: -/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.ixx:70:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 70 | a (::std::auto_ptr< a_type > x) - | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' + 200 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -63854,7 +64421,20 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor -I/build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor/test.cxx +/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.cxx: In member function 'void test::type::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.cxx:94:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 94 | ::std::auto_ptr< a_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.cxx:158:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 158 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -63941,6 +64521,20 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.cxx:175:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 175 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.cxx:180:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 180 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -63980,13 +64574,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.cxx: In member function 'void test::type::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.cxx:94:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 94 | ::std::auto_ptr< a_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -64005,6 +64592,13 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.cxx:197:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 197 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -64061,6 +64655,10 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1537:16: note: in expansion of macro 'XSD_AUTO_PTR' 1537 | static XSD_AUTO_PTR | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.cxx: At global scope: +/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.cxx:202:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 202 | ::std::auto_ptr< ::test::type > + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -64082,6 +64680,9 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -64112,6 +64713,13 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.cxx:215:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 215 | return ::std::auto_ptr< ::test::type > ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -64123,49 +64731,6 @@ 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.cxx:158:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 158 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard -I/build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard/driver.cxx -/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.cxx:175:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 175 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.cxx:180:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 180 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xml_schema::error_handler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.cxx:197:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 197 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.cxx: At global scope: -/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.cxx:202:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 202 | ::std::auto_ptr< ::test::type > - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.cxx: In function 'std::auto_ptr test::root(const std::string&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.cxx:215:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 215 | return ::std::auto_ptr< ::test::type > ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.cxx: At global scope: /build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.cxx:220:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 220 | ::std::auto_ptr< ::test::type > | ^~~~~~~~ @@ -64229,6 +64794,18 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/test.hxx:350:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 350 | a (::std::auto_ptr< a_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/test.hxx:367:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 367 | text (::std::auto_ptr< text_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.cxx: At global scope: /build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.cxx:333:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 333 | ::std::auto_ptr< ::test::type > @@ -64236,6 +64813,18 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/test.hxx:384:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 384 | color (::std::auto_ptr< color_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/test.hxx:412:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 412 | dcolor (::std::auto_ptr< dcolor_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.cxx: In function 'std::auto_ptr test::root(xercesc_3_2::InputSource&, xercesc_3_2::DOMErrorHandler&, xml_schema::flags, const xml_schema::properties&)': /build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.cxx:346:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 346 | return ::std::auto_ptr< ::test::type > ( @@ -64257,6 +64846,12 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/test.hxx:467:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 467 | a (::std::auto_ptr< a_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.cxx:373:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 373 | ::std::auto_ptr< ::test::type > r ( | ^~~~~~~~ @@ -64277,6 +64872,37 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/test.hxx:499: +/build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/test.ixx:224:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 224 | a (::std::auto_ptr< a_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/test.ixx:252:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 252 | text (::std::auto_ptr< text_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/test.ixx:280:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 280 | color (::std::auto_ptr< color_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/test.ixx:322:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 322 | dcolor (::std::auto_ptr< dcolor_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/test.ixx:361:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 361 | a (::std::auto_ptr< a_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -64498,8 +65124,13 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/test.hxx:50, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/test.cxx:41: +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor -I/build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor/driver.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor -I/build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor/test.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard -I/build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard/driver.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard/driver.cxx +x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard -I/build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard/test.cxx +x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/parser/built-in/driver /build/xsd-4.0.0/xsd/tests/cxx/parser/built-in/driver.o /build/xsd-4.0.0/xsd/tests/cxx/parser/built-in/test-pskel.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor/test.hxx:55, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor/test.cxx:41: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -64508,7 +65139,7 @@ | ^~~~~~~~~~~~ In file included from /usr/include/c++/12/memory:76, from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/test.hxx:61: + from /build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor/test.hxx:66: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -65023,69 +65654,8 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/test.hxx:350:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 350 | a (::std::auto_ptr< a_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/test.hxx:367:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 367 | text (::std::auto_ptr< text_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/test.hxx:384:19: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 384 | color (::std::auto_ptr< color_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/test.hxx:412:20: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 412 | dcolor (::std::auto_ptr< dcolor_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/test.hxx:467:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 467 | a (::std::auto_ptr< a_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/test.hxx:499: -/build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/test.ixx:224:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 224 | a (::std::auto_ptr< a_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/test.ixx:252:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 252 | text (::std::auto_ptr< text_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/test.ixx:280:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 280 | color (::std::auto_ptr< color_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/test.ixx:322:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 322 | dcolor (::std::auto_ptr< dcolor_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/test.ixx:361:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 361 | a (::std::auto_ptr< a_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor/test.hxx:55, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor/test.cxx:41: + from /build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor/driver.cxx:9: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -65449,6 +66019,19 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor/test.hxx:757:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 757 | a (::std::auto_ptr< a_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor/test.hxx:871: +/build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor/test.ixx:103:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 103 | a (::std::auto_ptr< a_type > x) + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -65525,196 +66108,217 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard/test.hxx:50, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard/driver.cxx:15: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' - 894 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard/driver.cxx:8: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1018 | push_back (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' - 934 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1032 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1026 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1054 | insert (iterator position, XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1095 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1103 | static XSD_AUTO_PTR +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1042 | return XSD_AUTO_PTR (x); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1114 | XSD_AUTO_PTR dom_info_; - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' + 45 | one (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1137 | XSD_AUTO_PTR map_; - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' + 97 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1152 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' + 139 | optional (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1180 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' + 200 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor/test.cxx: In member function 'void test::type::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': +/build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor/test.cxx:136:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 136 | ::std::auto_ptr< a_type > r ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor/test.hxx:757:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 757 | a (::std::auto_ptr< a_type > p); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor/test.hxx:871: +/build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor/test.ixx:103:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 103 | a (::std::auto_ptr< a_type > x) + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/parser/enumeration/driver /build/xsd-4.0.0/xsd/tests/cxx/parser/enumeration/driver.o /build/xsd-4.0.0/xsd/tests/cxx/parser/enumeration/test-pskel.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard/test.hxx:50, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard/driver.cxx:15: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' - 1203 | mutable XSD_AUTO_PTR content_; - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' + 894 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard/driver.cxx:8: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1018 | push_back (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' + 934 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1032 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1026 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1054 | insert (iterator position, XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1095 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1103 | static XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' - 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1114 | XSD_AUTO_PTR dom_info_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1042 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1137 | XSD_AUTO_PTR map_; + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' - 45 | one (XSD_AUTO_PTR x, container* c) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1152 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' - 97 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' + 1180 | virtual XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' - 139 | optional (XSD_AUTO_PTR x, container* c) +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' + 1203 | mutable XSD_AUTO_PTR content_; | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' - 200 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' + 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor/test.hxx:55, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor/driver.cxx:9: +In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard/test.hxx:50, + from /build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard/test.cxx:41: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -65723,7 +66327,7 @@ | ^~~~~~~~~~~~ In file included from /usr/include/c++/12/memory:76, from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor/test.hxx:66: + from /build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard/test.hxx:61: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -66194,6 +66798,16 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:138:14: note: in expansion of macro 'XSD_AUTO_PTR' + 138 | one (XSD_AUTO_PTR, container*); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ @@ -66215,12 +66829,30 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:165:14: note: in expansion of macro 'XSD_AUTO_PTR' + 165 | set (XSD_AUTO_PTR); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1516:16: note: in expansion of macro 'XSD_AUTO_PTR' 1516 | static XSD_AUTO_PTR | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:173:9: note: in expansion of macro 'XSD_AUTO_PTR' + 173 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -66241,6 +66873,16 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::one::detach()': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:179:18: note: in expansion of macro 'XSD_AUTO_PTR' + 179 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -66308,6 +66950,16 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 40 | # define XSD_AUTO_PTR std::auto_ptr + | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:270:19: note: in expansion of macro 'XSD_AUTO_PTR' + 270 | optional (XSD_AUTO_PTR, container* = 0); + | ^~~~~~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr @@ -66335,63 +66987,15 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1558:18: note: in expansion of macro 'XSD_AUTO_PTR' 1558 | return XSD_AUTO_PTR ( | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:138:14: note: in expansion of macro 'XSD_AUTO_PTR' - 138 | one (XSD_AUTO_PTR, container*); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:165:14: note: in expansion of macro 'XSD_AUTO_PTR' - 165 | set (XSD_AUTO_PTR); +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:343:14: note: in expansion of macro 'XSD_AUTO_PTR' + 343 | set (XSD_AUTO_PTR); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:173:9: note: in expansion of macro 'XSD_AUTO_PTR' - 173 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::one::detach()': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:179:18: note: in expansion of macro 'XSD_AUTO_PTR' - 179 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:270:19: note: in expansion of macro 'XSD_AUTO_PTR' - 270 | optional (XSD_AUTO_PTR, container* = 0); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:343:14: note: in expansion of macro 'XSD_AUTO_PTR' - 343 | set (XSD_AUTO_PTR); - | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -66418,159 +67022,159 @@ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:138:14: note: in expansion of macro 'XSD_AUTO_PTR' - 138 | one (XSD_AUTO_PTR, container*); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' + 1018 | push_back (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:165:14: note: in expansion of macro 'XSD_AUTO_PTR' - 165 | set (XSD_AUTO_PTR); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' + 1032 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:173:9: note: in expansion of macro 'XSD_AUTO_PTR' - 173 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1054 | insert (iterator position, XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::one::detach()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:179:18: note: in expansion of macro 'XSD_AUTO_PTR' - 179 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' + 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:270:19: note: in expansion of macro 'XSD_AUTO_PTR' - 270 | optional (XSD_AUTO_PTR, container* = 0); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' + 1042 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:343:14: note: in expansion of macro 'XSD_AUTO_PTR' - 343 | set (XSD_AUTO_PTR); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' + 45 | one (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:348:9: note: in expansion of macro 'XSD_AUTO_PTR' - 348 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' + 97 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::optional::detach()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:354:18: note: in expansion of macro 'XSD_AUTO_PTR' - 354 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' + 139 | optional (XSD_AUTO_PTR x, container* c) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1018 | push_back (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' + 200 | set (XSD_AUTO_PTR x) + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1032 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:138:14: note: in expansion of macro 'XSD_AUTO_PTR' + 138 | one (XSD_AUTO_PTR, container*); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1054 | insert (iterator position, XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:165:14: note: in expansion of macro 'XSD_AUTO_PTR' + 165 | set (XSD_AUTO_PTR); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:173:9: note: in expansion of macro 'XSD_AUTO_PTR' + 173 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::one::detach()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1042 | return XSD_AUTO_PTR (x); +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:179:18: note: in expansion of macro 'XSD_AUTO_PTR' + 179 | return XSD_AUTO_PTR (x); | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' - 45 | one (XSD_AUTO_PTR x, container* c) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:270:19: note: in expansion of macro 'XSD_AUTO_PTR' + 270 | optional (XSD_AUTO_PTR, container* = 0); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' - 97 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:343:14: note: in expansion of macro 'XSD_AUTO_PTR' + 343 | set (XSD_AUTO_PTR); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' - 139 | optional (XSD_AUTO_PTR x, container* c) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:348:9: note: in expansion of macro 'XSD_AUTO_PTR' + 348 | XSD_AUTO_PTR + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::optional::detach()': /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 40 | # define XSD_AUTO_PTR std::auto_ptr | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' - 200 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ +/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:354:18: note: in expansion of macro 'XSD_AUTO_PTR' + 354 | return XSD_AUTO_PTR (x); + | ^~~~~~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -66658,40 +67262,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor/test.hxx:757:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 757 | a (::std::auto_ptr< a_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor/test.hxx:871: -/build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor/test.ixx:103:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 103 | a (::std::auto_ptr< a_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor/test.cxx: In member function 'void test::type::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': -/build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor/test.cxx:136:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 136 | ::std::auto_ptr< a_type > r ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor/test.hxx:757:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 757 | a (::std::auto_ptr< a_type > p); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor/test.hxx:871: -/build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor/test.ixx:103:13: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 103 | a (::std::auto_ptr< a_type > x) - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -x86_64-linux-gnu-g++ -I/build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard -I/build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard -I/build/xsd-4.0.0/xsd/libxsd -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -o /build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard/test.o -c /build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard/test.cxx /build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard/test.hxx:314:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 314 | foo (::std::auto_ptr< foo_type > p); | ^~~~~~~~ @@ -66801,6 +67371,7 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-driver /build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-driver.o /build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pskel.o /build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pimpl.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so /build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard/test.ixx:161:15: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 161 | bar (::std::auto_ptr< bar_type > x) | ^~~~~~~~ @@ -66832,533 +67403,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/parser/built-in/driver /build/xsd-4.0.0/xsd/tests/cxx/parser/built-in/driver.o /build/xsd-4.0.0/xsd/tests/cxx/parser/built-in/test-pskel.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so -In file included from /build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard/test.hxx:50, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard/test.cxx:41: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:894:19: note: in expansion of macro 'XSD_AUTO_PTR' - 894 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from /build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:23, - from /build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard/test.hxx:61: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:934:19: note: in expansion of macro 'XSD_AUTO_PTR' - 934 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1026:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1026 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1095:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1095 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1103:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1103 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1114:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1114 | XSD_AUTO_PTR dom_info_; - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1137:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1137 | XSD_AUTO_PTR map_; - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1152:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1152 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1180:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1180 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1203:17: note: in expansion of macro 'XSD_AUTO_PTR' - 1203 | mutable XSD_AUTO_PTR content_; - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual void xsd::cxx::tree::_type::_container(xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:635:11: note: in expansion of macro 'XSD_AUTO_PTR' - 635 | XSD_AUTO_PTR& m (dr ? dr->map_ : map_); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_element_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:944:22: note: in expansion of macro 'XSD_AUTO_PTR' - 944 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:958:22: note: in expansion of macro 'XSD_AUTO_PTR' - 958 | return XSD_AUTO_PTR (); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:990:22: note: in expansion of macro 'XSD_AUTO_PTR' - 990 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_attribute_info::clone(xsd::cxx::tree::type&, xsd::cxx::tree::container*) const': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1036:22: note: in expansion of macro 'XSD_AUTO_PTR' - 1036 | return XSD_AUTO_PTR (); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1047:22: note: in expansion of macro 'XSD_AUTO_PTR' - 1047 | return XSD_AUTO_PTR (); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1074:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1074 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::type&, bool)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1098:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1098 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr xsd::cxx::tree::_type::dom_info_factory::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::type&)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1106:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1106 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::_type::dom_content_type::clone() const': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1183:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1183 | return XSD_AUTO_PTR (new dom_content_type (dom)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1367:19: note: in expansion of macro 'XSD_AUTO_PTR' - 1367 | virtual XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In member function 'virtual std::auto_ptr xsd::cxx::tree::simple_type::text_content_type::clone() const': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1370:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1370 | return XSD_AUTO_PTR (new text_content_type (text)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1491:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1491 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1497:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1497 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1503:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1503 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1516:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1516 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1494:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1494 | return XSD_AUTO_PTR (new T (e, f, c)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1500:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1500 | return XSD_AUTO_PTR (new T (a, f, c)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1509:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1509 | return XSD_AUTO_PTR (new T (s, e, f, c)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr<_Up> xsd::cxx::tree::traits::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1519:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1519 | return XSD_AUTO_PTR (new T (s, f, c)); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1530:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1530 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1537:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1537 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1544:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1544 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1555:16: note: in expansion of macro 'XSD_AUTO_PTR' - 1555 | static XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMElement&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1533:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1533 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const xercesc_3_2::DOMAttr&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1540:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1540 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(const std::__cxx11::basic_string&, const xercesc_3_2::DOMElement*, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1550:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1550 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx: In static member function 'static std::auto_ptr > xsd::cxx::tree::traits, C, ST>::create(xsd::cxx::tree::istream&, xsd::cxx::tree::flags, xsd::cxx::tree::container*)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/elements.hxx:1558:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1558 | return XSD_AUTO_PTR ( - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:138:14: note: in expansion of macro 'XSD_AUTO_PTR' - 138 | one (XSD_AUTO_PTR, container*); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:165:14: note: in expansion of macro 'XSD_AUTO_PTR' - 165 | set (XSD_AUTO_PTR); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:173:9: note: in expansion of macro 'XSD_AUTO_PTR' - 173 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::one::detach()': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:179:18: note: in expansion of macro 'XSD_AUTO_PTR' - 179 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:270:19: note: in expansion of macro 'XSD_AUTO_PTR' - 270 | optional (XSD_AUTO_PTR, container* = 0); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:343:14: note: in expansion of macro 'XSD_AUTO_PTR' - 343 | set (XSD_AUTO_PTR); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:348:9: note: in expansion of macro 'XSD_AUTO_PTR' - 348 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::optional::detach()': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:354:18: note: in expansion of macro 'XSD_AUTO_PTR' - 354 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1018:20: note: in expansion of macro 'XSD_AUTO_PTR' - 1018 | push_back (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1032:9: note: in expansion of macro 'XSD_AUTO_PTR' - 1032 | XSD_AUTO_PTR - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1054:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1054 | insert (iterator position, XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1088:36: note: in expansion of macro 'XSD_AUTO_PTR' - 1088 | detach (iterator position, XSD_AUTO_PTR& r, bool erase = true) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx: In member function 'std::auto_ptr<_Up> xsd::cxx::tree::sequence::detach_back(bool)': -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.hxx:1042:18: note: in expansion of macro 'XSD_AUTO_PTR' - 1042 | return XSD_AUTO_PTR (x); - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx: At global scope: -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:45:12: note: in expansion of macro 'XSD_AUTO_PTR' - 45 | one (XSD_AUTO_PTR x, container* c) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:97:12: note: in expansion of macro 'XSD_AUTO_PTR' - 97 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:139:17: note: in expansion of macro 'XSD_AUTO_PTR' - 139 | optional (XSD_AUTO_PTR x, container* c) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/config.hxx:40:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 40 | # define XSD_AUTO_PTR std::auto_ptr - | ^~~~~~~~ -/build/xsd-4.0.0/xsd/libxsd/xsd/cxx/tree/containers.txx:200:12: note: in expansion of macro 'XSD_AUTO_PTR' - 200 | set (XSD_AUTO_PTR x) - | ^~~~~~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/parser/enumeration/driver /build/xsd-4.0.0/xsd/tests/cxx/parser/enumeration/driver.o /build/xsd-4.0.0/xsd/tests/cxx/parser/enumeration/test-pskel.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so /build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard/test.hxx:314:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 314 | foo (::std::auto_ptr< foo_type > p); | ^~~~~~~~ @@ -67480,9 +67524,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-driver /build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-driver.o /build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pskel.o /build/xsd-4.0.0/xsd/tests/cxx/parser/generated-impl/test-pimpl.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so -x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/parser/list/driver /build/xsd-4.0.0/xsd/tests/cxx/parser/list/driver.o /build/xsd-4.0.0/xsd/tests/cxx/parser/list/test-pskel.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so -x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/parser/recursive/driver /build/xsd-4.0.0/xsd/tests/cxx/parser/recursive/driver.o /build/xsd-4.0.0/xsd/tests/cxx/parser/recursive/test-pskel.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so /build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard/test.cxx: In member function 'void test::type::parse(xsd::cxx::xml::dom::parser&, xml_schema::flags)': /build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard/test.cxx:148:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 148 | ::std::auto_ptr< foo_type > r ( @@ -67650,6 +67691,8 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/parser/list/driver /build/xsd-4.0.0/xsd/tests/cxx/parser/list/driver.o /build/xsd-4.0.0/xsd/tests/cxx/parser/list/test-pskel.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so +x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/parser/recursive/driver /build/xsd-4.0.0/xsd/tests/cxx/parser/recursive/driver.o /build/xsd-4.0.0/xsd/tests/cxx/parser/recursive/test-pskel.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/parser/name-clash/inheritance/driver /build/xsd-4.0.0/xsd/tests/cxx/parser/name-clash/inheritance/driver.o /build/xsd-4.0.0/xsd/tests/cxx/parser/name-clash/inheritance/test-pskel.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/same-type/driver /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/same-type/driver.o /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/same-type/test-pskel.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/recursive/driver /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/recursive/driver.o /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/recursive/test-pimpl.o /build/xsd-4.0.0/xsd/tests/cxx/parser/polymorphism/recursive/test-pskel.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so @@ -67695,7 +67738,6 @@ x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/driver /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/test.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/driver /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/test.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/driver /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/test.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so -x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/tree/order/driver /build/xsd-4.0.0/xsd/tests/cxx/tree/order/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/driver /build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/driver /build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/test.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor/driver /build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor/test.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so @@ -67756,20 +67798,21 @@ /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/camel/driver /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/java/driver /build/xsd-4.0.0/xsd/tests/cxx/tree/naming/knr/driver -/build/xsd-4.0.0/xsd/tests/cxx/tree/order/driver /build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.xml | diff -u /build/xsd-4.0.0/xsd/tests/cxx/tree/order/output - -x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/driver /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so +x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/tree/order/driver /build/xsd-4.0.0/xsd/tests/cxx/tree/order/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so /build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/driver /build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/test.xml | diff -u /build/xsd-4.0.0/xsd/tests/cxx/tree/test-template/output - /build/xsd-4.0.0/xsd/tests/cxx/tree/types-only/driver /build/xsd-4.0.0/xsd/tests/cxx/tree/union/ctor/driver -x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/driver /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so -/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/driver /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.xml -/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/driver /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.xml | diff -u /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/output - +/build/xsd-4.0.0/xsd/tests/cxx/tree/order/driver /build/xsd-4.0.0/xsd/tests/cxx/tree/order/test.xml | diff -u /build/xsd-4.0.0/xsd/tests/cxx/tree/order/output - x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/driver /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so -x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard/driver /build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard/test.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so +x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/driver /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/driver /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/test.xml | diff -u /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/same-type/output - +/build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/driver /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/comparison/test.xml +x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard/driver /build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard/test.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so /build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard/driver /build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard/test.xml | diff -u /build/xsd-4.0.0/xsd/tests/cxx/tree/wildcard/output - x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/driver /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/driver /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/test.xml | diff -u /build/xsd-4.0.0/xsd/tests/cxx/tree/polymorphism/ostream/output - +x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/driver /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so +/build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/driver /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/test.xml | diff -u /build/xsd-4.0.0/xsd/tests/cxx/tree/default/general/output - x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/driver /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.o /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/foo.o /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/bar.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/driver /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/test.xml | diff -u /build/xsd-4.0.0/xsd/tests/cxx/tree/prefix/output - x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/build/xsd-4.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++11 -Wl,-z,relro -Wl,-z,now -o /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/driver /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/driver.o /build/xsd-4.0.0/xsd/tests/cxx/tree/built-in/types.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libxerces-c.so @@ -68447,8 +68490,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'xsdcxx-dbgsym' in '../xsdcxx-dbgsym_4.0.0-9_amd64.deb'. dpkg-deb: building package 'xsdcxx' in '../xsdcxx_4.0.0-9_amd64.deb'. +dpkg-deb: building package 'xsdcxx-dbgsym' in '../xsdcxx-dbgsym_4.0.0-9_amd64.deb'. dpkg-genbuildinfo --build=binary -O../xsd_4.0.0-9_amd64.buildinfo dpkg-genchanges --build=binary -O../xsd_4.0.0-9_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -68456,12 +68499,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/3337148/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3337148/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/2626100 and its subdirectories -I: Current time: Thu May 4 13:51:32 -12 2023 -I: pbuilder-time-stamp: 1683251492 +I: removing directory /srv/workspace/pbuilder/3337148 and its subdirectories +I: Current time: Thu Jun 6 22:23:12 +14 2024 +I: pbuilder-time-stamp: 1717662192