<86>Jan 26 07:04:40 userdel[28458]: delete user 'rooter' <86>Jan 26 07:04:40 groupadd[28470]: group added to /etc/group: name=rooter, GID=564 <86>Jan 26 07:04:40 groupadd[28470]: group added to /etc/gshadow: name=rooter <86>Jan 26 07:04:40 groupadd[28470]: new group: name=rooter, GID=564 <86>Jan 26 07:04:40 useradd[28480]: new user: name=rooter, UID=564, GID=564, home=/root, shell=/bin/bash <86>Jan 26 07:04:40 userdel[28498]: delete user 'builder' <86>Jan 26 07:04:40 userdel[28498]: removed group 'builder' owned by 'builder' <86>Jan 26 07:04:40 userdel[28498]: removed shadow group 'builder' owned by 'builder' <86>Jan 26 07:04:40 groupadd[28509]: group added to /etc/group: name=builder, GID=565 <86>Jan 26 07:04:40 groupadd[28509]: group added to /etc/gshadow: name=builder <86>Jan 26 07:04:40 groupadd[28509]: new group: name=builder, GID=565 <86>Jan 26 07:04:40 useradd[28523]: new user: name=builder, UID=565, GID=565, home=/usr/src, shell=/bin/bash <13>Jan 26 07:04:47 rpmi: libjpeg-2:1.3.1-alt0.1 1388074039 installed <13>Jan 26 07:04:47 rpmi: libpng15-1.5.28-alt1 1484572069 installed <13>Jan 26 07:04:47 rpmi: libtiff5-4.0.3-alt1 1348347501 installed <13>Jan 26 07:04:47 rpmi: tex-common-0.2-alt4 1244804096 installed <13>Jan 26 07:04:47 rpmi: libexpat-2.1.0-alt1 1347469773 installed <13>Jan 26 07:04:47 rpmi: libgomp1-6.3.1-alt1 1484277945 installed <13>Jan 26 07:04:47 rpmi: libfftw3-common-3.3.3-alt2 1384539828 installed <13>Jan 26 07:04:47 rpmi: texlive-common-0.1-alt3 1244804816 installed <13>Jan 26 07:04:47 rpmi: libpng12-1.2.50-alt2 1347753435 installed <13>Jan 26 07:04:47 rpmi: libcom_err-1.42.13-alt2 1449075923 installed <13>Jan 26 07:04:47 rpmi: libjasper-1.900.13-alt1 1482328269 installed <13>Jan 26 07:04:47 rpmi: libnspr-1:4.13.1-alt1 1477067643 installed <13>Jan 26 07:04:47 rpmi: libquadmath0-6.3.1-alt1 1484277945 installed <13>Jan 26 07:04:47 rpmi: libogg-1.3.2-alt1 1416015873 installed <13>Jan 26 07:04:47 rpmi: xorg-xproto-devel-7.0.31-alt1 1480491055 installed <13>Jan 26 07:04:47 rpmi: libjbig-2.1-alt1 1401380926 installed <13>Jan 26 07:04:47 rpmi: libltdl7-2.4.2-alt5 1450059754 installed <13>Jan 26 07:04:47 rpmi: libopenjpeg2.0-2.1.2-alt1 1475313267 installed <13>Jan 26 07:04:47 rpmi: liblcms2-2.8-alt1 1471601532 installed <13>Jan 26 07:04:47 rpmi: libICE-1.0.9-alt1 1409902721 installed <13>Jan 26 07:04:47 rpmi: libwayland-client-1.12.0-alt1 1475000260 installed <13>Jan 26 07:04:47 rpmi: ilmbase12-common-2.2.0-alt1.1 1434452921 installed <13>Jan 26 07:04:47 rpmi: libiex12-2.2.0-alt1.1 1434452921 installed <13>Jan 26 07:04:47 rpmi: libilmthread12-2.2.0-alt1.1 1434452921 installed <13>Jan 26 07:04:47 rpmi: libhalf12-2.2.0-alt1.1 1434452921 installed <13>Jan 26 07:04:47 rpmi: libSM-1.2.2-alt1 1391072690 installed <13>Jan 26 07:04:47 rpmi: libflac8-1.2.1-alt11.1 1434276025 installed <13>Jan 26 07:04:47 rpmi: libvorbis-1.3.4-alt1 1395615326 installed <13>Jan 26 07:04:47 rpmi: libfftw3q-3.3.3-alt2 1384539828 installed <13>Jan 26 07:04:47 rpmi: libquadmath4.7-devel-4.7.2-alt10 1454593409 installed <13>Jan 26 07:04:47 rpmi: libe2fs-1.42.13-alt2 1449075923 installed <13>Jan 26 07:04:47 rpmi: libss-1.42.13-alt2 1449075923 installed <13>Jan 26 07:04:48 rpmi: e2fsprogs-1.42.13-alt2 1449075923 installed <13>Jan 26 07:04:48 rpmi: libfftw3-3.3.3-alt2 1384539828 installed <13>Jan 26 07:04:48 rpmi: libfftw3f-3.3.3-alt2 1384539828 installed <13>Jan 26 07:04:48 rpmi: libfftw3l-3.3.3-alt2 1384539828 installed <13>Jan 26 07:04:48 rpmi: texlive-doc-base-2008.0-alt0.10 1238420746 installed <13>Jan 26 07:04:48 rpmi: ncompress-4.2.4.4-alt1 1366160442 installed <13>Jan 26 07:04:48 rpmi: mailx-8.1.2-alt7 1366314832 installed <13>Jan 26 07:04:48 rpmi: sharutils-4.6.3-alt1.1.qa2.1 1449219807 installed <13>Jan 26 07:04:48 rpmi: libsqlite3-3.15.2-alt1 1480432278 installed <13>Jan 26 07:04:48 rpmi: libnss-3.27.1-alt1 1477068087 installed <13>Jan 26 07:04:49 rpmi: nss-utils-3.27.1-alt1 1477068087 installed <13>Jan 26 07:04:49 rpmi: xorg-rgb-1.0.4-alt1.qa1 1366268679 installed <13>Jan 26 07:04:49 rpmi: libnetpbm-10.35.97-alt1 1447854210 installed <13>Jan 26 07:04:49 rpmi: netpbm-10.35.97-alt1 1447854210 installed <13>Jan 26 07:04:49 rpmi: libkpathsea-2008.0-alt0.15.6 1449446966 installed <13>Jan 26 07:04:52 rpmi: texlive-latex-base-2008.0-alt0.15 1300007455 installed <13>Jan 26 07:04:52 rpmi: texlive-font-utils-2008.0-alt0.15.6 1449446966 installed <13>Jan 26 07:04:54 rpmi: texlive-base-bin-2008.0-alt0.15.6 1449446966 installed <13>Jan 26 07:04:55 rpmi: texlive-base-2008.0-alt0.15 1300007455 installed <13>Jan 26 07:04:55 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Jan 26 07:04:55 rpmi: libavutil54-1:11.8-alt1 1473251309 installed <13>Jan 26 07:04:55 rpmi: libmad-0.15.1b-alt8 1398374528 installed <13>Jan 26 07:04:55 rpmi: timidity-instruments-1:1.0-alt1 1166705614 installed <13>Jan 26 07:04:56 rpmi: libwrap-1:7.6-alt11 1297041303 installed <13>Jan 26 07:04:56 rpmi: libsndfile-1.0.27-alt1 1479128605 installed <13>Jan 26 07:04:56 rpmi: libasyncns-0.8-alt2.qa1 1365949820 installed <13>Jan 26 07:04:56 rpmi: libalsa-1:1.1.3-alt3 1482850950 installed <13>Jan 26 07:04:56 rpmi: xorg-kbproto-devel-1.0.6-alt1 1332531929 installed <13>Jan 26 07:04:56 rpmi: gcc-c++-common-1.4.20-alt1 1432315196 installed <13>Jan 26 07:04:56 rpmi: libstdc++6-devel-6.3.1-alt1 1484277945 installed <13>Jan 26 07:04:57 rpmi: libwmflite-0.2.8.4-alt12 1391506959 installed <13>Jan 26 07:04:57 rpmi: libwebp6-0.5.2-alt1 1482953285 installed <13>Jan 26 07:04:57 rpmi: liblqr-0.4.2-alt1 1383038438 installed <13>Jan 26 07:04:57 rpmi: djvu-common-3.5.25.3-alt1 1365826139 installed <13>Jan 26 07:04:57 rpmi: libdjvu-3.5.25.3-alt1 1365826139 installed <13>Jan 26 07:04:57 rpmi: libgts-0.7.6-alt2.drc20130205 1360123649 installed <13>Jan 26 07:04:57 rpmi: libpaper-1.1.24-alt4 1315383465 installed <13>Jan 26 07:04:57 rpmi: libgtk+2-locales-2.24.31-alt1 1473461664 installed <13>Jan 26 07:04:57 rpmi: libgdk-pixbuf-locales-2.36.4-alt1 1484599807 installed <13>Jan 26 07:04:57 rpmi: rpm-build-xdg-0.2-alt1 1250461503 installed <13>Jan 26 07:04:57 rpmi: shared-mime-info-1.8-alt1 1482128522 installed <13>Jan 26 07:04:58 rpmi: gsettings-desktop-schemas-data-3.22.0-alt1 1474999772 installed <13>Jan 26 07:04:58 rpmi: libgio-2.50.2-alt1 1478537771 installed <13>Jan 26 07:04:58 rpmi: gsettings-desktop-schemas-3.22.0-alt1 1474999772 installed <13>Jan 26 07:04:58 rpmi: libgdk-pixbuf-2.36.4-alt1 1484599807 installed <13>Jan 26 07:04:58 rpmi: gtk-update-icon-cache-2.24.31-alt1 1473461664 installed <13>Jan 26 07:04:58 rpmi: libverto-0.2.6-alt1_6 1455633232 installed <13>Jan 26 07:04:58 rpmi: libkeyutils-1.5.9-alt2 1464351238 installed <13>Jan 26 07:04:58 rpmi: ca-certificates-2016.09.28-alt1 1475233825 installed <13>Jan 26 07:04:58 rpmi: libcrypto10-1.0.2j-alt1 1474898021 installed <13>Jan 26 07:04:58 rpmi: libssl10-1.0.2j-alt1 1474898021 installed <13>Jan 26 07:04:58 rpmi: libkrb5-1.14.2-alt2 1465464128 installed <13>Jan 26 07:04:58 rpmi: python-modules-encodings-2.7.11-alt3 1460726037 installed <13>Jan 26 07:04:58 rpmi: python-modules-compiler-2.7.11-alt3 1460726037 installed <13>Jan 26 07:04:58 rpmi: python-modules-email-2.7.11-alt3 1460726037 installed <13>Jan 26 07:04:58 rpmi: python-modules-unittest-2.7.11-alt3 1460726037 installed <13>Jan 26 07:04:59 rpmi: python-modules-2.7.11-alt3 1460726037 installed <13>Jan 26 07:04:59 rpmi: python-modules-xml-2.7.11-alt3 1460726037 installed <13>Jan 26 07:04:59 rpmi: liblz4-r131-alt1 1447866716 installed <13>Jan 26 07:04:59 rpmi: libgpg-error-1.20-alt1.1 1449204244 installed <13>Jan 26 07:04:59 rpmi: libgcrypt20-1.6.6-alt1 1471552782 installed <13>Jan 26 07:04:59 rpmi: libsystemd-1:232-alt1 1485301381 installed <13>Jan 26 07:04:59 rpmi: libdbus-1.10.12-alt1 1476116348 installed <13>Jan 26 07:04:59 rpmi: libavahi-0.6.31-alt7 1455303496 installed <13>Jan 26 07:04:59 rpmi: libcups-2.2.1-alt1 1480317617 installed <13>Jan 26 07:04:59 rpmi: icon-theme-hicolor-0.15-alt1 1427614911 installed <13>Jan 26 07:04:59 rpmi: libatk-locales-2.22.0-alt1 1475000161 installed <13>Jan 26 07:04:59 rpmi: libatk-2.22.0-alt1 1475000161 installed <13>Jan 26 07:04:59 rpmi: libdatrie-0.2.8-alt1_5 1410185970 installed <13>Jan 26 07:04:59 rpmi: libthai-0.1.25-alt1_1 1482119595 installed <13>Jan 26 07:04:59 rpmi: libpixman-3:0.34.0-alt1 1480491657 installed <13>Jan 26 07:04:59 rpmi: libgraphite2-1.3.9-alt1 1482128024 installed <13>Jan 26 07:04:59 rpmi: libharfbuzz-1.4.2-alt1 1485254798 installed <13>Jan 26 07:04:59 rpmi: libfreetype-2.6.3-alt1 1455987209 installed <13>Jan 26 07:04:59 rpmi: fontconfig-2.12.1-alt1 1471005373 installed Updating fonts cache: <29>Jan 26 07:05:00 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Jan 26 07:05:01 rpmi: libgs-9.20-alt1 1481713422 installed <13>Jan 26 07:05:01 rpmi: fonts-type1-urw-3:1.0.7pre44-alt2 1419342366 installed <13>Jan 26 07:05:03 rpmi: ghostscript-common-9.20-alt1 1481713422 installed <13>Jan 26 07:05:03 rpmi: ghostscript-classic-9.20-alt1 1481713422 installed <13>Jan 26 07:05:03 rpmi: libwayland-server-1.12.0-alt1 1475000260 installed <13>Jan 26 07:05:03 rpmi: libxshmfence-1.2-alt1 1420972190 installed <13>Jan 26 07:05:03 rpmi: libpciaccess-1:0.13.4-alt1 1431681690 installed <13>Jan 26 07:05:03 rpmi: libdrm-1:2.4.74-alt1 1484221443 installed <13>Jan 26 07:05:03 rpmi: libgbm-4:13.0.3-alt1 1484223040 installed <13>Jan 26 07:05:03 rpmi: libX11-locales-3:1.6.4-alt1 1480493483 installed <13>Jan 26 07:05:03 rpmi: libXdmcp-1.1.1-alt1 1334617701 installed <13>Jan 26 07:05:03 rpmi: libXau-1.0.8-alt1 1369565808 installed <13>Jan 26 07:05:03 rpmi: libxcb-1.12-alt1 1471592579 installed <13>Jan 26 07:05:03 rpmi: libX11-3:1.6.4-alt1 1480493483 installed <13>Jan 26 07:05:03 rpmi: libXext-1.3.3-alt1 1409902959 installed <13>Jan 26 07:05:03 rpmi: libXrender-0.9.8-alt1 1371312112 installed <13>Jan 26 07:05:03 rpmi: libXrandr-1.5.0-alt1 1431936189 installed <13>Jan 26 07:05:03 rpmi: libXfixes-5.0.1-alt1 1369809608 installed <13>Jan 26 07:05:03 rpmi: libXxf86vm-1.1.3-alt1 1369984835 installed <13>Jan 26 07:05:03 rpmi: libXi-1.7.4-alt1 1409902879 installed <13>Jan 26 07:05:03 rpmi: libXdamage-1.1.3-alt4 1297162593 installed <13>Jan 26 07:05:03 rpmi: libGL-4:13.0.3-alt1 1484223040 installed <13>Jan 26 07:05:03 rpmi: libpulseaudio-10.0-alt1 1484840383 installed <13>Jan 26 07:05:03 rpmi: libSDL-1.2.14-alt7 1483707272 installed <13>Jan 26 07:05:03 rpmi: libSDL_image-1.2.12-alt1 1347907935 installed <13>Jan 26 07:05:03 rpmi: libSDL_net-1.2.8-alt1 1333963614 installed <13>Jan 26 07:05:03 rpmi: libmikmod-3.3.10-alt1 1472740530 installed <13>Jan 26 07:05:03 rpmi: libSDL_mixer-1.2.12-alt1 1421435874 installed <13>Jan 26 07:05:03 rpmi: libEGL-4:13.0.3-alt1 1484223040 installed <13>Jan 26 07:05:04 rpmi: libcairo-1:1.14.4-alt1 1447005511 installed <13>Jan 26 07:05:04 rpmi: libGLU-4:9.0.0-alt1 1347643784 installed <13>Jan 26 07:05:04 rpmi: libfreeglut-3.0.0-alt1 1429173819 installed <13>Jan 26 07:05:04 rpmi: libXcursor-1.1.14-alt1 1369901598 installed <13>Jan 26 07:05:04 rpmi: libXft-2.3.2-alt1 1409902660 installed <13>Jan 26 07:05:04 rpmi: libpango-1.40.3-alt1 1473777869 installed <13>Jan 26 07:05:04 rpmi: librsvg-1:2.40.16-alt1 1465454166 installed <13>Jan 26 07:05:04 rpmi: liblasi-1.1.2-alt1.qa1 1460141148 installed <13>Jan 26 07:05:04 rpmi: libXinerama-1.1.3-alt1 1369984572 installed <13>Jan 26 07:05:04 rpmi: libXt-1.1.4-alt1 1369984722 installed <13>Jan 26 07:05:04 rpmi: libXpm-3.5.11-alt1 1391072398 installed <13>Jan 26 07:05:04 rpmi: libgd2-2.0.35-alt6 1366289715 installed <13>Jan 26 07:05:04 rpmi: libXcomposite-0.4.3-alt3 1297306936 installed <13>Jan 26 07:05:04 rpmi: libgtk+2-2.24.31-alt1 1473461664 installed <13>Jan 26 07:05:04 rpmi: libgraphviz-2.40.1-alt1.1 1484336446 installed <13>Jan 26 07:05:06 rpmi: libxcb-devel-1.12-alt1 1471592579 installed <13>Jan 26 07:05:06 rpmi: libX11-devel-3:1.6.4-alt1 1480493483 installed <13>Jan 26 07:05:06 rpmi: libGL-devel-4:13.0.3-alt1 1484223040 installed <13>Jan 26 07:05:06 rpmi: libGLU-devel-4:9.0.0-alt1 1347643784 installed <13>Jan 26 07:05:06 rpmi: libSDL-devel-1.2.14-alt7 1483707272 installed <13>Jan 26 07:05:06 rpmi: openexr22-common-2.2.0-alt1.1 1434453376 installed <13>Jan 26 07:05:06 rpmi: libilmimf22-2.2.0-alt1.1 1434453376 installed <13>Jan 26 07:05:07 rpmi: libImageMagick-6.9.6.2-alt1 1476279340 installed <13>Jan 26 07:05:07 rpmi: ImageMagick-tools-6.9.6.2-alt1 1476279340 installed <13>Jan 26 07:05:07 rpmi: libSDL_image-devel-1.2.12-alt1 1347907935 installed <13>Jan 26 07:05:07 rpmi: libSDL_mixer-devel-1.2.12-alt1 1421435874 installed <13>Jan 26 07:05:07 rpmi: libSDL_net-devel-1.2.8-alt1 1333963614 installed <13>Jan 26 07:05:07 rpmi: libfreeglut-devel-3.0.0-alt1 1429173819 installed <13>Jan 26 07:05:07 rpmi: ghostscript-utils-9.20-alt1 1481713422 installed <13>Jan 26 07:05:07 rpmi: scons-2.3.3-alt1 1408936573 installed <13>Jan 26 07:05:08 rpmi: gcc6-c++-6.3.1-alt1 1484277945 installed <13>Jan 26 07:05:08 rpmi: libavutil-devel-1:11.8-alt1 1473251309 installed <13>Jan 26 07:05:08 rpmi: libfftw3-devel-3.3.3-alt2 1384539828 installed <13>Jan 26 07:05:08 rpmi: cvs-1.11.23-alt6 1453231517 installed <13>Jan 26 07:05:08 rpmi: desktop-file-utils-0.22.0.patchset1-alt1 1412210844 installed <13>Jan 26 07:05:08 rpmi: bzlib-devel-1:1.0.6-alt4 1449156905 installed <13>Jan 26 07:05:08 rpmi: rcs-1:5.7-alt1.qa1 1366229447 installed <13>Jan 26 07:05:09 rpmi: flex-2.6.0-alt1 1449073223 installed Installing dangerdeep-0.4.0_pre3327-alt1.qa3.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.12524 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf dangerdeep-0.4.0_pre3327 + echo 'Source #0 (dangerdeep-0.4.0_pre3327.tar.gz):' Source #0 (dangerdeep-0.4.0_pre3327.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/dangerdeep-0.4.0_pre3327.tar.gz + /bin/tar -xf - + cd dangerdeep-0.4.0_pre3327 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (dangerdeep-0.4.0_pre3327-alt-libGL-x86_64.patch):' Patch #0 (dangerdeep-0.4.0_pre3327-alt-libGL-x86_64.patch): + /usr/bin/patch -p2 patching file SConstruct + echo 'Patch #1 (dangerdeep-0.4.0_pre3327-alt-glibc-2.16.patch):' Patch #1 (dangerdeep-0.4.0_pre3327-alt-glibc-2.16.patch): + /usr/bin/patch -p2 patching file src/faulthandler.h patching file src/matrix3.h + sed -i 's@-g -O2@-pipe -Wall -g -O2 -march=i586 -mtune=generic@' SConstruct + sed -i s@/usr/local/bin@/usr/bin@ SConstruct + sed -i s@/usr/local/share/dangerdeep@/usr/share/dangerdeep@ SConstruct + sed -i s@ffmpeg/libavutil@libavutil@ SConstruct + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.12524 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd dangerdeep-0.4.0_pre3327 + scons scons: Reading SConscript files ... Compiling for GNU/Linux Environment (linux2) Using architecture: i686 Found GL library "/usr/lib/libGL.so" Install binary path: /usr/bin Using data dir: /usr/share/dangerdeep Checking for C library GL... yes Checking for C library GLU... yes Checking for C library SDL... yes Checking for C library SDL_image... yes Checking for C library SDL_mixer... yes Checking for C library fftw3... yes Checking for C library bz2... yes Checking for C header file gl.h... yes Checking for C header file glu.h... yes Checking for C header file SDL.h... yes Checking for C header file SDL_image.h... yes Checking for C header file SDL_mixer.h... yes Checking for C header file fftw3.h... yes Checking for C header file bzlib.h... yes Checking for C library fftw3f... yes fftw3 library supports float type. Using it... Checking for C library avutil... yes libavutil found... scons: warning: The build_dir keyword has been deprecated; use the variant_dir keyword instead. File "/usr/src/RPM/BUILD/dangerdeep-0.4.0_pre3327/SConstruct", line 348, in scons: warning: Two different environments were specified for target cfg.o, but they appear to have the same action: $CXX -o $TARGET -c $CXXFLAGS $CCFLAGS $_CCCOMCOM $SOURCES File "/usr/src/RPM/BUILD/dangerdeep-0.4.0_pre3327/src/SConscript", line 132, in scons: warning: Two different environments were specified for target keys.o, but they appear to have the same action: $CXX -o $TARGET -c $CXXFLAGS $CCFLAGS $_CCCOMCOM $SOURCES File "/usr/src/RPM/BUILD/dangerdeep-0.4.0_pre3327/src/SConscript", line 132, in scons: warning: BuildDir() and the build_dir keyword have been deprecated; use VariantDir() and the variant_dir keyword instead. File "/usr/src/RPM/BUILD/dangerdeep-0.4.0_pre3327/SConstruct", line 350, in scons: done reading SConscript files. scons: Building targets ... g++ -o build/linux/subsim.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/subsim.cpp In file included from src/model.h:29:0, from src/subsim.cpp:36: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31:0, from src/subsim.cpp:36: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31:0, from src/subsim.cpp:36: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31:0, from src/subsim.cpp:36: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31:0, from src/subsim.cpp:36: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/subsim.cpp:36: src/bv_tree.h:80:35: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/subsim.cpp:36: src/bv_tree.h:80:69: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/subsim.cpp:36: src/bv_tree.h:81:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create(const std::vector& vertices, std::list& nodes); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/subsim.cpp:36: src/bv_tree.h:100:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr children[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:36:0: src/model.h:48:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:36:0: src/model.h:67:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mytexture; // default "skin", MUST BE SET! ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:36:0: src/model.h:104:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr colormap; // replaces diffuse color if not defined. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:36:0: src/model.h:105:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr normalmap; // should be of type RGB to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:36:0: src/model.h:106:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr specularmap; // should be of type LUMINANCE to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:36:0: src/model.h:141:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr texmaps[DFTD_MAX_TEXTURE_UNITS]; // up to DFTD_MAX_TEXTURE_UNITS texture units ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:36:0: src/model.h:183:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:36:0: src/model.h:283:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr bounding_volume_tree; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:36:0: src/model.h:370:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_plastic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:36:0: src/model.h:371:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:36:0: src/model.h:372:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:36:0: src/model.h:373:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:36:0: src/model.h:374:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:36:0: src/model.h:375:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:36:0: src/model.h:376:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:64:0, from src/subsim.cpp:38: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:64:0, from src/subsim.cpp:38: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/subsim.cpp:38: src/ptrlist.h: At global scope: src/ptrlist.h:54:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/subsim.cpp:38: src/ptrlist.h:58:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/subsim.cpp:38: src/ptrlist.h:83:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_front() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/subsim.cpp:38: src/ptrlist.h:91:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_back() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/subsim.cpp:38: src/ptrlist.h:134:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/subsim.cpp:38: src/ptrlist.h: In member function 'void ptrlist::push_back(T*)': src/ptrlist.h:63:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/subsim.cpp:38: src/ptrlist.h: In member function 'void ptrlist::push_front(T*)': src/ptrlist.h:67:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/subsim.cpp:38: src/ptrlist.h: In member function 'std::auto_ptr<_Up> ptrlist::release_front()': src/ptrlist.h:84:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/subsim.cpp:38: src/ptrlist.h: In member function 'std::auto_ptr<_Up> ptrlist::release_back()': src/ptrlist.h:92:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/subsim.cpp:38: src/ptrlist.h: In member function 'std::auto_ptr<_Up> ptrlist::iterator::release() const': src/ptrlist.h:134:43: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:38:0: src/game.h: At global scope: src/game.h:204:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:38:0: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27:0, from src/subsim.cpp:40: src/sea_object.h:242:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // created from spec file, but data needs to be saved, [SAVE] ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:47:0: src/widget.h:97:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr backg; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:47:0: src/widget.h:98:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr skbackg; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:47:0: src/widget.h:99:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr frame[8]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:47:0: src/widget.h:100:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr frameinv[8]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:47:0: src/widget.h:101:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr icons[4]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:47:0: src/widget.h:102:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sbarbackg; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:47:0: src/widget.h:103:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sbarsurf; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:47:0: src/widget.h:151:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr globaltheme; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:47:0: src/widget.h:171:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static void set_theme(std::auto_ptr t) { globaltheme = t; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:47:0: src/widget.h:173:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr replace_theme(std::auto_ptr t); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:47:0: src/widget.h:173:49: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr replace_theme(std::auto_ptr t); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:47:0: src/widget.h:237:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create_dialogue_ok(widget* parent_, const std::string& title, const std::string& text = "", int w = 0, int h = 0); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:47:0: src/widget.h:238:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr create_dialogue_ok(const std::string& title, const std::string& text = "", int w = 0, int h = 0) { return create_dialogue_ok(this, title, text, w, h); } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:47:0: src/widget.h:240:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create_dialogue_ok_cancel(widget* parent_, const std::string& title, const std::string& text = "", int w = 0, int h = 0); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:47:0: src/widget.h:241:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr create_dialogue_ok_cancel(const std::string& title, const std::string& text = "") { return create_dialogue_ok_cancel(this, title, text); } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:47:0: src/widget.h:528:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mdl; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:47:0: src/widget.h:543:49: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] widget_3dview(int x, int y, int w, int h, std::auto_ptr mdl, color bgcol, widget* parent_ = 0); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:47:0: src/widget.h:546:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_model(std::auto_ptr mdl_); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/subsim.cpp:50: src/coastmap.h:129:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31:0, from src/user_interface.h:33, from src/subsim.cpp:50: src/height_generator.h:145:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sand_texture, mud_texture, forest_texture, ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33:0, from src/subsim.cpp:50: src/geoclipmap.h:163:19: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] /*mutable*/ std::auto_ptr myshader[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:35:0, from src/subsim.cpp:50: src/user_display.h:54:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:35:0, from src/subsim.cpp:50: src/user_display.h:83:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:50:0: src/user_interface.h:60:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:50:0: src/user_interface.h:64:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:50:0: src/user_interface.h:68:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:50:0: src/user_interface.h:75:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:50:0: src/user_interface.h:99:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mysky; // the one and only sky ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:50:0: src/user_interface.h:102:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mygeoclipmap; // terrain rendering instance ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/music.h:37:0, from src/subsim.cpp:53: src/message_queue.h:34:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp: In member function 'void loadsavequit_dialogue::load()': src/subsim.cpp:206:2: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr w(create_dialogue_ok(texts::get(185), texts::get(180) + gamename->get_text() + texts::get(181))); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp: In member function 'void loadsavequit_dialogue::save()': src/subsim.cpp:217:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr w(create_dialogue_ok_cancel(texts::get(182), texts::get_replace(183, gamename->get_text()))); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp:224:2: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr w(create_dialogue_ok(texts::get(186), texts::get(180) + gamename->get_text() + texts::get(187))); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp: In member function 'void loadsavequit_dialogue::erase()': src/subsim.cpp:231:2: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr w(create_dialogue_ok_cancel(texts::get(182), texts::get(188) + gamename->get_text() + texts::get(189))); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp: In member function 'void loadsavequit_dialogue::quit()': src/subsim.cpp:248:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr w(create_dialogue_ok_cancel(texts::get(182), texts::get(190))); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp: In function 'game::run_state game__exec(game&, user_interface&)': src/subsim.cpp:383:11: warning: variable 'lastframes' set but not used [-Wunused-but-set-variable] unsigned lastframes = 1; ^~~~~~~~~~ src/subsim.cpp: At global scope: src/subsim.cpp:450:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void run_game(auto_ptr gm) ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp: In function 'void run_game(std::auto_ptr)': src/subsim.cpp:455:2: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr gametheme(new widget::theme("widgetelements_game.png", "widgeticons_game.png", ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp:459:2: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr tmp = widget::replace_theme(gametheme); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp:460:2: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr ui(user_interface::create(*gm)); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp: At global scope: src/subsim.cpp:531:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void run_game_editor(auto_ptr gm) ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp: In function 'void run_game_editor(std::auto_ptr)': src/subsim.cpp:536:2: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr gametheme(new widget::theme("widgetelements_game.png", "widgeticons_game.png", ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp:540:2: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr tmp = widget::replace_theme(gametheme); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp:541:2: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr ui(user_interface::create(*gm)); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp: In function 'void show_flotilla_description(const string&)': src/subsim.cpp:700:2: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr w(widget::create_dialogue_ok(0, "", infopopupdescr, 1024*3/4, 768*3/4)); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp: In function 'void create_convoy_mission()': src/subsim.cpp:995:13: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] run_game(auto_ptr(new game(st, ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp: In function 'void choose_historical_mission()': src/subsim.cpp:1094:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr gm; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp: In function 'void choose_saved_game()': src/subsim.cpp:1121:12: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] run_game(auto_ptr(new game(dlg.get_gamefilename_to_load()))); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp: In function 'void menu_mission_editor()': src/subsim.cpp:1174:19: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] run_game_editor(auto_ptr(new game_editor(date(1939, 9, 1)/*st*/))); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp: At global scope: src/subsim.cpp:1517:2: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr load_model() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp: In member function 'std::auto_ptr vessel_view::load_model()': src/subsim.cpp:1533:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr mdl(new model(data_file().get_path(*current) + mdlname)); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp: In function 'int mymain(std::__cxx11::list >&)': src/subsim.cpp:1954:2: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr gbd(new global_data()); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp:2043:20: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] widget::set_theme(auto_ptr(new widget::theme("widgetelements_menu.png", "widgeticons_menu.png", ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp:2049:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr metalbackground(new texture(get_image_dir() + "metalbackground.jpg")); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp:2092:19: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] run_game_editor(auto_ptr(new game_editor(editor_start_date))); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp:2095:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr gm; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp:2156:20: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] widget::set_theme(auto_ptr(0)); // clear allocated theme ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/ai.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/ai.cpp In file included from src/game.h:64:0, from src/ai.cpp:25: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/ai.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:64:0, from src/ai.cpp:25: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/ai.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/ai.cpp:25: src/ptrlist.h: At global scope: src/ptrlist.h:54:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/ai.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/ai.cpp:25: src/ptrlist.h:58:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/ai.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/ai.cpp:25: src/ptrlist.h:83:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_front() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/ai.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/ai.cpp:25: src/ptrlist.h:91:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_back() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/ai.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/ai.cpp:25: src/ptrlist.h:134:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/ai.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/ai.cpp:25: src/ptrlist.h: In member function 'void ptrlist::push_back(T*)': src/ptrlist.h:63:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/ai.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/ai.cpp:25: src/ptrlist.h: In member function 'void ptrlist::push_front(T*)': src/ptrlist.h:67:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/ai.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/ai.cpp:25: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_front()': src/ptrlist.h:84:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/ai.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/ai.cpp:25: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_back()': src/ptrlist.h:92:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/ai.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/ai.cpp:25: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::iterator::release() const': src/ptrlist.h:134:43: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/ai.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ai.cpp:25:0: src/game.h: At global scope: src/game.h:204:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/ai.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ai.cpp:25:0: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/ai.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ai.cpp:26:0: src/convoy.h:49:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // fixme: maybe one ship should act for the convoy, ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/ai.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ai.cpp:27: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/ai.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ai.cpp:27: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/ai.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ai.cpp:27: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/ai.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ai.cpp:27: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/ai.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ai.cpp:27:0: src/sea_object.h:242:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // created from spec file, but data needs to be saved, [SAVE] ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/ai.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/ai.cpp:30: src/bv_tree.h:80:35: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/ai.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/ai.cpp:30: src/bv_tree.h:80:69: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/ai.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/ai.cpp:30: src/bv_tree.h:81:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create(const std::vector& vertices, std::list& nodes); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/ai.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/ai.cpp:30: src/bv_tree.h:100:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr children[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/ai.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/airplane.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/airplane.cpp In file included from src/sea_object.h:27:0, from src/airplane.h:26, from src/airplane.cpp:23: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.h:27:0, from src/airplane.h:26, from src/airplane.cpp:23: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/airplane.h:26, from src/airplane.cpp:23: src/shader.h: At global scope: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/airplane.h:26, from src/airplane.cpp:23: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/airplane.h:26, from src/airplane.cpp:23: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/airplane.h:26, from src/airplane.cpp:23: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/airplane.h:26:0, from src/airplane.cpp:23: src/sea_object.h:242:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // created from spec file, but data needs to be saved, [SAVE] ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:29:0, from src/airplane.cpp:24: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/airplane.cpp:24: src/bv_tree.h:80:35: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/airplane.cpp:24: src/bv_tree.h:80:69: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/airplane.cpp:24: src/bv_tree.h:81:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create(const std::vector& vertices, std::list& nodes); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/airplane.cpp:24: src/bv_tree.h:100:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr children[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/airplane.cpp:24:0: src/model.h:48:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/airplane.cpp:24:0: src/model.h:67:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mytexture; // default "skin", MUST BE SET! ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/airplane.cpp:24:0: src/model.h:104:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr colormap; // replaces diffuse color if not defined. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/airplane.cpp:24:0: src/model.h:105:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr normalmap; // should be of type RGB to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/airplane.cpp:24:0: src/model.h:106:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr specularmap; // should be of type LUMINANCE to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/airplane.cpp:24:0: src/model.h:141:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr texmaps[DFTD_MAX_TEXTURE_UNITS]; // up to DFTD_MAX_TEXTURE_UNITS texture units ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/airplane.cpp:24:0: src/model.h:183:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/airplane.cpp:24:0: src/model.h:283:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr bounding_volume_tree; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/airplane.cpp:24:0: src/model.h:370:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_plastic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/airplane.cpp:24:0: src/model.h:371:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/airplane.cpp:24:0: src/model.h:372:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/airplane.cpp:24:0: src/model.h:373:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/airplane.cpp:24:0: src/model.h:374:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/airplane.cpp:24:0: src/model.h:375:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/airplane.cpp:24:0: src/model.h:376:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/airplane.cpp: In member function 'virtual void airplane::simulate(double)': src/airplane.cpp:63:10: warning: variable 'locx' set but not used [-Wunused-but-set-variable] vector3 locx = orientation.rotate(1, 0, 0); ^~~~ g++ -o build/linux/bitstream.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/bitstream.cpp g++ -o build/linux/bzip.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/bzip.cpp g++ -o build/linux/cfg.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/cfg.cpp g++ -o build/linux/coastmap.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/coastmap.cpp In file included from src/coastmap.h:29:0, from src/coastmap.cpp:29: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.cpp:29:0: src/coastmap.h:129:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31:0, from src/coastmap.cpp:38: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31:0, from src/coastmap.cpp:38: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31:0, from src/coastmap.cpp:38: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31:0, from src/coastmap.cpp:38: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/coastmap.cpp:38: src/bv_tree.h:80:35: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/coastmap.cpp:38: src/bv_tree.h:80:69: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/coastmap.cpp:38: src/bv_tree.h:81:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create(const std::vector& vertices, std::list& nodes); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/coastmap.cpp:38: src/bv_tree.h:100:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr children[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.cpp:38:0: src/model.h:48:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.cpp:38:0: src/model.h:67:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mytexture; // default "skin", MUST BE SET! ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.cpp:38:0: src/model.h:104:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr colormap; // replaces diffuse color if not defined. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.cpp:38:0: src/model.h:105:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr normalmap; // should be of type RGB to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.cpp:38:0: src/model.h:106:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr specularmap; // should be of type LUMINANCE to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.cpp:38:0: src/model.h:141:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr texmaps[DFTD_MAX_TEXTURE_UNITS]; // up to DFTD_MAX_TEXTURE_UNITS texture units ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.cpp:38:0: src/model.h:183:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.cpp:38:0: src/model.h:283:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr bounding_volume_tree; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.cpp:38:0: src/model.h:370:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_plastic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.cpp:38:0: src/model.h:371:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.cpp:38:0: src/model.h:372:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.cpp:38:0: src/model.h:373:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.cpp:38:0: src/model.h:374:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.cpp:38:0: src/model.h:375:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.cpp:38:0: src/model.h:376:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/coastmap.cpp: In member function 'void coastmap::divide_and_distribute_cl(const std::vector >&, bool)': src/coastmap.cpp:660:8: warning: variable 'border' set but not used [-Wunused-but-set-variable] int border = -1; ^~~~~~ src/coastmap.cpp: In member function 'void coastmap::process_segment(int, int)': src/coastmap.cpp:894:11: warning: variable 'segoff' set but not used [-Wunused-but-set-variable] vector2 segoff = vector2(sx * segw_real + realoffset.x, sy * segw_real + realoffset.y); ^~~~~~ g++ -o build/linux/convoy.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/convoy.cpp In file included from src/convoy.cpp:23:0: src/convoy.h:49:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // fixme: maybe one ship should act for the convoy, ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:64:0, from src/convoy.cpp:24: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:64:0, from src/convoy.cpp:24: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/convoy.cpp:24: src/ptrlist.h: At global scope: src/ptrlist.h:54:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/convoy.cpp:24: src/ptrlist.h:58:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/convoy.cpp:24: src/ptrlist.h:83:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_front() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/convoy.cpp:24: src/ptrlist.h:91:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_back() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/convoy.cpp:24: src/ptrlist.h:134:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/convoy.cpp:24: src/ptrlist.h: In member function 'void ptrlist::push_back(T*)': src/ptrlist.h:63:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/convoy.cpp:24: src/ptrlist.h: In member function 'void ptrlist::push_front(T*)': src/ptrlist.h:67:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/convoy.cpp:24: src/ptrlist.h: In member function 'std::auto_ptr<_Up> ptrlist::release_front()': src/ptrlist.h:84:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/convoy.cpp:24: src/ptrlist.h: In member function 'std::auto_ptr<_Up> ptrlist::release_back()': src/ptrlist.h:92:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/convoy.cpp:24: src/ptrlist.h: In member function 'std::auto_ptr<_Up> ptrlist::iterator::release() const': src/ptrlist.h:134:43: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/convoy.cpp:24:0: src/game.h: At global scope: src/game.h:204:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/convoy.cpp:24:0: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/convoy.cpp:27: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/convoy.cpp:27: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/convoy.cpp:27: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/convoy.cpp:27: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27:0, from src/convoy.cpp:27: src/sea_object.h:242:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // created from spec file, but data needs to be saved, [SAVE] ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/convoy.cpp:27: src/bv_tree.h:80:35: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/convoy.cpp:27: src/bv_tree.h:80:69: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/convoy.cpp:27: src/bv_tree.h:81:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create(const std::vector& vertices, std::list& nodes); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/convoy.cpp:27: src/bv_tree.h:100:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr children[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:29:0, from src/convoy.cpp:30: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/convoy.cpp:30:0: src/model.h:48:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/convoy.cpp:30:0: src/model.h:67:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mytexture; // default "skin", MUST BE SET! ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/convoy.cpp:30:0: src/model.h:104:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr colormap; // replaces diffuse color if not defined. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/convoy.cpp:30:0: src/model.h:105:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr normalmap; // should be of type RGB to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/convoy.cpp:30:0: src/model.h:106:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr specularmap; // should be of type LUMINANCE to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/convoy.cpp:30:0: src/model.h:141:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr texmaps[DFTD_MAX_TEXTURE_UNITS]; // up to DFTD_MAX_TEXTURE_UNITS texture units ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/convoy.cpp:30:0: src/model.h:183:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/convoy.cpp:30:0: src/model.h:283:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr bounding_volume_tree; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/convoy.cpp:30:0: src/model.h:370:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_plastic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/convoy.cpp:30:0: src/model.h:371:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/convoy.cpp:30:0: src/model.h:372:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/convoy.cpp:30:0: src/model.h:373:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/convoy.cpp:30:0: src/model.h:374:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/convoy.cpp:30:0: src/model.h:375:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/convoy.cpp:30:0: src/model.h:376:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/countrycodes.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/countrycodes.cpp g++ -o build/linux/credits.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/credits.cpp In file included from src/credits.cpp:20:0: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/credits.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/font.h:30:0, from src/credits.cpp:21: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/credits.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/font.h:30:0, from src/credits.cpp:21: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/credits.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.cpp:23:0: src/shader.h: At global scope: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/credits.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.cpp:23:0: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/credits.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.cpp:23:0: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/credits.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.cpp:23:0: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/credits.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/credits.cpp:25: src/bv_tree.h:80:35: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/credits.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/credits.cpp:25: src/bv_tree.h:80:69: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/credits.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/credits.cpp:25: src/bv_tree.h:81:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create(const std::vector& vertices, std::list& nodes); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/credits.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/credits.cpp:25: src/bv_tree.h:100:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr children[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/credits.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.cpp:25:0: src/model.h:48:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/credits.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.cpp:25:0: src/model.h:67:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mytexture; // default "skin", MUST BE SET! ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/credits.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.cpp:25:0: src/model.h:104:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr colormap; // replaces diffuse color if not defined. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/credits.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.cpp:25:0: src/model.h:105:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr normalmap; // should be of type RGB to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/credits.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.cpp:25:0: src/model.h:106:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr specularmap; // should be of type LUMINANCE to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/credits.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.cpp:25:0: src/model.h:141:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr texmaps[DFTD_MAX_TEXTURE_UNITS]; // up to DFTD_MAX_TEXTURE_UNITS texture units ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/credits.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.cpp:25:0: src/model.h:183:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/credits.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.cpp:25:0: src/model.h:283:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr bounding_volume_tree; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/credits.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.cpp:25:0: src/model.h:370:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_plastic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/credits.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.cpp:25:0: src/model.h:371:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/credits.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.cpp:25:0: src/model.h:372:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/credits.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.cpp:25:0: src/model.h:373:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/credits.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.cpp:25:0: src/model.h:374:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/credits.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.cpp:25:0: src/model.h:375:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/credits.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.cpp:25:0: src/model.h:376:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/credits.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:35:0, from src/credits.cpp:29: src/moon.h:35:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr glsl_moon; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/credits.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.cpp:29:0: src/sky.h:81:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr glsl_clouds; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/credits.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/credits.cpp:224:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mymesh; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/credits.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/credits.cpp:230:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sandrocktex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/credits.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/credits.cpp:231:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr noisetex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/credits.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/credits.cpp:232:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr grasstex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/credits.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/credits.cpp:377:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr planttex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/credits.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/credits.cpp:648:1: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr generate_trees(vector& heightdata, unsigned nr = 20000, unsigned w = 256, unsigned h = 256, const vector2f& scal = vector2f(2.0f, 2.0f)) ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/credits.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/credits.cpp: In function 'std::auto_ptr generate_trees(std::vector&, unsigned int, unsigned int, unsigned int, const vector2f&)': src/credits.cpp:651:2: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr m(new model::mesh("trees")); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/credits.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/credits.cpp: In function 'void show_credits()': src/credits.cpp:743:2: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr trees = generate_trees(cyn.get_heightdata()); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/credits.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/credits.cpp:745:2: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr mysky(new sky(8*3600.0)); // 10 o'clock ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/credits.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/credits.cpp:779:2: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr bkg; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/credits.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/credits.cpp:780:2: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr glss; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/credits.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/credits.cpp:792:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fadein_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/credits.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/credits.cpp:821:11: warning: variable 'lastframes' set but not used [-Wunused-but-set-variable] unsigned lastframes = 1; ^~~~~~~~~~ g++ -o build/linux/date.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/date.cpp g++ -o build/linux/daysky.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/daysky.cpp g++ -o build/linux/depth_charge.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/depth_charge.cpp In file included from src/sea_object.h:27:0, from src/depth_charge.h:26, from src/depth_charge.cpp:23: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.h:27:0, from src/depth_charge.h:26, from src/depth_charge.cpp:23: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/depth_charge.h:26, from src/depth_charge.cpp:23: src/shader.h: At global scope: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/depth_charge.h:26, from src/depth_charge.cpp:23: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/depth_charge.h:26, from src/depth_charge.cpp:23: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/depth_charge.h:26, from src/depth_charge.cpp:23: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/depth_charge.h:26:0, from src/depth_charge.cpp:23: src/sea_object.h:242:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // created from spec file, but data needs to be saved, [SAVE] ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:29:0, from src/depth_charge.cpp:25: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/depth_charge.cpp:25: src/bv_tree.h:80:35: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/depth_charge.cpp:25: src/bv_tree.h:80:69: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/depth_charge.cpp:25: src/bv_tree.h:81:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create(const std::vector& vertices, std::list& nodes); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/depth_charge.cpp:25: src/bv_tree.h:100:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr children[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/depth_charge.cpp:25:0: src/model.h:48:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/depth_charge.cpp:25:0: src/model.h:67:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mytexture; // default "skin", MUST BE SET! ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/depth_charge.cpp:25:0: src/model.h:104:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr colormap; // replaces diffuse color if not defined. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/depth_charge.cpp:25:0: src/model.h:105:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr normalmap; // should be of type RGB to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/depth_charge.cpp:25:0: src/model.h:106:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr specularmap; // should be of type LUMINANCE to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/depth_charge.cpp:25:0: src/model.h:141:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr texmaps[DFTD_MAX_TEXTURE_UNITS]; // up to DFTD_MAX_TEXTURE_UNITS texture units ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/depth_charge.cpp:25:0: src/model.h:183:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/depth_charge.cpp:25:0: src/model.h:283:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr bounding_volume_tree; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/depth_charge.cpp:25:0: src/model.h:370:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_plastic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/depth_charge.cpp:25:0: src/model.h:371:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/depth_charge.cpp:25:0: src/model.h:372:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/depth_charge.cpp:25:0: src/model.h:373:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/depth_charge.cpp:25:0: src/model.h:374:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/depth_charge.cpp:25:0: src/model.h:375:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/depth_charge.cpp:25:0: src/model.h:376:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/depth_charge.cpp:27: src/ptrlist.h:54:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/depth_charge.cpp:27: src/ptrlist.h:58:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/depth_charge.cpp:27: src/ptrlist.h:83:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_front() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/depth_charge.cpp:27: src/ptrlist.h:91:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_back() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/depth_charge.cpp:27: src/ptrlist.h:134:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/depth_charge.cpp:27: src/ptrlist.h: In member function 'void ptrlist::push_back(T*)': src/ptrlist.h:63:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/depth_charge.cpp:27: src/ptrlist.h: In member function 'void ptrlist::push_front(T*)': src/ptrlist.h:67:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/depth_charge.cpp:27: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_front()': src/ptrlist.h:84:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/depth_charge.cpp:27: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_back()': src/ptrlist.h:92:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/depth_charge.cpp:27: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::iterator::release() const': src/ptrlist.h:134:43: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/depth_charge.cpp:27:0: src/game.h: At global scope: src/game.h:204:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/depth_charge.cpp:27:0: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/event.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/event.cpp In file included from src/sea_object.h:27:0, from src/user_interface.h:29, from src/event.cpp:24: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.h:27:0, from src/user_interface.h:29, from src/event.cpp:24: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/user_interface.h:29, from src/event.cpp:24: src/shader.h: At global scope: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/user_interface.h:29, from src/event.cpp:24: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/user_interface.h:29, from src/event.cpp:24: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/user_interface.h:29, from src/event.cpp:24: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:29:0, from src/event.cpp:24: src/sea_object.h:242:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // created from spec file, but data needs to be saved, [SAVE] ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.h:29:0, from src/user_interface.h:31, from src/event.cpp:24: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/event.cpp:24: src/coastmap.h:129:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31:0, from src/user_interface.h:33, from src/event.cpp:24: src/height_generator.h:145:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sand_texture, mud_texture, forest_texture, ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33:0, from src/event.cpp:24: src/geoclipmap.h:163:19: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] /*mutable*/ std::auto_ptr myshader[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:35:0, from src/event.cpp:24: src/user_display.h:54:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:35:0, from src/event.cpp:24: src/user_display.h:83:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/event.cpp:24:0: src/user_interface.h:60:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/event.cpp:24:0: src/user_interface.h:64:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/event.cpp:24:0: src/user_interface.h:68:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/event.cpp:24:0: src/user_interface.h:75:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/event.cpp:24:0: src/user_interface.h:99:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mysky; // the one and only sky ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/event.cpp:24:0: src/user_interface.h:102:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mygeoclipmap; // terrain rendering instance ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/music.h:37:0, from src/event.cpp:26: src/message_queue.h:34:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/freeview_display.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/freeview_display.cpp In file included from src/image.h:30:0, from src/freeview_display.cpp:24: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30:0, from src/freeview_display.cpp:24: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31:0, from src/freeview_display.cpp:24: src/texture.h: At global scope: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/freeview_display.cpp:26: src/ptrlist.h:54:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/freeview_display.cpp:26: src/ptrlist.h:58:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/freeview_display.cpp:26: src/ptrlist.h:83:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_front() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/freeview_display.cpp:26: src/ptrlist.h:91:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_back() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/freeview_display.cpp:26: src/ptrlist.h:134:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/freeview_display.cpp:26: src/ptrlist.h: In member function 'void ptrlist::push_back(T*)': src/ptrlist.h:63:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/freeview_display.cpp:26: src/ptrlist.h: In member function 'void ptrlist::push_front(T*)': src/ptrlist.h:67:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/freeview_display.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_front()': src/ptrlist.h:84:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/freeview_display.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_back()': src/ptrlist.h:92:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/freeview_display.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::iterator::release() const': src/ptrlist.h:134:43: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:26:0: src/game.h: At global scope: src/game.h:204:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:26:0: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/user_interface.h:29, from src/freeview_display.cpp:27: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/user_interface.h:29, from src/freeview_display.cpp:27: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/user_interface.h:29, from src/freeview_display.cpp:27: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/user_interface.h:29, from src/freeview_display.cpp:27: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:29:0, from src/freeview_display.cpp:27: src/sea_object.h:242:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // created from spec file, but data needs to be saved, [SAVE] ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/freeview_display.cpp:27: src/coastmap.h:129:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31:0, from src/user_interface.h:33, from src/freeview_display.cpp:27: src/height_generator.h:145:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sand_texture, mud_texture, forest_texture, ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33:0, from src/freeview_display.cpp:27: src/geoclipmap.h:163:19: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] /*mutable*/ std::auto_ptr myshader[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:35:0, from src/freeview_display.cpp:27: src/user_display.h:54:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:35:0, from src/freeview_display.cpp:27: src/user_display.h:83:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:27:0: src/user_interface.h:60:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:27:0: src/user_interface.h:64:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:27:0: src/user_interface.h:68:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:27:0: src/user_interface.h:75:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:27:0: src/user_interface.h:99:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mysky; // the one and only sky ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:27:0: src/user_interface.h:102:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mygeoclipmap; // terrain rendering instance ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/freeview_display.cpp:29: src/bv_tree.h:80:35: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/freeview_display.cpp:29: src/bv_tree.h:80:69: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/freeview_display.cpp:29: src/bv_tree.h:81:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create(const std::vector& vertices, std::list& nodes); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/freeview_display.cpp:29: src/bv_tree.h:100:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr children[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:35:0: src/water_splash.h:41:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr bradius_top; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:35:0: src/water_splash.h:42:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr bradius_bottom; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:35:0: src/water_splash.h:43:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr balpha; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34:0, from src/freeview_display.cpp:37: src/model.h:48:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34:0, from src/freeview_display.cpp:37: src/model.h:67:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mytexture; // default "skin", MUST BE SET! ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34:0, from src/freeview_display.cpp:37: src/model.h:104:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr colormap; // replaces diffuse color if not defined. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34:0, from src/freeview_display.cpp:37: src/model.h:105:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr normalmap; // should be of type RGB to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34:0, from src/freeview_display.cpp:37: src/model.h:106:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr specularmap; // should be of type LUMINANCE to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34:0, from src/freeview_display.cpp:37: src/model.h:141:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr texmaps[DFTD_MAX_TEXTURE_UNITS]; // up to DFTD_MAX_TEXTURE_UNITS texture units ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34:0, from src/freeview_display.cpp:37: src/model.h:183:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34:0, from src/freeview_display.cpp:37: src/model.h:283:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr bounding_volume_tree; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34:0, from src/freeview_display.cpp:37: src/model.h:370:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_plastic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34:0, from src/freeview_display.cpp:37: src/model.h:371:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34:0, from src/freeview_display.cpp:37: src/model.h:372:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34:0, from src/freeview_display.cpp:37: src/model.h:373:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34:0, from src/freeview_display.cpp:37: src/model.h:374:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34:0, from src/freeview_display.cpp:37: src/model.h:375:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34:0, from src/freeview_display.cpp:37: src/model.h:376:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:35:0, from src/freeview_display.cpp:37: src/moon.h:35:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr glsl_moon; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:37:0: src/sky.h:81:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr glsl_clouds; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:38:0: src/water.h:56:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr reflectiontex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:38:0: src/water.h:57:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr foamtex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:38:0: src/water.h:58:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr foamamounttex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:38:0: src/water.h:59:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr foamamounttrail; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:38:0: src/water.h:60:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr foamperimetertex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:38:0: src/water.h:61:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fresnelcolortex; // texture for fresnel values and water color ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:38:0: src/water.h:63:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr reflectiontex_fbo; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:38:0: src/water.h:64:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr foamamounttex_fbo; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:38:0: src/water.h:66:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr waterspecularlookup; // lookup 1d texture map for water specular term ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:38:0: src/water.h:120:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr water_bumpmap; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:38:0: src/water.h:126:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr glsl_water; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:38:0: src/water.h:127:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr glsl_under_water; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/freeview_display.cpp: In constructor 'freeview_display::freeview_display(user_interface&)': src/freeview_display.cpp:136:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr uwbt(new texture(get_texture_dir() + "underwater_background.png", texture::LINEAR, texture::CLAMP)); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/freeview_display.cpp: In member function 'virtual void freeview_display::draw_view(game&, const vector3&) const': src/freeview_display.cpp:389:34: warning: narrowing conversion of 'sundir.vector3t::x' from 'double' to 'GLfloat {aka float}' inside { } [-Wnarrowing] GLfloat lposition[4] = { sundir.x, sundir.y, sundir.z, 0.0f }; ~~~~~~~^ src/freeview_display.cpp:389:44: warning: narrowing conversion of 'sundir.vector3t::y' from 'double' to 'GLfloat {aka float}' inside { } [-Wnarrowing] GLfloat lposition[4] = { sundir.x, sundir.y, sundir.z, 0.0f }; ~~~~~~~^ src/freeview_display.cpp:389:54: warning: narrowing conversion of 'sundir.vector3t::z' from 'double' to 'GLfloat {aka float}' inside { } [-Wnarrowing] GLfloat lposition[4] = { sundir.x, sundir.y, sundir.z, 0.0f }; ~~~~~~~^ g++ -o build/linux/game.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/game.cpp In file included from src/game.h:64:0, from src/game.cpp:40: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:64:0, from src/game.cpp:40: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/game.cpp:40: src/ptrlist.h: At global scope: src/ptrlist.h:54:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/game.cpp:40: src/ptrlist.h:58:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/game.cpp:40: src/ptrlist.h:83:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_front() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/game.cpp:40: src/ptrlist.h:91:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_back() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/game.cpp:40: src/ptrlist.h:134:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/game.cpp:40: src/ptrlist.h: In member function 'void ptrlist::push_back(T*)': src/ptrlist.h:63:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/game.cpp:40: src/ptrlist.h: In member function 'void ptrlist::push_front(T*)': src/ptrlist.h:67:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/game.cpp:40: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_front()': src/ptrlist.h:84:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/game.cpp:40: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_back()': src/ptrlist.h:92:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/game.cpp:40: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::iterator::release() const': src/ptrlist.h:134:43: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:40:0: src/game.h: At global scope: src/game.h:204:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:40:0: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/game.cpp:41: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/game.cpp:41: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/game.cpp:41: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/game.cpp:41: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27:0, from src/game.cpp:41: src/sea_object.h:242:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // created from spec file, but data needs to be saved, [SAVE] ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/game.cpp:41: src/bv_tree.h:80:35: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/game.cpp:41: src/bv_tree.h:80:69: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/game.cpp:41: src/bv_tree.h:81:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create(const std::vector& vertices, std::list& nodes); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/game.cpp:41: src/bv_tree.h:100:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr children[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:47:0: src/water_splash.h:41:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr bradius_top; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:47:0: src/water_splash.h:42:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr bradius_bottom; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:47:0: src/water_splash.h:43:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr balpha; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:29:0, from src/game.cpp:48: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:48:0: src/model.h:48:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:48:0: src/model.h:67:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mytexture; // default "skin", MUST BE SET! ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:48:0: src/model.h:104:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr colormap; // replaces diffuse color if not defined. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:48:0: src/model.h:105:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr normalmap; // should be of type RGB to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:48:0: src/model.h:106:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr specularmap; // should be of type LUMINANCE to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:48:0: src/model.h:141:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr texmaps[DFTD_MAX_TEXTURE_UNITS]; // up to DFTD_MAX_TEXTURE_UNITS texture units ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:48:0: src/model.h:183:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:48:0: src/model.h:283:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr bounding_volume_tree; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:48:0: src/model.h:370:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_plastic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:48:0: src/model.h:371:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:48:0: src/model.h:372:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:48:0: src/model.h:373:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:48:0: src/model.h:374:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:48:0: src/model.h:375:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:48:0: src/model.h:376:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/game.cpp:50: src/coastmap.h:129:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31:0, from src/user_interface.h:33, from src/game.cpp:50: src/height_generator.h:145:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sand_texture, mud_texture, forest_texture, ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33:0, from src/game.cpp:50: src/geoclipmap.h:163:19: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] /*mutable*/ std::auto_ptr myshader[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:35:0, from src/game.cpp:50: src/user_display.h:54:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:35:0, from src/game.cpp:50: src/user_display.h:83:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:50:0: src/user_interface.h:60:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:50:0: src/user_interface.h:64:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:50:0: src/user_interface.h:68:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:50:0: src/user_interface.h:75:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:50:0: src/user_interface.h:99:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mysky; // the one and only sky ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:50:0: src/user_interface.h:102:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mygeoclipmap; // terrain rendering instance ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:51:0: src/submarine_interface.h:87:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torpedo_cam_view; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:55:0: src/convoy.h:49:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // fixme: maybe one ship should act for the convoy, ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:62:0: src/water.h:56:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr reflectiontex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:62:0: src/water.h:57:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr foamtex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:62:0: src/water.h:58:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr foamamounttex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:62:0: src/water.h:59:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr foamamounttrail; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:62:0: src/water.h:60:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr foamperimetertex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:62:0: src/water.h:61:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fresnelcolortex; // texture for fresnel values and water color ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:62:0: src/water.h:63:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr reflectiontex_fbo; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:62:0: src/water.h:64:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr foamamounttex_fbo; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:62:0: src/water.h:66:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr waterspecularlookup; // lookup 1d texture map for water specular term ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:62:0: src/water.h:120:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr water_bumpmap; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:62:0: src/water.h:126:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr glsl_water; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:62:0: src/water.h:127:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr glsl_under_water; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:65:0: src/terrain.h:58:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr frac; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:65:0: src/terrain.h: In constructor 'terrain::terrain(const string&, const string&, unsigned int)': src/terrain.h:126:17: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] frac = std::auto_ptr (new fractal_noise(noise_h, noise_lac, num_levels+1, noise_off, noise_gain)); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/game_editor.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/game_editor.cpp In file included from src/game.h:64:0, from src/game_editor.h:26, from src/game_editor.cpp:35: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:64:0, from src/game_editor.h:26, from src/game_editor.cpp:35: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/game_editor.h:26, from src/game_editor.cpp:35: src/ptrlist.h: At global scope: src/ptrlist.h:54:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/game_editor.h:26, from src/game_editor.cpp:35: src/ptrlist.h:58:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/game_editor.h:26, from src/game_editor.cpp:35: src/ptrlist.h:83:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_front() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/game_editor.h:26, from src/game_editor.cpp:35: src/ptrlist.h:91:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_back() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/game_editor.h:26, from src/game_editor.cpp:35: src/ptrlist.h:134:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/game_editor.h:26, from src/game_editor.cpp:35: src/ptrlist.h: In member function 'void ptrlist::push_back(T*)': src/ptrlist.h:63:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/game_editor.h:26, from src/game_editor.cpp:35: src/ptrlist.h: In member function 'void ptrlist::push_front(T*)': src/ptrlist.h:67:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/game_editor.h:26, from src/game_editor.cpp:35: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_front()': src/ptrlist.h:84:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/game_editor.h:26, from src/game_editor.cpp:35: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_back()': src/ptrlist.h:92:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/game_editor.h:26, from src/game_editor.cpp:35: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::iterator::release() const': src/ptrlist.h:134:43: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.h:26:0, from src/game_editor.cpp:35: src/game.h: At global scope: src/game.h:204:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.h:26:0, from src/game_editor.cpp:35: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/game_editor.cpp:36: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/game_editor.cpp:36: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/game_editor.cpp:36: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/game_editor.cpp:36: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27:0, from src/game_editor.cpp:36: src/sea_object.h:242:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // created from spec file, but data needs to be saved, [SAVE] ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/game_editor.cpp:36: src/bv_tree.h:80:35: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/game_editor.cpp:36: src/bv_tree.h:80:69: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/game_editor.cpp:36: src/bv_tree.h:81:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create(const std::vector& vertices, std::list& nodes); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/game_editor.cpp:36: src/bv_tree.h:100:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr children[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:42:0: src/water_splash.h:41:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr bradius_top; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:42:0: src/water_splash.h:42:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr bradius_bottom; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:42:0: src/water_splash.h:43:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr balpha; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:29:0, from src/game_editor.cpp:43: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:43:0: src/model.h:48:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:43:0: src/model.h:67:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mytexture; // default "skin", MUST BE SET! ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:43:0: src/model.h:104:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr colormap; // replaces diffuse color if not defined. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:43:0: src/model.h:105:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr normalmap; // should be of type RGB to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:43:0: src/model.h:106:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr specularmap; // should be of type LUMINANCE to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:43:0: src/model.h:141:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr texmaps[DFTD_MAX_TEXTURE_UNITS]; // up to DFTD_MAX_TEXTURE_UNITS texture units ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:43:0: src/model.h:183:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:43:0: src/model.h:283:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr bounding_volume_tree; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:43:0: src/model.h:370:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_plastic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:43:0: src/model.h:371:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:43:0: src/model.h:372:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:43:0: src/model.h:373:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:43:0: src/model.h:374:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:43:0: src/model.h:375:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:43:0: src/model.h:376:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/game_editor.cpp:45: src/coastmap.h:129:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31:0, from src/user_interface.h:33, from src/game_editor.cpp:45: src/height_generator.h:145:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sand_texture, mud_texture, forest_texture, ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33:0, from src/game_editor.cpp:45: src/geoclipmap.h:163:19: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] /*mutable*/ std::auto_ptr myshader[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:35:0, from src/game_editor.cpp:45: src/user_display.h:54:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:35:0, from src/game_editor.cpp:45: src/user_display.h:83:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:45:0: src/user_interface.h:60:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:45:0: src/user_interface.h:64:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:45:0: src/user_interface.h:68:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:45:0: src/user_interface.h:75:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:45:0: src/user_interface.h:99:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mysky; // the one and only sky ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:45:0: src/user_interface.h:102:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mygeoclipmap; // terrain rendering instance ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:46:0: src/submarine_interface.h:87:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torpedo_cam_view; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:50:0: src/convoy.h:49:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // fixme: maybe one ship should act for the convoy, ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/gun_shell.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/gun_shell.cpp In file included from src/sea_object.h:27:0, from src/gun_shell.h:26, from src/gun_shell.cpp:23: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.h:27:0, from src/gun_shell.h:26, from src/gun_shell.cpp:23: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/gun_shell.h:26, from src/gun_shell.cpp:23: src/shader.h: At global scope: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/gun_shell.h:26, from src/gun_shell.cpp:23: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/gun_shell.h:26, from src/gun_shell.cpp:23: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/gun_shell.h:26, from src/gun_shell.cpp:23: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.h:26:0, from src/gun_shell.cpp:23: src/sea_object.h:242:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // created from spec file, but data needs to be saved, [SAVE] ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:29:0, from src/gun_shell.cpp:25: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/gun_shell.cpp:25: src/bv_tree.h:80:35: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/gun_shell.cpp:25: src/bv_tree.h:80:69: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/gun_shell.cpp:25: src/bv_tree.h:81:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create(const std::vector& vertices, std::list& nodes); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/gun_shell.cpp:25: src/bv_tree.h:100:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr children[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.cpp:25:0: src/model.h:48:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.cpp:25:0: src/model.h:67:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mytexture; // default "skin", MUST BE SET! ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.cpp:25:0: src/model.h:104:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr colormap; // replaces diffuse color if not defined. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.cpp:25:0: src/model.h:105:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr normalmap; // should be of type RGB to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.cpp:25:0: src/model.h:106:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr specularmap; // should be of type LUMINANCE to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.cpp:25:0: src/model.h:141:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr texmaps[DFTD_MAX_TEXTURE_UNITS]; // up to DFTD_MAX_TEXTURE_UNITS texture units ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.cpp:25:0: src/model.h:183:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.cpp:25:0: src/model.h:283:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr bounding_volume_tree; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.cpp:25:0: src/model.h:370:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_plastic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.cpp:25:0: src/model.h:371:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.cpp:25:0: src/model.h:372:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.cpp:25:0: src/model.h:373:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.cpp:25:0: src/model.h:374:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.cpp:25:0: src/model.h:375:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.cpp:25:0: src/model.h:376:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/gun_shell.cpp:27: src/ptrlist.h:54:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/gun_shell.cpp:27: src/ptrlist.h:58:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/gun_shell.cpp:27: src/ptrlist.h:83:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_front() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/gun_shell.cpp:27: src/ptrlist.h:91:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_back() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/gun_shell.cpp:27: src/ptrlist.h:134:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/gun_shell.cpp:27: src/ptrlist.h: In member function 'void ptrlist::push_back(T*)': src/ptrlist.h:63:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/gun_shell.cpp:27: src/ptrlist.h: In member function 'void ptrlist::push_front(T*)': src/ptrlist.h:67:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/gun_shell.cpp:27: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_front()': src/ptrlist.h:84:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/gun_shell.cpp:27: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_back()': src/ptrlist.h:92:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/gun_shell.cpp:27: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::iterator::release() const': src/ptrlist.h:134:43: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.cpp:27:0: src/game.h: At global scope: src/game.h:204:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.cpp:27:0: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.cpp:29:0: src/water_splash.h:41:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr bradius_top; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.cpp:29:0: src/water_splash.h:42:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr bradius_bottom; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.cpp:29:0: src/water_splash.h:43:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr balpha; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/gun_shell.cpp: In member function 'virtual void gun_shell::display() const': src/gun_shell.cpp:295:23: warning: narrowing conversion of 'side.vector3t::x' from 'double' to 'float' inside { } [-Wnarrowing] float m[16] = { side.x, side.y, side.z, 0, ~~~~~^ src/gun_shell.cpp:295:31: warning: narrowing conversion of 'side.vector3t::y' from 'double' to 'float' inside { } [-Wnarrowing] float m[16] = { side.x, side.y, side.z, 0, ~~~~~^ src/gun_shell.cpp:295:39: warning: narrowing conversion of 'side.vector3t::z' from 'double' to 'float' inside { } [-Wnarrowing] float m[16] = { side.x, side.y, side.z, 0, ~~~~~^ src/gun_shell.cpp:296:7: warning: narrowing conversion of 'vn.vector3t::x' from 'double' to 'float' inside { } [-Wnarrowing] vn.x, vn.y, vn.z, 0, ~~~^ src/gun_shell.cpp:296:13: warning: narrowing conversion of 'vn.vector3t::y' from 'double' to 'float' inside { } [-Wnarrowing] vn.x, vn.y, vn.z, 0, ~~~^ src/gun_shell.cpp:296:19: warning: narrowing conversion of 'vn.vector3t::z' from 'double' to 'float' inside { } [-Wnarrowing] vn.x, vn.y, vn.z, 0, ~~~^ src/gun_shell.cpp:297:7: warning: narrowing conversion of 'up.vector3t::x' from 'double' to 'float' inside { } [-Wnarrowing] up.x, up.y, up.z, 0, ~~~^ src/gun_shell.cpp:297:13: warning: narrowing conversion of 'up.vector3t::y' from 'double' to 'float' inside { } [-Wnarrowing] up.x, up.y, up.z, 0, ~~~^ src/gun_shell.cpp:297:19: warning: narrowing conversion of 'up.vector3t::z' from 'double' to 'float' inside { } [-Wnarrowing] up.x, up.y, up.z, 0, ~~~^ g++ -o build/linux/height_generator_map.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/height_generator_map.cpp In file included from src/height_generator.h:29:0, from src/height_generator_map.h:25, from src/height_generator_map.cpp:22: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/height_generator.h:29, from src/height_generator_map.h:25, from src/height_generator_map.cpp:22: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/height_generator.h:31:0, from src/height_generator_map.h:25, from src/height_generator_map.cpp:22: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/height_generator.h:29, from src/height_generator_map.h:25, from src/height_generator_map.cpp:22: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/height_generator.h:31:0, from src/height_generator_map.h:25, from src/height_generator_map.cpp:22: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/height_generator.h:29, from src/height_generator_map.h:25, from src/height_generator_map.cpp:22: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/height_generator_map.h:25:0, from src/height_generator_map.cpp:22: src/height_generator.h: At global scope: src/height_generator.h:145:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sand_texture, mud_texture, forest_texture, ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/height_generator.h:29, from src/height_generator_map.h:25, from src/height_generator_map.cpp:22: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/height_generator_map.h:26:0, from src/height_generator_map.cpp:22: src/bivector.h: In member function 'bivector bivector::smooth_upsampled(bool) const [with T = float]': src/bivector.h:76:3: warning: assuming signed overflow does not occur when assuming that (X - c) > X is always false [-Wstrict-overflow] if (x>=datasize.x || y>=datasize.y) { ^~ g++ -o build/linux/highscorelist.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/highscorelist.cpp In file included from src/image.h:30:0, from src/widget.h:31, from src/highscorelist.cpp:25: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30:0, from src/widget.h:31, from src/highscorelist.cpp:25: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31:0, from src/widget.h:31, from src/highscorelist.cpp:25: src/texture.h: At global scope: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31:0, from src/widget.h:33, from src/highscorelist.cpp:25: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31:0, from src/widget.h:33, from src/highscorelist.cpp:25: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31:0, from src/widget.h:33, from src/highscorelist.cpp:25: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31:0, from src/widget.h:33, from src/highscorelist.cpp:25: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/widget.h:33, from src/highscorelist.cpp:25: src/bv_tree.h:80:35: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/widget.h:33, from src/highscorelist.cpp:25: src/bv_tree.h:80:69: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/widget.h:33, from src/highscorelist.cpp:25: src/bv_tree.h:81:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create(const std::vector& vertices, std::list& nodes); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/widget.h:33, from src/highscorelist.cpp:25: src/bv_tree.h:100:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr children[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/highscorelist.cpp:25: src/model.h:48:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/highscorelist.cpp:25: src/model.h:67:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mytexture; // default "skin", MUST BE SET! ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/highscorelist.cpp:25: src/model.h:104:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr colormap; // replaces diffuse color if not defined. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/highscorelist.cpp:25: src/model.h:105:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr normalmap; // should be of type RGB to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/highscorelist.cpp:25: src/model.h:106:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr specularmap; // should be of type LUMINANCE to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/highscorelist.cpp:25: src/model.h:141:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr texmaps[DFTD_MAX_TEXTURE_UNITS]; // up to DFTD_MAX_TEXTURE_UNITS texture units ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/highscorelist.cpp:25: src/model.h:183:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/highscorelist.cpp:25: src/model.h:283:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr bounding_volume_tree; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/highscorelist.cpp:25: src/model.h:370:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_plastic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/highscorelist.cpp:25: src/model.h:371:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/highscorelist.cpp:25: src/model.h:372:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/highscorelist.cpp:25: src/model.h:373:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/highscorelist.cpp:25: src/model.h:374:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/highscorelist.cpp:25: src/model.h:375:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/highscorelist.cpp:25: src/model.h:376:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25:0: src/widget.h:97:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr backg; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25:0: src/widget.h:98:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr skbackg; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25:0: src/widget.h:99:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr frame[8]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25:0: src/widget.h:100:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr frameinv[8]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25:0: src/widget.h:101:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr icons[4]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25:0: src/widget.h:102:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sbarbackg; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25:0: src/widget.h:103:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sbarsurf; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25:0: src/widget.h:151:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr globaltheme; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25:0: src/widget.h:171:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static void set_theme(std::auto_ptr t) { globaltheme = t; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25:0: src/widget.h:173:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr replace_theme(std::auto_ptr t); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25:0: src/widget.h:173:49: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr replace_theme(std::auto_ptr t); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25:0: src/widget.h:237:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create_dialogue_ok(widget* parent_, const std::string& title, const std::string& text = "", int w = 0, int h = 0); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25:0: src/widget.h:238:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr create_dialogue_ok(const std::string& title, const std::string& text = "", int w = 0, int h = 0) { return create_dialogue_ok(this, title, text, w, h); } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25:0: src/widget.h:240:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create_dialogue_ok_cancel(widget* parent_, const std::string& title, const std::string& text = "", int w = 0, int h = 0); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25:0: src/widget.h:241:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr create_dialogue_ok_cancel(const std::string& title, const std::string& text = "") { return create_dialogue_ok_cancel(this, title, text); } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25:0: src/widget.h:528:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mdl; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25:0: src/widget.h:543:49: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] widget_3dview(int x, int y, int w, int h, std::auto_ptr mdl, color bgcol, widget* parent_ = 0); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25:0: src/widget.h:546:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_model(std::auto_ptr mdl_); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/keys.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/keys.cpp g++ -o build/linux/logbook.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/logbook.cpp g++ -o build/linux/logbook_display.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/logbook_display.cpp In file included from src/game.h:64:0, from src/logbook_display.cpp:27: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:64:0, from src/logbook_display.cpp:27: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/logbook_display.cpp:27: src/ptrlist.h: At global scope: src/ptrlist.h:54:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/logbook_display.cpp:27: src/ptrlist.h:58:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/logbook_display.cpp:27: src/ptrlist.h:83:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_front() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/logbook_display.cpp:27: src/ptrlist.h:91:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_back() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/logbook_display.cpp:27: src/ptrlist.h:134:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/logbook_display.cpp:27: src/ptrlist.h: In member function 'void ptrlist::push_back(T*)': src/ptrlist.h:63:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/logbook_display.cpp:27: src/ptrlist.h: In member function 'void ptrlist::push_front(T*)': src/ptrlist.h:67:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/logbook_display.cpp:27: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_front()': src/ptrlist.h:84:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/logbook_display.cpp:27: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_back()': src/ptrlist.h:92:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/logbook_display.cpp:27: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::iterator::release() const': src/ptrlist.h:134:43: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/logbook_display.cpp:27:0: src/game.h: At global scope: src/game.h:204:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/logbook_display.cpp:27:0: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_display.h:28:0, from src/logbook_display.cpp:29: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/logbook_display.cpp:29:0: src/user_display.h:54:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/logbook_display.cpp:29:0: src/user_display.h:83:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/logbook_display.cpp:30:0: src/logbook_display.h:34:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/user_interface.h:29, from src/logbook_display.cpp:35: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/user_interface.h:29, from src/logbook_display.cpp:35: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/user_interface.h:29, from src/logbook_display.cpp:35: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/user_interface.h:29, from src/logbook_display.cpp:35: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:29:0, from src/logbook_display.cpp:35: src/sea_object.h:242:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // created from spec file, but data needs to be saved, [SAVE] ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/logbook_display.cpp:35: src/coastmap.h:129:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31:0, from src/user_interface.h:33, from src/logbook_display.cpp:35: src/height_generator.h:145:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sand_texture, mud_texture, forest_texture, ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33:0, from src/logbook_display.cpp:35: src/geoclipmap.h:163:19: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] /*mutable*/ std::auto_ptr myshader[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/logbook_display.cpp:35:0: src/user_interface.h:60:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/logbook_display.cpp:35:0: src/user_interface.h:64:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/logbook_display.cpp:35:0: src/user_interface.h:68:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/logbook_display.cpp:35:0: src/user_interface.h:75:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/logbook_display.cpp:35:0: src/user_interface.h:99:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mysky; // the one and only sky ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/logbook_display.cpp:35:0: src/user_interface.h:102:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mygeoclipmap; // terrain rendering instance ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/map_display.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/map_display.cpp In file included from src/image.h:30:0, from src/map_display.cpp:24: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30:0, from src/map_display.cpp:24: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31:0, from src/map_display.cpp:24: src/texture.h: At global scope: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/map_display.cpp:26: src/ptrlist.h:54:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/map_display.cpp:26: src/ptrlist.h:58:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/map_display.cpp:26: src/ptrlist.h:83:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_front() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/map_display.cpp:26: src/ptrlist.h:91:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_back() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/map_display.cpp:26: src/ptrlist.h:134:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/map_display.cpp:26: src/ptrlist.h: In member function 'void ptrlist::push_back(T*)': src/ptrlist.h:63:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/map_display.cpp:26: src/ptrlist.h: In member function 'void ptrlist::push_front(T*)': src/ptrlist.h:67:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/map_display.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_front()': src/ptrlist.h:84:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/map_display.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_back()': src/ptrlist.h:92:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/map_display.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::iterator::release() const': src/ptrlist.h:134:43: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.cpp:26:0: src/game.h: At global scope: src/game.h:204:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.cpp:26:0: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.cpp:28:0: src/coastmap.h:129:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:26:0, from src/map_display.cpp:29: src/user_display.h:54:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:26:0, from src/map_display.cpp:29: src/user_display.h:83:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31:0, from src/widget.h:33, from src/map_display.h:29, from src/map_display.cpp:29: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31:0, from src/widget.h:33, from src/map_display.h:29, from src/map_display.cpp:29: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31:0, from src/widget.h:33, from src/map_display.h:29, from src/map_display.cpp:29: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31:0, from src/widget.h:33, from src/map_display.h:29, from src/map_display.cpp:29: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/widget.h:33, from src/map_display.h:29, from src/map_display.cpp:29: src/bv_tree.h:80:35: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/widget.h:33, from src/map_display.h:29, from src/map_display.cpp:29: src/bv_tree.h:80:69: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/widget.h:33, from src/map_display.h:29, from src/map_display.cpp:29: src/bv_tree.h:81:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create(const std::vector& vertices, std::list& nodes); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/widget.h:33, from src/map_display.h:29, from src/map_display.cpp:29: src/bv_tree.h:100:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr children[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/map_display.h:29, from src/map_display.cpp:29: src/model.h:48:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/map_display.h:29, from src/map_display.cpp:29: src/model.h:67:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mytexture; // default "skin", MUST BE SET! ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/map_display.h:29, from src/map_display.cpp:29: src/model.h:104:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr colormap; // replaces diffuse color if not defined. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/map_display.h:29, from src/map_display.cpp:29: src/model.h:105:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr normalmap; // should be of type RGB to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/map_display.h:29, from src/map_display.cpp:29: src/model.h:106:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr specularmap; // should be of type LUMINANCE to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/map_display.h:29, from src/map_display.cpp:29: src/model.h:141:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr texmaps[DFTD_MAX_TEXTURE_UNITS]; // up to DFTD_MAX_TEXTURE_UNITS texture units ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/map_display.h:29, from src/map_display.cpp:29: src/model.h:183:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/map_display.h:29, from src/map_display.cpp:29: src/model.h:283:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr bounding_volume_tree; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/map_display.h:29, from src/map_display.cpp:29: src/model.h:370:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_plastic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/map_display.h:29, from src/map_display.cpp:29: src/model.h:371:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/map_display.h:29, from src/map_display.cpp:29: src/model.h:372:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/map_display.h:29, from src/map_display.cpp:29: src/model.h:373:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/map_display.h:29, from src/map_display.cpp:29: src/model.h:374:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/map_display.h:29, from src/map_display.cpp:29: src/model.h:375:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/map_display.h:29, from src/map_display.cpp:29: src/model.h:376:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29:0, from src/map_display.cpp:29: src/widget.h:97:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr backg; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29:0, from src/map_display.cpp:29: src/widget.h:98:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr skbackg; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29:0, from src/map_display.cpp:29: src/widget.h:99:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr frame[8]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29:0, from src/map_display.cpp:29: src/widget.h:100:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr frameinv[8]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29:0, from src/map_display.cpp:29: src/widget.h:101:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr icons[4]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29:0, from src/map_display.cpp:29: src/widget.h:102:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sbarbackg; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29:0, from src/map_display.cpp:29: src/widget.h:103:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sbarsurf; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29:0, from src/map_display.cpp:29: src/widget.h:151:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr globaltheme; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29:0, from src/map_display.cpp:29: src/widget.h:171:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static void set_theme(std::auto_ptr t) { globaltheme = t; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29:0, from src/map_display.cpp:29: src/widget.h:173:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr replace_theme(std::auto_ptr t); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29:0, from src/map_display.cpp:29: src/widget.h:173:49: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr replace_theme(std::auto_ptr t); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29:0, from src/map_display.cpp:29: src/widget.h:237:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create_dialogue_ok(widget* parent_, const std::string& title, const std::string& text = "", int w = 0, int h = 0); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29:0, from src/map_display.cpp:29: src/widget.h:238:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr create_dialogue_ok(const std::string& title, const std::string& text = "", int w = 0, int h = 0) { return create_dialogue_ok(this, title, text, w, h); } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29:0, from src/map_display.cpp:29: src/widget.h:240:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create_dialogue_ok_cancel(widget* parent_, const std::string& title, const std::string& text = "", int w = 0, int h = 0); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29:0, from src/map_display.cpp:29: src/widget.h:241:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr create_dialogue_ok_cancel(const std::string& title, const std::string& text = "") { return create_dialogue_ok_cancel(this, title, text); } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29:0, from src/map_display.cpp:29: src/widget.h:528:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mdl; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29:0, from src/map_display.cpp:29: src/widget.h:543:49: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] widget_3dview(int x, int y, int w, int h, std::auto_ptr mdl, color bgcol, widget* parent_ = 0); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29:0, from src/map_display.cpp:29: src/widget.h:546:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_model(std::auto_ptr mdl_); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.cpp:29:0: src/map_display.h:60:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr edit_panel; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.cpp:29:0: src/map_display.h:61:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr edit_panel_add; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.cpp:29:0: src/map_display.h:62:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr edit_panel_chgmot; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.cpp:29:0: src/map_display.h:63:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr edit_panel_time; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.cpp:29:0: src/map_display.h:64:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr edit_panel_descr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.cpp:29:0: src/map_display.h:65:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr edit_panel_help; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.cpp:29:0: src/map_display.h:66:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr edit_panel_convoy; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:29:0, from src/map_display.cpp:30: src/sea_object.h:242:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // created from spec file, but data needs to be saved, [SAVE] ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31:0, from src/user_interface.h:33, from src/map_display.cpp:30: src/height_generator.h:145:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sand_texture, mud_texture, forest_texture, ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33:0, from src/map_display.cpp:30: src/geoclipmap.h:163:19: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] /*mutable*/ std::auto_ptr myshader[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.cpp:30:0: src/user_interface.h:60:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.cpp:30:0: src/user_interface.h:64:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.cpp:30:0: src/user_interface.h:68:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.cpp:30:0: src/user_interface.h:75:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.cpp:30:0: src/user_interface.h:99:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mysky; // the one and only sky ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.cpp:30:0: src/user_interface.h:102:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mygeoclipmap; // terrain rendering instance ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.cpp:38:0: src/convoy.h:49:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // fixme: maybe one ship should act for the convoy, ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/map_display.cpp: In member function 'virtual void map_display::process_input(game&, const SDL_Event&)': src/map_display.cpp:831:6: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr shp(new ship(gm, spec.first_child())); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/map_display.cpp:873:6: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr cv(new convoy(gm, center, edit_cvname->get_text())); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/message_queue.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/message_queue.cpp In file included from src/message_queue.cpp:23:0: src/message_queue.h:34:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/message_queue.h:28, from src/message_queue.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/music.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/music.cpp In file included from src/music.h:37:0, from src/music.cpp:22: src/message_queue.h:34:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/message_queue.h:28, from src/music.h:37, from src/music.cpp:22: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/music.cpp: In member function 'bool music::append_track(const string&)': src/music.cpp:237:33: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] return command_queue.send(std::auto_ptr(new command_append_track(*this, filename))); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/message_queue.h:28, from src/music.h:37, from src/music.cpp:22: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/music.cpp: In member function 'bool music::set_playback_mode(music::playback_mode)': src/music.cpp:243:33: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] return command_queue.send(std::auto_ptr(new command_set_playback_mode(*this, pbm))); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/message_queue.h:28, from src/music.h:37, from src/music.cpp:22: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/music.cpp: In member function 'bool music::play(unsigned int)': src/music.cpp:249:33: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] return command_queue.send(std::auto_ptr(new command_play(*this, fadein))); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/message_queue.h:28, from src/music.h:37, from src/music.cpp:22: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/music.cpp: In member function 'bool music::stop(unsigned int)': src/music.cpp:255:33: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] return command_queue.send(std::auto_ptr(new command_stop(*this, fadeout))); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/message_queue.h:28, from src/music.h:37, from src/music.cpp:22: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/music.cpp: In member function 'bool music::pause()': src/music.cpp:261:33: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] return command_queue.send(std::auto_ptr(new command_pause(*this))); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/message_queue.h:28, from src/music.h:37, from src/music.cpp:22: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/music.cpp: In member function 'bool music::resume()': src/music.cpp:267:33: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] return command_queue.send(std::auto_ptr(new command_resume(*this))); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/message_queue.h:28, from src/music.h:37, from src/music.cpp:22: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/music.cpp: In member function 'bool music::play_track(unsigned int, unsigned int, unsigned int)': src/music.cpp:273:33: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] return command_queue.send(std::auto_ptr(new command_play_track(*this, nr, fadeouttime, fadeintime))); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/message_queue.h:28, from src/music.h:37, from src/music.cpp:22: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/music.cpp: In member function 'bool music::track_finished()': src/music.cpp:279:40: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] return command_queue.send(std::auto_ptr(new command_track_finished(*this)), false); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/message_queue.h:28, from src/music.h:37, from src/music.cpp:22: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/music.cpp: In member function 'std::vector > music::get_playlist()': src/music.cpp:286:33: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] command_queue.send(std::auto_ptr(new command_get_playlist(*this, myplaylist))); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/message_queue.h:28, from src/music.h:37, from src/music.cpp:22: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/music.cpp: In member function 'unsigned int music::get_current_track()': src/music.cpp:294:33: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] command_queue.send(std::auto_ptr(new command_get_current_track(*this, track))); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/message_queue.h:28, from src/music.h:37, from src/music.cpp:22: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/music.cpp: In member function 'bool music::is_playing()': src/music.cpp:302:33: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] command_queue.send(std::auto_ptr(new command_is_playing(*this, isply))); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/message_queue.h:28, from src/music.h:37, from src/music.cpp:22: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/music.cpp: In member function 'bool music::play_sfx(const string&, const vector3&, angle, const vector3&)': src/music.cpp:309:40: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] return command_queue.send(std::auto_ptr(new command_play_sfx(*this, category, listener, listener_dir, noise_pos))); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/message_queue.h:28, from src/music.h:37, from src/music.cpp:22: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/music.cpp: In member function 'bool music::play_sfx_machine(const string&, unsigned int)': src/music.cpp:315:40: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] return command_queue.send(std::auto_ptr(new command_play_sfx_machine(*this, name, throttle))); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/message_queue.h:28, from src/music.h:37, from src/music.cpp:22: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/music.cpp: In member function 'bool music::pause_sfx(bool)': src/music.cpp:320:40: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] return command_queue.send(std::auto_ptr(new command_pause_sfx(*this, on))); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/message_queue.h:28, from src/music.h:37, from src/music.cpp:22: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/parser.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/parser.cpp g++ -o build/linux/particle.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/particle.cpp In file included from src/game.h:64:0, from src/particle.cpp:23: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/particle.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:64:0, from src/particle.cpp:23: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/particle.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/particle.cpp:23: src/ptrlist.h: At global scope: src/ptrlist.h:54:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/particle.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/particle.cpp:23: src/ptrlist.h:58:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/particle.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/particle.cpp:23: src/ptrlist.h:83:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_front() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/particle.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/particle.cpp:23: src/ptrlist.h:91:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_back() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/particle.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/particle.cpp:23: src/ptrlist.h:134:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/particle.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/particle.cpp:23: src/ptrlist.h: In member function 'void ptrlist::push_back(T*)': src/ptrlist.h:63:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/particle.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/particle.cpp:23: src/ptrlist.h: In member function 'void ptrlist::push_front(T*)': src/ptrlist.h:67:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/particle.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/particle.cpp:23: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_front()': src/ptrlist.h:84:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/particle.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/particle.cpp:23: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_back()': src/ptrlist.h:92:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/particle.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/particle.cpp:23: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::iterator::release() const': src/ptrlist.h:134:43: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/particle.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/particle.cpp:23:0: src/game.h: At global scope: src/game.h:204:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/particle.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/particle.cpp:23:0: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/particle.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/particle.cpp:24:0: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/particle.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/particle.cpp:27: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/particle.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/particle.cpp:27: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/particle.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/particle.cpp:27: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/particle.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/particle.cpp:27: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/particle.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/sea_object.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sea_object.cpp In file included from src/sea_object.h:27:0, from src/sea_object.cpp:23: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.h:27:0, from src/sea_object.cpp:23: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/sea_object.cpp:23: src/shader.h: At global scope: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/sea_object.cpp:23: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/sea_object.cpp:23: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/sea_object.cpp:23: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.cpp:23:0: src/sea_object.h:242:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // created from spec file, but data needs to be saved, [SAVE] ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:29:0, from src/sea_object.cpp:26: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/sea_object.cpp:26: src/bv_tree.h:80:35: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/sea_object.cpp:26: src/bv_tree.h:80:69: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/sea_object.cpp:26: src/bv_tree.h:81:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create(const std::vector& vertices, std::list& nodes); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/sea_object.cpp:26: src/bv_tree.h:100:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr children[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.cpp:26:0: src/model.h:48:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.cpp:26:0: src/model.h:67:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mytexture; // default "skin", MUST BE SET! ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.cpp:26:0: src/model.h:104:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr colormap; // replaces diffuse color if not defined. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.cpp:26:0: src/model.h:105:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr normalmap; // should be of type RGB to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.cpp:26:0: src/model.h:106:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr specularmap; // should be of type LUMINANCE to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.cpp:26:0: src/model.h:141:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr texmaps[DFTD_MAX_TEXTURE_UNITS]; // up to DFTD_MAX_TEXTURE_UNITS texture units ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.cpp:26:0: src/model.h:183:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.cpp:26:0: src/model.h:283:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr bounding_volume_tree; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.cpp:26:0: src/model.h:370:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_plastic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.cpp:26:0: src/model.h:371:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.cpp:26:0: src/model.h:372:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.cpp:26:0: src/model.h:373:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.cpp:26:0: src/model.h:374:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.cpp:26:0: src/model.h:375:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.cpp:26:0: src/model.h:376:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sea_object.cpp:31: src/ptrlist.h:54:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sea_object.cpp:31: src/ptrlist.h:58:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sea_object.cpp:31: src/ptrlist.h:83:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_front() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sea_object.cpp:31: src/ptrlist.h:91:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_back() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sea_object.cpp:31: src/ptrlist.h:134:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sea_object.cpp:31: src/ptrlist.h: In member function 'void ptrlist::push_back(T*)': src/ptrlist.h:63:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sea_object.cpp:31: src/ptrlist.h: In member function 'void ptrlist::push_front(T*)': src/ptrlist.h:67:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sea_object.cpp:31: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_front()': src/ptrlist.h:84:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sea_object.cpp:31: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_back()': src/ptrlist.h:92:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sea_object.cpp:31: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::iterator::release() const': src/ptrlist.h:134:43: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.cpp:31:0: src/game.h: At global scope: src/game.h:204:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.cpp:31:0: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/sensors.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sensors.cpp In file included from src/sea_object.h:27:0, from src/sensors.cpp:23: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.h:27:0, from src/sensors.cpp:23: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/sensors.cpp:23: src/shader.h: At global scope: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/sensors.cpp:23: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/sensors.cpp:23: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/sensors.cpp:23: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sensors.cpp:23:0: src/sea_object.h:242:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // created from spec file, but data needs to be saved, [SAVE] ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/sensors.cpp:24: src/bv_tree.h:80:35: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/sensors.cpp:24: src/bv_tree.h:80:69: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/sensors.cpp:24: src/bv_tree.h:81:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create(const std::vector& vertices, std::list& nodes); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/sensors.cpp:24: src/bv_tree.h:100:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr children[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sensors.cpp:26: src/ptrlist.h:54:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sensors.cpp:26: src/ptrlist.h:58:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sensors.cpp:26: src/ptrlist.h:83:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_front() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sensors.cpp:26: src/ptrlist.h:91:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_back() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sensors.cpp:26: src/ptrlist.h:134:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sensors.cpp:26: src/ptrlist.h: In member function 'void ptrlist::push_back(T*)': src/ptrlist.h:63:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sensors.cpp:26: src/ptrlist.h: In member function 'void ptrlist::push_front(T*)': src/ptrlist.h:67:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sensors.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_front()': src/ptrlist.h:84:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sensors.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_back()': src/ptrlist.h:92:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sensors.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::iterator::release() const': src/ptrlist.h:134:43: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sensors.cpp:26:0: src/game.h: At global scope: src/game.h:204:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sensors.cpp:26:0: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/ship.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/ship.cpp In file included from src/sea_object.h:27:0, from src/ship.h:27, from src/ship.cpp:23: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.h:27:0, from src/ship.h:27, from src/ship.cpp:23: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/ship.cpp:23: src/shader.h: At global scope: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/ship.cpp:23: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/ship.cpp:23: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/ship.cpp:23: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27:0, from src/ship.cpp:23: src/sea_object.h:242:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // created from spec file, but data needs to be saved, [SAVE] ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/ship.cpp:23: src/bv_tree.h:80:35: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/ship.cpp:23: src/bv_tree.h:80:69: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/ship.cpp:23: src/bv_tree.h:81:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create(const std::vector& vertices, std::list& nodes); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/ship.cpp:23: src/bv_tree.h:100:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr children[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:29:0, from src/ship.cpp:24: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.cpp:24:0: src/model.h:48:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.cpp:24:0: src/model.h:67:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mytexture; // default "skin", MUST BE SET! ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.cpp:24:0: src/model.h:104:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr colormap; // replaces diffuse color if not defined. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.cpp:24:0: src/model.h:105:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr normalmap; // should be of type RGB to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.cpp:24:0: src/model.h:106:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr specularmap; // should be of type LUMINANCE to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.cpp:24:0: src/model.h:141:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr texmaps[DFTD_MAX_TEXTURE_UNITS]; // up to DFTD_MAX_TEXTURE_UNITS texture units ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.cpp:24:0: src/model.h:183:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.cpp:24:0: src/model.h:283:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr bounding_volume_tree; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.cpp:24:0: src/model.h:370:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_plastic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.cpp:24:0: src/model.h:371:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.cpp:24:0: src/model.h:372:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.cpp:24:0: src/model.h:373:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.cpp:24:0: src/model.h:374:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.cpp:24:0: src/model.h:375:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.cpp:24:0: src/model.h:376:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/ship.cpp:25: src/ptrlist.h:54:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/ship.cpp:25: src/ptrlist.h:58:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/ship.cpp:25: src/ptrlist.h:83:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_front() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/ship.cpp:25: src/ptrlist.h:91:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_back() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/ship.cpp:25: src/ptrlist.h:134:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/ship.cpp:25: src/ptrlist.h: In member function 'void ptrlist::push_back(T*)': src/ptrlist.h:63:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/ship.cpp:25: src/ptrlist.h: In member function 'void ptrlist::push_front(T*)': src/ptrlist.h:67:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/ship.cpp:25: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_front()': src/ptrlist.h:84:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/ship.cpp:25: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_back()': src/ptrlist.h:92:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/ship.cpp:25: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::iterator::release() const': src/ptrlist.h:134:43: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.cpp:25:0: src/game.h: At global scope: src/game.h:204:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.cpp:25:0: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/ships_sunk_display.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/ships_sunk_display.cpp In file included from src/model.h:29:0, from src/ships_sunk_display.cpp:24: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31:0, from src/ships_sunk_display.cpp:24: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31:0, from src/ships_sunk_display.cpp:24: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31:0, from src/ships_sunk_display.cpp:24: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31:0, from src/ships_sunk_display.cpp:24: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/ships_sunk_display.cpp:24: src/bv_tree.h:80:35: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/ships_sunk_display.cpp:24: src/bv_tree.h:80:69: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/ships_sunk_display.cpp:24: src/bv_tree.h:81:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create(const std::vector& vertices, std::list& nodes); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/ships_sunk_display.cpp:24: src/bv_tree.h:100:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr children[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:24:0: src/model.h:48:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:24:0: src/model.h:67:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mytexture; // default "skin", MUST BE SET! ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:24:0: src/model.h:104:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr colormap; // replaces diffuse color if not defined. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:24:0: src/model.h:105:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr normalmap; // should be of type RGB to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:24:0: src/model.h:106:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr specularmap; // should be of type LUMINANCE to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:24:0: src/model.h:141:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr texmaps[DFTD_MAX_TEXTURE_UNITS]; // up to DFTD_MAX_TEXTURE_UNITS texture units ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:24:0: src/model.h:183:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:24:0: src/model.h:283:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr bounding_volume_tree; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:24:0: src/model.h:370:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_plastic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:24:0: src/model.h:371:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:24:0: src/model.h:372:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:24:0: src/model.h:373:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:24:0: src/model.h:374:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:24:0: src/model.h:375:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:24:0: src/model.h:376:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:64:0, from src/ships_sunk_display.cpp:26: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:64:0, from src/ships_sunk_display.cpp:26: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/ships_sunk_display.cpp:26: src/ptrlist.h: At global scope: src/ptrlist.h:54:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/ships_sunk_display.cpp:26: src/ptrlist.h:58:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/ships_sunk_display.cpp:26: src/ptrlist.h:83:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_front() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/ships_sunk_display.cpp:26: src/ptrlist.h:91:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_back() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/ships_sunk_display.cpp:26: src/ptrlist.h:134:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/ships_sunk_display.cpp:26: src/ptrlist.h: In member function 'void ptrlist::push_back(T*)': src/ptrlist.h:63:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/ships_sunk_display.cpp:26: src/ptrlist.h: In member function 'void ptrlist::push_front(T*)': src/ptrlist.h:67:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/ships_sunk_display.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr<_Up> ptrlist::release_front()': src/ptrlist.h:84:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/ships_sunk_display.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr<_Up> ptrlist::release_back()': src/ptrlist.h:92:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/ships_sunk_display.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr<_Up> ptrlist::iterator::release() const': src/ptrlist.h:134:43: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:26:0: src/game.h: At global scope: src/game.h:204:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:26:0: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.h:26:0, from src/ships_sunk_display.cpp:29: src/user_display.h:54:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.h:26:0, from src/ships_sunk_display.cpp:29: src/user_display.h:83:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:29:0, from src/ships_sunk_display.cpp:30: src/sea_object.h:242:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // created from spec file, but data needs to be saved, [SAVE] ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/ships_sunk_display.cpp:30: src/coastmap.h:129:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31:0, from src/user_interface.h:33, from src/ships_sunk_display.cpp:30: src/height_generator.h:145:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sand_texture, mud_texture, forest_texture, ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33:0, from src/ships_sunk_display.cpp:30: src/geoclipmap.h:163:19: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] /*mutable*/ std::auto_ptr myshader[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:30:0: src/user_interface.h:60:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:30:0: src/user_interface.h:64:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:30:0: src/user_interface.h:68:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:30:0: src/user_interface.h:75:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:30:0: src/user_interface.h:99:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mysky; // the one and only sky ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:30:0: src/user_interface.h:102:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mygeoclipmap; // terrain rendering instance ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/sky.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sky.cpp In file included from src/model.h:29:0, from src/sky.h:34, from src/sky.cpp:32: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31:0, from src/sky.h:34, from src/sky.cpp:32: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31:0, from src/sky.h:34, from src/sky.cpp:32: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31:0, from src/sky.h:34, from src/sky.cpp:32: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31:0, from src/sky.h:34, from src/sky.cpp:32: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/sky.h:34, from src/sky.cpp:32: src/bv_tree.h:80:35: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/sky.h:34, from src/sky.cpp:32: src/bv_tree.h:80:69: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/sky.h:34, from src/sky.cpp:32: src/bv_tree.h:81:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create(const std::vector& vertices, std::list& nodes); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/sky.h:34, from src/sky.cpp:32: src/bv_tree.h:100:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr children[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34:0, from src/sky.cpp:32: src/model.h:48:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34:0, from src/sky.cpp:32: src/model.h:67:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mytexture; // default "skin", MUST BE SET! ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34:0, from src/sky.cpp:32: src/model.h:104:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr colormap; // replaces diffuse color if not defined. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34:0, from src/sky.cpp:32: src/model.h:105:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr normalmap; // should be of type RGB to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34:0, from src/sky.cpp:32: src/model.h:106:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr specularmap; // should be of type LUMINANCE to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34:0, from src/sky.cpp:32: src/model.h:141:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr texmaps[DFTD_MAX_TEXTURE_UNITS]; // up to DFTD_MAX_TEXTURE_UNITS texture units ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34:0, from src/sky.cpp:32: src/model.h:183:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34:0, from src/sky.cpp:32: src/model.h:283:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr bounding_volume_tree; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34:0, from src/sky.cpp:32: src/model.h:370:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_plastic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34:0, from src/sky.cpp:32: src/model.h:371:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34:0, from src/sky.cpp:32: src/model.h:372:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34:0, from src/sky.cpp:32: src/model.h:373:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34:0, from src/sky.cpp:32: src/model.h:374:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34:0, from src/sky.cpp:32: src/model.h:375:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34:0, from src/sky.cpp:32: src/model.h:376:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:35:0, from src/sky.cpp:32: src/moon.h:35:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr glsl_moon; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.cpp:32:0: src/sky.h:81:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr glsl_clouds; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:64:0, from src/sky.cpp:39: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:64:0, from src/sky.cpp:39: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sky.cpp:39: src/ptrlist.h: At global scope: src/ptrlist.h:54:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sky.cpp:39: src/ptrlist.h:58:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sky.cpp:39: src/ptrlist.h:83:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_front() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sky.cpp:39: src/ptrlist.h:91:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_back() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sky.cpp:39: src/ptrlist.h:134:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sky.cpp:39: src/ptrlist.h: In member function 'void ptrlist::push_back(T*)': src/ptrlist.h:63:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sky.cpp:39: src/ptrlist.h: In member function 'void ptrlist::push_front(T*)': src/ptrlist.h:67:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sky.cpp:39: src/ptrlist.h: In member function 'std::auto_ptr<_Up> ptrlist::release_front()': src/ptrlist.h:84:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sky.cpp:39: src/ptrlist.h: In member function 'std::auto_ptr<_Up> ptrlist::release_back()': src/ptrlist.h:92:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sky.cpp:39: src/ptrlist.h: In member function 'std::auto_ptr<_Up> ptrlist::iterator::release() const': src/ptrlist.h:134:43: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.cpp:39:0: src/game.h: At global scope: src/game.h:204:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.cpp:39:0: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/sky.cpp: In member function 'void sky::display(const colorf&, const vector3&, double, bool) const': src/sky.cpp:352:34: warning: narrowing conversion of 'sunpos.vector3t::x' from 'double' to 'GLfloat {aka float}' inside { } [-Wnarrowing] GLfloat lightpos[4] = { sunpos.x, sunpos.y, sunpos.z, 0.0f }; ~~~~~~~^ src/sky.cpp:352:44: warning: narrowing conversion of 'sunpos.vector3t::y' from 'double' to 'GLfloat {aka float}' inside { } [-Wnarrowing] GLfloat lightpos[4] = { sunpos.x, sunpos.y, sunpos.z, 0.0f }; ~~~~~~~^ src/sky.cpp:352:54: warning: narrowing conversion of 'sunpos.vector3t::z' from 'double' to 'GLfloat {aka float}' inside { } [-Wnarrowing] GLfloat lightpos[4] = { sunpos.x, sunpos.y, sunpos.z, 0.0f }; ~~~~~~~^ src/sky.cpp:357:35: warning: narrowing conversion of 'moonpos.vector3t::x' from 'double' to 'GLfloat {aka float}' inside { } [-Wnarrowing] GLfloat lightpos[4] = { moonpos.x, moonpos.y, moonpos.z, 0.0f }; ~~~~~~~~^ src/sky.cpp:357:46: warning: narrowing conversion of 'moonpos.vector3t::y' from 'double' to 'GLfloat {aka float}' inside { } [-Wnarrowing] GLfloat lightpos[4] = { moonpos.x, moonpos.y, moonpos.z, 0.0f }; ~~~~~~~~^ src/sky.cpp:357:57: warning: narrowing conversion of 'moonpos.vector3t::z' from 'double' to 'GLfloat {aka float}' inside { } [-Wnarrowing] GLfloat lightpos[4] = { moonpos.x, moonpos.y, moonpos.z, 0.0f }; ~~~~~~~~^ src/sky.cpp: In member function 'void sky::rebuild_colors(const vector3&, const vector3&, const vector3&) const': src/sky.cpp:524:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(c.r>1.0) c.r=1.0; if(c.g>1.0) c.g=1.0; if(c.b>1.0) c.b=1.0; ^~ src/sky.cpp:524:25: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if(c.r>1.0) c.r=1.0; if(c.g>1.0) c.g=1.0; if(c.b>1.0) c.b=1.0; ^~ g++ -o build/linux/moon.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/moon.cpp In file included from src/moon.h:25:0, from src/moon.cpp:28: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/moon.h:25, from src/moon.cpp:28: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/moon.h:26:0, from src/moon.cpp:28: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/moon.h:25, from src/moon.cpp:28: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/moon.h:26:0, from src/moon.cpp:28: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/moon.h:25, from src/moon.cpp:28: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/moon.h:26:0, from src/moon.cpp:28: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/moon.h:25, from src/moon.cpp:28: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/moon.h:26:0, from src/moon.cpp:28: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/moon.h:25, from src/moon.cpp:28: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/moon.cpp:28:0: src/moon.h:35:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr glsl_moon; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/moon.h:25, from src/moon.cpp:28: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/simplex_noise.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/simplex_noise.cpp g++ -o build/linux/stars.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/stars.cpp In file included from src/stars.cpp:35:0: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/shader.h:32, from src/stars.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/stars.cpp:35:0: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/shader.h:32, from src/stars.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/stars.cpp:35:0: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/shader.h:32, from src/stars.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/stars.cpp:35:0: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/shader.h:32, from src/stars.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/sonar.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sonar.cpp In file included from src/game.h:64:0, from src/sonar.cpp:26: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/sonar.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:64:0, from src/sonar.cpp:26: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/sonar.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sonar.cpp:26: src/ptrlist.h: At global scope: src/ptrlist.h:54:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/sonar.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sonar.cpp:26: src/ptrlist.h:58:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/sonar.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sonar.cpp:26: src/ptrlist.h:83:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_front() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/sonar.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sonar.cpp:26: src/ptrlist.h:91:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_back() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/sonar.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sonar.cpp:26: src/ptrlist.h:134:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/sonar.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sonar.cpp:26: src/ptrlist.h: In member function 'void ptrlist::push_back(T*)': src/ptrlist.h:63:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/sonar.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sonar.cpp:26: src/ptrlist.h: In member function 'void ptrlist::push_front(T*)': src/ptrlist.h:67:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/sonar.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sonar.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_front()': src/ptrlist.h:84:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/sonar.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sonar.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_back()': src/ptrlist.h:92:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/sonar.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sonar.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::iterator::release() const': src/ptrlist.h:134:43: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/sonar.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sonar.cpp:26:0: src/game.h: At global scope: src/game.h:204:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/sonar.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sonar.cpp:26:0: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/sonar.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/sonar.cpp:29: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/sonar.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/sonar.cpp:29: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/sonar.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/sonar.cpp:29: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/sonar.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/sonar.cpp:29: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/sonar.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27:0, from src/submarine.h:26, from src/sonar.cpp:29: src/sea_object.h:242:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // created from spec file, but data needs to be saved, [SAVE] ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/sonar.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/sonar.cpp:29: src/bv_tree.h:80:35: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/sonar.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/sonar.cpp:29: src/bv_tree.h:80:69: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/sonar.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/sonar.cpp:29: src/bv_tree.h:81:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create(const std::vector& vertices, std::list& nodes); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/sonar.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/sonar.cpp:29: src/bv_tree.h:100:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr children[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/game.h:64, from src/sonar.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/sonar_operator.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sonar_operator.cpp In file included from src/sea_object.h:27:0, from src/ship.h:27, from src/submarine.h:26, from src/sonar_operator.cpp:24: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/sonar_operator.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.h:27:0, from src/ship.h:27, from src/submarine.h:26, from src/sonar_operator.cpp:24: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/sonar_operator.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/sonar_operator.cpp:24: src/shader.h: At global scope: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/sonar_operator.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/sonar_operator.cpp:24: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/sonar_operator.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/sonar_operator.cpp:24: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/sonar_operator.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/sonar_operator.cpp:24: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/sonar_operator.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27:0, from src/submarine.h:26, from src/sonar_operator.cpp:24: src/sea_object.h:242:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // created from spec file, but data needs to be saved, [SAVE] ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/sonar_operator.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/sonar_operator.cpp:24: src/bv_tree.h:80:35: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/sonar_operator.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/sonar_operator.cpp:24: src/bv_tree.h:80:69: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/sonar_operator.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/sonar_operator.cpp:24: src/bv_tree.h:81:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create(const std::vector& vertices, std::list& nodes); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/sonar_operator.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/sonar_operator.cpp:24: src/bv_tree.h:100:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr children[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/sonar_operator.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sonar_operator.cpp:25: src/ptrlist.h:54:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/sonar_operator.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sonar_operator.cpp:25: src/ptrlist.h:58:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/sonar_operator.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sonar_operator.cpp:25: src/ptrlist.h:83:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_front() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/sonar_operator.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sonar_operator.cpp:25: src/ptrlist.h:91:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_back() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/sonar_operator.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sonar_operator.cpp:25: src/ptrlist.h:134:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/sonar_operator.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sonar_operator.cpp:25: src/ptrlist.h: In member function 'void ptrlist::push_back(T*)': src/ptrlist.h:63:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/sonar_operator.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sonar_operator.cpp:25: src/ptrlist.h: In member function 'void ptrlist::push_front(T*)': src/ptrlist.h:67:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/sonar_operator.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sonar_operator.cpp:25: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_front()': src/ptrlist.h:84:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/sonar_operator.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sonar_operator.cpp:25: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_back()': src/ptrlist.h:92:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/sonar_operator.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sonar_operator.cpp:25: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::iterator::release() const': src/ptrlist.h:134:43: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/sonar_operator.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sonar_operator.cpp:25:0: src/game.h: At global scope: src/game.h:204:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/sonar_operator.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sonar_operator.cpp:25:0: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/sonar_operator.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/sonar_operator.cpp: In member function 'void sonar_operator::save(xml_elem&) const': src/sonar_operator.cpp:248:11: warning: variable 'so' set but not used [-Wunused-but-set-variable] xml_elem so = parent.add_child("sonar_operator"); ^~ g++ -o build/linux/submarine.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/submarine.cpp In file included from src/sea_object.h:27:0, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.h:27:0, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: src/shader.h: At global scope: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27:0, from src/submarine.h:26, from src/submarine.cpp:23: src/sea_object.h:242:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // created from spec file, but data needs to be saved, [SAVE] ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/submarine.cpp:23: src/bv_tree.h:80:35: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/submarine.cpp:23: src/bv_tree.h:80:69: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/submarine.cpp:23: src/bv_tree.h:81:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create(const std::vector& vertices, std::list& nodes); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/submarine.cpp:23: src/bv_tree.h:100:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr children[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:29:0, from src/submarine.cpp:24: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:24:0: src/model.h:48:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:24:0: src/model.h:67:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mytexture; // default "skin", MUST BE SET! ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:24:0: src/model.h:104:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr colormap; // replaces diffuse color if not defined. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:24:0: src/model.h:105:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr normalmap; // should be of type RGB to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:24:0: src/model.h:106:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr specularmap; // should be of type LUMINANCE to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:24:0: src/model.h:141:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr texmaps[DFTD_MAX_TEXTURE_UNITS]; // up to DFTD_MAX_TEXTURE_UNITS texture units ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:24:0: src/model.h:183:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:24:0: src/model.h:283:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr bounding_volume_tree; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:24:0: src/model.h:370:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_plastic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:24:0: src/model.h:371:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:24:0: src/model.h:372:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:24:0: src/model.h:373:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:24:0: src/model.h:374:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:24:0: src/model.h:375:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:24:0: src/model.h:376:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/submarine.cpp:25: src/ptrlist.h:54:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/submarine.cpp:25: src/ptrlist.h:58:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/submarine.cpp:25: src/ptrlist.h:83:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_front() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/submarine.cpp:25: src/ptrlist.h:91:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_back() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/submarine.cpp:25: src/ptrlist.h:134:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/submarine.cpp:25: src/ptrlist.h: In member function 'void ptrlist::push_back(T*)': src/ptrlist.h:63:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/submarine.cpp:25: src/ptrlist.h: In member function 'void ptrlist::push_front(T*)': src/ptrlist.h:67:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/submarine.cpp:25: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_front()': src/ptrlist.h:84:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/submarine.cpp:25: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_back()': src/ptrlist.h:92:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/submarine.cpp:25: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::iterator::release() const': src/ptrlist.h:134:43: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:25:0: src/game.h: At global scope: src/game.h:204:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:25:0: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/submarine.cpp:32: src/coastmap.h:129:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31:0, from src/user_interface.h:33, from src/submarine.cpp:32: src/height_generator.h:145:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sand_texture, mud_texture, forest_texture, ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33:0, from src/submarine.cpp:32: src/geoclipmap.h:163:19: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] /*mutable*/ std::auto_ptr myshader[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:35:0, from src/submarine.cpp:32: src/user_display.h:54:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:35:0, from src/submarine.cpp:32: src/user_display.h:83:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:32:0: src/user_interface.h:60:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:32:0: src/user_interface.h:64:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:32:0: src/user_interface.h:68:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:32:0: src/user_interface.h:75:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:32:0: src/user_interface.h:99:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mysky; // the one and only sky ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:32:0: src/user_interface.h:102:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mygeoclipmap; // terrain rendering instance ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/submarine.cpp: In member function 'virtual void submarine::load(const xml_elem&)': src/submarine.cpp:347:11: warning: variable 'tk' set but not used [-Wunused-but-set-variable] xml_elem tk = parent.child("tanks"); ^~ src/submarine.cpp: In member function 'virtual bool submarine::launch_torpedo(int, sea_object*)': src/submarine.cpp:1294:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torp(new torpedo(gm, doc.first_child(), torpedoes[tubenr].setup)); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/submarine_interface.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/submarine_interface.cpp In file included from src/sea_object.h:27:0, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.h:27:0, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: src/shader.h: At global scope: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27:0, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: src/sea_object.h:242:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // created from spec file, but data needs to be saved, [SAVE] ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: src/bv_tree.h:80:35: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: src/bv_tree.h:80:69: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: src/bv_tree.h:81:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create(const std::vector& vertices, std::list& nodes); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: src/bv_tree.h:100:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr children[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.h:29:0, from src/user_interface.h:31, from src/submarine_interface.h:30, from src/submarine_interface.cpp:37: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/submarine_interface.h:30, from src/submarine_interface.cpp:37: src/coastmap.h:129:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31:0, from src/user_interface.h:33, from src/submarine_interface.h:30, from src/submarine_interface.cpp:37: src/height_generator.h:145:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sand_texture, mud_texture, forest_texture, ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33:0, from src/submarine_interface.h:30, from src/submarine_interface.cpp:37: src/geoclipmap.h:163:19: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] /*mutable*/ std::auto_ptr myshader[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:35:0, from src/submarine_interface.h:30, from src/submarine_interface.cpp:37: src/user_display.h:54:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:35:0, from src/submarine_interface.h:30, from src/submarine_interface.cpp:37: src/user_display.h:83:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/submarine_interface.cpp:37: src/user_interface.h:60:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/submarine_interface.cpp:37: src/user_interface.h:64:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/submarine_interface.cpp:37: src/user_interface.h:68:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/submarine_interface.cpp:37: src/user_interface.h:75:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/submarine_interface.cpp:37: src/user_interface.h:99:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mysky; // the one and only sky ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/submarine_interface.cpp:37: src/user_interface.h:102:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mygeoclipmap; // terrain rendering instance ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:37:0: src/submarine_interface.h:87:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torpedo_cam_view; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/submarine_interface.cpp:39: src/ptrlist.h:54:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/submarine_interface.cpp:39: src/ptrlist.h:58:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/submarine_interface.cpp:39: src/ptrlist.h:83:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_front() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/submarine_interface.cpp:39: src/ptrlist.h:91:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_back() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/submarine_interface.cpp:39: src/ptrlist.h:134:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/submarine_interface.cpp:39: src/ptrlist.h: In member function 'void ptrlist::push_back(T*)': src/ptrlist.h:63:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/submarine_interface.cpp:39: src/ptrlist.h: In member function 'void ptrlist::push_front(T*)': src/ptrlist.h:67:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/submarine_interface.cpp:39: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_front()': src/ptrlist.h:84:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/submarine_interface.cpp:39: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_back()': src/ptrlist.h:92:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/submarine_interface.cpp:39: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::iterator::release() const': src/ptrlist.h:134:43: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:39:0: src/game.h: At global scope: src/game.h:204:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:39:0: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/submarine_interface.cpp:42: src/model.h:48:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/submarine_interface.cpp:42: src/model.h:67:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mytexture; // default "skin", MUST BE SET! ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/submarine_interface.cpp:42: src/model.h:104:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr colormap; // replaces diffuse color if not defined. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/submarine_interface.cpp:42: src/model.h:105:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr normalmap; // should be of type RGB to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/submarine_interface.cpp:42: src/model.h:106:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr specularmap; // should be of type LUMINANCE to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/submarine_interface.cpp:42: src/model.h:141:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr texmaps[DFTD_MAX_TEXTURE_UNITS]; // up to DFTD_MAX_TEXTURE_UNITS texture units ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/submarine_interface.cpp:42: src/model.h:183:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/submarine_interface.cpp:42: src/model.h:283:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr bounding_volume_tree; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/submarine_interface.cpp:42: src/model.h:370:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_plastic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/submarine_interface.cpp:42: src/model.h:371:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/submarine_interface.cpp:42: src/model.h:372:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/submarine_interface.cpp:42: src/model.h:373:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/submarine_interface.cpp:42: src/model.h:374:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/submarine_interface.cpp:42: src/model.h:375:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/submarine_interface.cpp:42: src/model.h:376:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:42:0: src/widget.h:97:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr backg; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:42:0: src/widget.h:98:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr skbackg; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:42:0: src/widget.h:99:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr frame[8]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:42:0: src/widget.h:100:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr frameinv[8]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:42:0: src/widget.h:101:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr icons[4]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:42:0: src/widget.h:102:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sbarbackg; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:42:0: src/widget.h:103:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sbarsurf; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:42:0: src/widget.h:151:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr globaltheme; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:42:0: src/widget.h:171:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static void set_theme(std::auto_ptr t) { globaltheme = t; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:42:0: src/widget.h:173:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr replace_theme(std::auto_ptr t); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:42:0: src/widget.h:173:49: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr replace_theme(std::auto_ptr t); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:42:0: src/widget.h:237:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create_dialogue_ok(widget* parent_, const std::string& title, const std::string& text = "", int w = 0, int h = 0); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:42:0: src/widget.h:238:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr create_dialogue_ok(const std::string& title, const std::string& text = "", int w = 0, int h = 0) { return create_dialogue_ok(this, title, text, w, h); } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:42:0: src/widget.h:240:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create_dialogue_ok_cancel(widget* parent_, const std::string& title, const std::string& text = "", int w = 0, int h = 0); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:42:0: src/widget.h:241:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr create_dialogue_ok_cancel(const std::string& title, const std::string& text = "") { return create_dialogue_ok_cancel(this, title, text); } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:42:0: src/widget.h:528:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mdl; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:42:0: src/widget.h:543:49: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] widget_3dview(int x, int y, int w, int h, std::auto_ptr mdl, color bgcol, widget* parent_ = 0); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:42:0: src/widget.h:546:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_model(std::auto_ptr mdl_); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/music.h:37:0, from src/submarine_interface.cpp:46: src/message_queue.h:34:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:50:0: src/sub_gauges_display.h:46:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr controlscreen; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:50:0: src/sub_gauges_display.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr indicator_compass; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:50:0: src/sub_gauges_display.h:49:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr indicator_bow_depth_rudder; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:50:0: src/sub_gauges_display.h:50:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr indicator_stern_depth_rudder; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:50:0: src/sub_gauges_display.h:51:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr indicator_depth; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:50:0: src/sub_gauges_display.h:52:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr indicator_knots; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:50:0: src/sub_gauges_display.h:53:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr indicator_main_rudder; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:50:0: src/sub_gauges_display.h:54:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr indicator_mt; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:51:0: src/sub_periscope_display.h:38:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:51:0: src/sub_periscope_display.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr glsl_blurview; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:54:0: src/map_display.h:60:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr edit_panel; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:54:0: src/map_display.h:61:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr edit_panel_add; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:54:0: src/map_display.h:62:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr edit_panel_chgmot; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:54:0: src/map_display.h:63:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr edit_panel_time; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:54:0: src/map_display.h:64:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr edit_panel_descr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:54:0: src/map_display.h:65:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr edit_panel_help; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:54:0: src/map_display.h:66:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr edit_panel_convoy; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:55:0: src/sub_torpedo_display.h:39:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torpempty; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:55:0: src/sub_torpedo_display.h:40:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torpload; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:55:0: src/sub_torpedo_display.h:41:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torpunload; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:55:0: src/sub_torpedo_display.h:42:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torp1fat1; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:55:0: src/sub_torpedo_display.h:43:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torp1lut1; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:55:0: src/sub_torpedo_display.h:44:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torp1lut2; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:55:0: src/sub_torpedo_display.h:45:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torp1; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:55:0: src/sub_torpedo_display.h:46:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torp1practice; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:55:0: src/sub_torpedo_display.h:47:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torp2; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:55:0: src/sub_torpedo_display.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torp3afat2; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:55:0: src/sub_torpedo_display.h:49:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torp3alut1; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:55:0: src/sub_torpedo_display.h:50:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torp3alut2; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:55:0: src/sub_torpedo_display.h:51:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torp3fat2; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:55:0: src/sub_torpedo_display.h:52:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torp3; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:55:0: src/sub_torpedo_display.h:53:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torp4; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:55:0: src/sub_torpedo_display.h:54:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torp5b; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:55:0: src/sub_torpedo_display.h:55:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torp5; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:55:0: src/sub_torpedo_display.h:56:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torp6lut1; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:55:0: src/sub_torpedo_display.h:58:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr submodelVIIc; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:55:0: src/sub_torpedo_display.h:59:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:55:0: src/sub_torpedo_display.h:60:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr subtopsideview; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:56:0: src/sub_damage_display.h:34:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr damage_screen_background; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:56:0: src/sub_damage_display.h:35:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sub_damage_scheme_all; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:57:0: src/logbook_display.h:34:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:59:0: src/sub_tdc_display.h:34:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:59:0: src/sub_tdc_display.h:39:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr firesolution; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:59:0: src/sub_tdc_display.h:56:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:59:0: src/sub_tdc_display.h:78:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myscheme1; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:59:0: src/sub_tdc_display.h:79:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myscheme2; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:60:0: src/sub_torpsetup_display.h:34:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:60:0: src/sub_torpsetup_display.h:43:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torpspeed[3]; // slow/medium/fast ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:60:0: src/sub_torpsetup_display.h:44:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr firstturn[2]; // left/right ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:60:0: src/sub_torpsetup_display.h:45:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr secondaryrange[2]; // short/long ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:60:0: src/sub_torpsetup_display.h:46:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr preheating[2]; // on/off ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:60:0: src/sub_torpsetup_display.h:47:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr temperaturescale; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:60:0: src/sub_torpsetup_display.h:51:27: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bool is_over(const std::auto_ptr& tex, const vector2i& pos, ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:60:0: src/sub_torpsetup_display.h:74:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myscheme; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:61:0: src/sub_kdb_display.h:35:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:61:0: src/sub_kdb_display.h:53:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myscheme; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:62:0: src/sub_ghg_display.h:34:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:62:0: src/sub_ghg_display.h:53:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myscheme; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:63:0: src/sub_bg_display.h:34:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:63:0: src/sub_bg_display.h:50:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myscheme; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:64:0: src/sub_captainscabin_display.h:34:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:65:0: src/sub_soldbuch_display.h:31:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:65:0: src/sub_soldbuch_display.h:32:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr player_photo; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:65:0: src/sub_soldbuch_display.h:33:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr primary_overlay; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:65:0: src/sub_soldbuch_display.h:34:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr stamps; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:66:0: src/sub_recogmanual_display.h:49:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:67:0: src/sub_valves_display.h:33:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:71:0: src/sub_control_popup.h:33:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background_daylight; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:71:0: src/sub_control_popup.h:34:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background_nightlight; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:72:0: src/sub_tdc_popup.h:33:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background_daylight; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:72:0: src/sub_tdc_popup.h:34:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background_nightlight; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:73:0: src/sub_ecard_popup.h:33:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background_daylight; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:73:0: src/sub_ecard_popup.h:34:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background_nightlight; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:74:0: src/sub_recogmanual_popup.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background_daylight; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:74:0: src/sub_recogmanual_popup.h:49:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background_nightlight; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/sub_bg_display.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_bg_display.cpp In file included from src/user_display.h:28:0, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_bg_display.h:26:0, from src/sub_bg_display.cpp:23: src/user_display.h:54:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_bg_display.h:26:0, from src/sub_bg_display.cpp:23: src/user_display.h:83:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30:0, from src/sub_bg_display.h:27, from src/sub_bg_display.cpp:23: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30:0, from src/sub_bg_display.h:27, from src/sub_bg_display.cpp:23: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_bg_display.cpp:23:0: src/sub_bg_display.h: At global scope: src/sub_bg_display.h:34:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_bg_display.cpp:23:0: src/sub_bg_display.h:50:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myscheme; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_bg_display.cpp:27: src/ptrlist.h:54:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_bg_display.cpp:27: src/ptrlist.h:58:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_bg_display.cpp:27: src/ptrlist.h:83:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_front() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_bg_display.cpp:27: src/ptrlist.h:91:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_back() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_bg_display.cpp:27: src/ptrlist.h:134:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_bg_display.cpp:27: src/ptrlist.h: In member function 'void ptrlist::push_back(T*)': src/ptrlist.h:63:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_bg_display.cpp:27: src/ptrlist.h: In member function 'void ptrlist::push_front(T*)': src/ptrlist.h:67:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_bg_display.cpp:27: src/ptrlist.h: In member function 'std::auto_ptr<_Up> ptrlist::release_front()': src/ptrlist.h:84:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_bg_display.cpp:27: src/ptrlist.h: In member function 'std::auto_ptr<_Up> ptrlist::release_back()': src/ptrlist.h:92:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_bg_display.cpp:27: src/ptrlist.h: In member function 'std::auto_ptr<_Up> ptrlist::iterator::release() const': src/ptrlist.h:134:43: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_bg_display.cpp:27:0: src/game.h: At global scope: src/game.h:204:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_bg_display.cpp:27:0: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_bg_display.cpp:28: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_bg_display.cpp:28: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_bg_display.cpp:28: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_bg_display.cpp:28: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27:0, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_bg_display.cpp:28: src/sea_object.h:242:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // created from spec file, but data needs to be saved, [SAVE] ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_bg_display.cpp:28: src/bv_tree.h:80:35: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_bg_display.cpp:28: src/bv_tree.h:80:69: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_bg_display.cpp:28: src/bv_tree.h:81:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create(const std::vector& vertices, std::list& nodes); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_bg_display.cpp:28: src/bv_tree.h:100:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr children[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/submarine_interface.h:30, from src/sub_bg_display.cpp:28: src/coastmap.h:129:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31:0, from src/user_interface.h:33, from src/submarine_interface.h:30, from src/sub_bg_display.cpp:28: src/height_generator.h:145:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sand_texture, mud_texture, forest_texture, ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33:0, from src/submarine_interface.h:30, from src/sub_bg_display.cpp:28: src/geoclipmap.h:163:19: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] /*mutable*/ std::auto_ptr myshader[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_bg_display.cpp:28: src/user_interface.h:60:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_bg_display.cpp:28: src/user_interface.h:64:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_bg_display.cpp:28: src/user_interface.h:68:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_bg_display.cpp:28: src/user_interface.h:75:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_bg_display.cpp:28: src/user_interface.h:99:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mysky; // the one and only sky ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_bg_display.cpp:28: src/user_interface.h:102:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mygeoclipmap; // terrain rendering instance ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_bg_display.cpp:28:0: src/submarine_interface.h:87:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torpedo_cam_view; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/sub_bg_display.cpp: In member function 'virtual void sub_bg_display::process_input(game&, const SDL_Event&)': src/sub_bg_display.cpp:60:14: warning: variable 'mb' set but not used [-Wunused-but-set-variable] int mx, my, mb; ^~ g++ -o build/linux/sub_bridge_display.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_bridge_display.cpp In file included from src/image.h:30:0, from src/sub_bridge_display.cpp:24: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30:0, from src/sub_bridge_display.cpp:24: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31:0, from src/sub_bridge_display.cpp:24: src/texture.h: At global scope: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_bridge_display.cpp:26: src/ptrlist.h:54:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_bridge_display.cpp:26: src/ptrlist.h:58:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_bridge_display.cpp:26: src/ptrlist.h:83:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_front() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_bridge_display.cpp:26: src/ptrlist.h:91:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_back() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_bridge_display.cpp:26: src/ptrlist.h:134:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_bridge_display.cpp:26: src/ptrlist.h: In member function 'void ptrlist::push_back(T*)': src/ptrlist.h:63:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_bridge_display.cpp:26: src/ptrlist.h: In member function 'void ptrlist::push_front(T*)': src/ptrlist.h:67:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_bridge_display.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_front()': src/ptrlist.h:84:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_bridge_display.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_back()': src/ptrlist.h:92:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_bridge_display.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::iterator::release() const': src/ptrlist.h:134:43: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_bridge_display.cpp:26:0: src/game.h: At global scope: src/game.h:204:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_bridge_display.cpp:26:0: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.h:26:0, from src/sub_bridge_display.h:26, from src/sub_bridge_display.cpp:27: src/user_display.h:54:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.h:26:0, from src/sub_bridge_display.h:26, from src/sub_bridge_display.cpp:27: src/user_display.h:83:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/user_interface.h:29, from src/sub_bridge_display.cpp:28: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/user_interface.h:29, from src/sub_bridge_display.cpp:28: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/user_interface.h:29, from src/sub_bridge_display.cpp:28: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/user_interface.h:29, from src/sub_bridge_display.cpp:28: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:29:0, from src/sub_bridge_display.cpp:28: src/sea_object.h:242:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // created from spec file, but data needs to be saved, [SAVE] ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/sub_bridge_display.cpp:28: src/coastmap.h:129:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31:0, from src/user_interface.h:33, from src/sub_bridge_display.cpp:28: src/height_generator.h:145:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sand_texture, mud_texture, forest_texture, ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33:0, from src/sub_bridge_display.cpp:28: src/geoclipmap.h:163:19: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] /*mutable*/ std::auto_ptr myshader[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_bridge_display.cpp:28:0: src/user_interface.h:60:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_bridge_display.cpp:28:0: src/user_interface.h:64:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_bridge_display.cpp:28:0: src/user_interface.h:68:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_bridge_display.cpp:28:0: src/user_interface.h:75:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_bridge_display.cpp:28:0: src/user_interface.h:99:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mysky; // the one and only sky ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_bridge_display.cpp:28:0: src/user_interface.h:102:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mygeoclipmap; // terrain rendering instance ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/sub_bridge_display.cpp:31: src/bv_tree.h:80:35: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/sub_bridge_display.cpp:31: src/bv_tree.h:80:69: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/sub_bridge_display.cpp:31: src/bv_tree.h:81:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create(const std::vector& vertices, std::list& nodes); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/sub_bridge_display.cpp:31: src/bv_tree.h:100:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr children[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/sub_captainscabin_display.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_captainscabin_display.cpp In file included from src/image.h:30:0, from src/sub_captainscabin_display.cpp:24: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30:0, from src/sub_captainscabin_display.cpp:24: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31:0, from src/sub_captainscabin_display.cpp:24: src/texture.h: At global scope: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_captainscabin_display.cpp:26: src/ptrlist.h:54:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_captainscabin_display.cpp:26: src/ptrlist.h:58:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_captainscabin_display.cpp:26: src/ptrlist.h:83:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_front() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_captainscabin_display.cpp:26: src/ptrlist.h:91:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_back() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_captainscabin_display.cpp:26: src/ptrlist.h:134:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_captainscabin_display.cpp:26: src/ptrlist.h: In member function 'void ptrlist::push_back(T*)': src/ptrlist.h:63:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_captainscabin_display.cpp:26: src/ptrlist.h: In member function 'void ptrlist::push_front(T*)': src/ptrlist.h:67:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_captainscabin_display.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_front()': src/ptrlist.h:84:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_captainscabin_display.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_back()': src/ptrlist.h:92:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_captainscabin_display.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::iterator::release() const': src/ptrlist.h:134:43: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_captainscabin_display.cpp:26:0: src/game.h: At global scope: src/game.h:204:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_captainscabin_display.cpp:26:0: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_captainscabin_display.h:26:0, from src/sub_captainscabin_display.cpp:28: src/user_display.h:54:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_captainscabin_display.h:26:0, from src/sub_captainscabin_display.cpp:28: src/user_display.h:83:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/sub_captainscabin_display.h:27, from src/sub_captainscabin_display.cpp:28: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/sub_captainscabin_display.h:27, from src/sub_captainscabin_display.cpp:28: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/sub_captainscabin_display.h:27, from src/sub_captainscabin_display.cpp:28: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/sub_captainscabin_display.h:27, from src/sub_captainscabin_display.cpp:28: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27:0, from src/submarine.h:26, from src/sub_captainscabin_display.h:27, from src/sub_captainscabin_display.cpp:28: src/sea_object.h:242:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // created from spec file, but data needs to be saved, [SAVE] ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/sub_captainscabin_display.h:27, from src/sub_captainscabin_display.cpp:28: src/bv_tree.h:80:35: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/sub_captainscabin_display.h:27, from src/sub_captainscabin_display.cpp:28: src/bv_tree.h:80:69: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/sub_captainscabin_display.h:27, from src/sub_captainscabin_display.cpp:28: src/bv_tree.h:81:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create(const std::vector& vertices, std::list& nodes); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/sub_captainscabin_display.h:27, from src/sub_captainscabin_display.cpp:28: src/bv_tree.h:100:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr children[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_captainscabin_display.cpp:28:0: src/sub_captainscabin_display.h:34:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/submarine_interface.h:30, from src/sub_captainscabin_display.cpp:31: src/coastmap.h:129:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31:0, from src/user_interface.h:33, from src/submarine_interface.h:30, from src/sub_captainscabin_display.cpp:31: src/height_generator.h:145:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sand_texture, mud_texture, forest_texture, ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33:0, from src/submarine_interface.h:30, from src/sub_captainscabin_display.cpp:31: src/geoclipmap.h:163:19: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] /*mutable*/ std::auto_ptr myshader[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_captainscabin_display.cpp:31: src/user_interface.h:60:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_captainscabin_display.cpp:31: src/user_interface.h:64:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_captainscabin_display.cpp:31: src/user_interface.h:68:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_captainscabin_display.cpp:31: src/user_interface.h:75:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_captainscabin_display.cpp:31: src/user_interface.h:99:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mysky; // the one and only sky ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_captainscabin_display.cpp:31: src/user_interface.h:102:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mygeoclipmap; // terrain rendering instance ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_captainscabin_display.cpp:31:0: src/submarine_interface.h:87:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torpedo_cam_view; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/sub_control_popup.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_control_popup.cpp In file included from src/image.h:30:0, from src/sub_control_popup.h:28, from src/sub_control_popup.cpp:23: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_control_popup.h:26, from src/sub_control_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30:0, from src/sub_control_popup.h:28, from src/sub_control_popup.cpp:23: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_control_popup.h:26, from src/sub_control_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31:0, from src/sub_control_popup.h:28, from src/sub_control_popup.cpp:23: src/texture.h: At global scope: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_control_popup.h:26, from src/sub_control_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_control_popup.cpp:23:0: src/sub_control_popup.h:33:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background_daylight; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_control_popup.h:26, from src/sub_control_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_control_popup.cpp:23:0: src/sub_control_popup.h:34:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background_nightlight; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_control_popup.h:26, from src/sub_control_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_control_popup.cpp:26: src/ptrlist.h:54:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_control_popup.h:26, from src/sub_control_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_control_popup.cpp:26: src/ptrlist.h:58:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_control_popup.h:26, from src/sub_control_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_control_popup.cpp:26: src/ptrlist.h:83:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_front() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_control_popup.h:26, from src/sub_control_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_control_popup.cpp:26: src/ptrlist.h:91:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_back() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_control_popup.h:26, from src/sub_control_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_control_popup.cpp:26: src/ptrlist.h:134:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_control_popup.h:26, from src/sub_control_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_control_popup.cpp:26: src/ptrlist.h: In member function 'void ptrlist::push_back(T*)': src/ptrlist.h:63:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_control_popup.h:26, from src/sub_control_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_control_popup.cpp:26: src/ptrlist.h: In member function 'void ptrlist::push_front(T*)': src/ptrlist.h:67:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_control_popup.h:26, from src/sub_control_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_control_popup.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_front()': src/ptrlist.h:84:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_control_popup.h:26, from src/sub_control_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_control_popup.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_back()': src/ptrlist.h:92:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_control_popup.h:26, from src/sub_control_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_control_popup.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::iterator::release() const': src/ptrlist.h:134:43: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_control_popup.h:26, from src/sub_control_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_control_popup.cpp:26:0: src/game.h: At global scope: src/game.h:204:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_control_popup.h:26, from src/sub_control_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_control_popup.cpp:26:0: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_control_popup.h:26, from src/sub_control_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/sub_ecard_popup.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_ecard_popup.cpp In file included from src/image.h:30:0, from src/sub_ecard_popup.h:28, from src/sub_ecard_popup.cpp:23: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_ecard_popup.h:26, from src/sub_ecard_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30:0, from src/sub_ecard_popup.h:28, from src/sub_ecard_popup.cpp:23: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_ecard_popup.h:26, from src/sub_ecard_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31:0, from src/sub_ecard_popup.h:28, from src/sub_ecard_popup.cpp:23: src/texture.h: At global scope: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_ecard_popup.h:26, from src/sub_ecard_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_ecard_popup.cpp:23:0: src/sub_ecard_popup.h:33:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background_daylight; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_ecard_popup.h:26, from src/sub_ecard_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_ecard_popup.cpp:23:0: src/sub_ecard_popup.h:34:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background_nightlight; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_ecard_popup.h:26, from src/sub_ecard_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_ecard_popup.cpp:26: src/ptrlist.h:54:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_ecard_popup.h:26, from src/sub_ecard_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_ecard_popup.cpp:26: src/ptrlist.h:58:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_ecard_popup.h:26, from src/sub_ecard_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_ecard_popup.cpp:26: src/ptrlist.h:83:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_front() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_ecard_popup.h:26, from src/sub_ecard_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_ecard_popup.cpp:26: src/ptrlist.h:91:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_back() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_ecard_popup.h:26, from src/sub_ecard_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_ecard_popup.cpp:26: src/ptrlist.h:134:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_ecard_popup.h:26, from src/sub_ecard_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_ecard_popup.cpp:26: src/ptrlist.h: In member function 'void ptrlist::push_back(T*)': src/ptrlist.h:63:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_ecard_popup.h:26, from src/sub_ecard_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_ecard_popup.cpp:26: src/ptrlist.h: In member function 'void ptrlist::push_front(T*)': src/ptrlist.h:67:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_ecard_popup.h:26, from src/sub_ecard_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_ecard_popup.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_front()': src/ptrlist.h:84:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_ecard_popup.h:26, from src/sub_ecard_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_ecard_popup.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_back()': src/ptrlist.h:92:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_ecard_popup.h:26, from src/sub_ecard_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_ecard_popup.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::iterator::release() const': src/ptrlist.h:134:43: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_ecard_popup.h:26, from src/sub_ecard_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_ecard_popup.cpp:26:0: src/game.h: At global scope: src/game.h:204:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_ecard_popup.h:26, from src/sub_ecard_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_ecard_popup.cpp:26:0: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_ecard_popup.h:26, from src/sub_ecard_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/sub_damage_display.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_damage_display.cpp In file included from src/font.h:30:0, from src/sub_damage_display.cpp:29: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/font.h:30:0, from src/sub_damage_display.cpp:29: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_display.h:28:0, from src/sub_damage_display.cpp:31: src/texture.h: At global scope: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_damage_display.cpp:31:0: src/user_display.h:54:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_damage_display.cpp:31:0: src/user_display.h:83:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/user_interface.h:29, from src/sub_damage_display.cpp:32: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/user_interface.h:29, from src/sub_damage_display.cpp:32: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/user_interface.h:29, from src/sub_damage_display.cpp:32: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/user_interface.h:29, from src/sub_damage_display.cpp:32: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:29:0, from src/sub_damage_display.cpp:32: src/sea_object.h:242:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // created from spec file, but data needs to be saved, [SAVE] ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/sub_damage_display.cpp:32: src/coastmap.h:129:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31:0, from src/user_interface.h:33, from src/sub_damage_display.cpp:32: src/height_generator.h:145:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sand_texture, mud_texture, forest_texture, ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33:0, from src/sub_damage_display.cpp:32: src/geoclipmap.h:163:19: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] /*mutable*/ std::auto_ptr myshader[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_damage_display.cpp:32:0: src/user_interface.h:60:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_damage_display.cpp:32:0: src/user_interface.h:64:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_damage_display.cpp:32:0: src/user_interface.h:68:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_damage_display.cpp:32:0: src/user_interface.h:75:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_damage_display.cpp:32:0: src/user_interface.h:99:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mysky; // the one and only sky ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_damage_display.cpp:32:0: src/user_interface.h:102:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mygeoclipmap; // terrain rendering instance ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/sub_damage_display.h:29, from src/sub_damage_display.cpp:33: src/bv_tree.h:80:35: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/sub_damage_display.h:29, from src/sub_damage_display.cpp:33: src/bv_tree.h:80:69: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/sub_damage_display.h:29, from src/sub_damage_display.cpp:33: src/bv_tree.h:81:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create(const std::vector& vertices, std::list& nodes); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/sub_damage_display.h:29, from src/sub_damage_display.cpp:33: src/bv_tree.h:100:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr children[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_damage_display.cpp:33:0: src/sub_damage_display.h:34:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr damage_screen_background; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_damage_display.cpp:33:0: src/sub_damage_display.h:35:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sub_damage_scheme_all; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_damage_display.cpp:35: src/ptrlist.h:54:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_damage_display.cpp:35: src/ptrlist.h:58:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_damage_display.cpp:35: src/ptrlist.h:83:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_front() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_damage_display.cpp:35: src/ptrlist.h:91:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_back() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_damage_display.cpp:35: src/ptrlist.h:134:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_damage_display.cpp:35: src/ptrlist.h: In member function 'void ptrlist::push_back(T*)': src/ptrlist.h:63:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_damage_display.cpp:35: src/ptrlist.h: In member function 'void ptrlist::push_front(T*)': src/ptrlist.h:67:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_damage_display.cpp:35: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_front()': src/ptrlist.h:84:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_damage_display.cpp:35: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_back()': src/ptrlist.h:92:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_damage_display.cpp:35: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::iterator::release() const': src/ptrlist.h:134:43: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_damage_display.cpp:35:0: src/game.h: At global scope: src/game.h:204:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_damage_display.cpp:35:0: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/sub_gauges_display.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_gauges_display.cpp In file included from src/image.h:30:0, from src/sub_gauges_display.cpp:24: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30:0, from src/sub_gauges_display.cpp:24: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31:0, from src/sub_gauges_display.cpp:24: src/texture.h: At global scope: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_gauges_display.cpp:26: src/ptrlist.h:54:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_gauges_display.cpp:26: src/ptrlist.h:58:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_gauges_display.cpp:26: src/ptrlist.h:83:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_front() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_gauges_display.cpp:26: src/ptrlist.h:91:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_back() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_gauges_display.cpp:26: src/ptrlist.h:134:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_gauges_display.cpp:26: src/ptrlist.h: In member function 'void ptrlist::push_back(T*)': src/ptrlist.h:63:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_gauges_display.cpp:26: src/ptrlist.h: In member function 'void ptrlist::push_front(T*)': src/ptrlist.h:67:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_gauges_display.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_front()': src/ptrlist.h:84:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_gauges_display.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_back()': src/ptrlist.h:92:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_gauges_display.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::iterator::release() const': src/ptrlist.h:134:43: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_display.cpp:26:0: src/game.h: At global scope: src/game.h:204:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_display.cpp:26:0: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/sub_gauges_display.cpp:27: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/sub_gauges_display.cpp:27: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/sub_gauges_display.cpp:27: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/sub_gauges_display.cpp:27: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27:0, from src/submarine.h:26, from src/sub_gauges_display.cpp:27: src/sea_object.h:242:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // created from spec file, but data needs to be saved, [SAVE] ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/sub_gauges_display.cpp:27: src/bv_tree.h:80:35: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/sub_gauges_display.cpp:27: src/bv_tree.h:80:69: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/sub_gauges_display.cpp:27: src/bv_tree.h:81:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create(const std::vector& vertices, std::list& nodes); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/sub_gauges_display.cpp:27: src/bv_tree.h:100:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr children[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_display.h:26:0, from src/sub_gauges_display.cpp:28: src/user_display.h:54:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_display.h:26:0, from src/sub_gauges_display.cpp:28: src/user_display.h:83:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_display.cpp:28:0: src/sub_gauges_display.h:46:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr controlscreen; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_display.cpp:28:0: src/sub_gauges_display.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr indicator_compass; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_display.cpp:28:0: src/sub_gauges_display.h:49:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr indicator_bow_depth_rudder; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_display.cpp:28:0: src/sub_gauges_display.h:50:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr indicator_stern_depth_rudder; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_display.cpp:28:0: src/sub_gauges_display.h:51:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr indicator_depth; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_display.cpp:28:0: src/sub_gauges_display.h:52:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr indicator_knots; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_display.cpp:28:0: src/sub_gauges_display.h:53:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr indicator_main_rudder; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_display.cpp:28:0: src/sub_gauges_display.h:54:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr indicator_mt; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/sub_gauges_display.cpp:29: src/coastmap.h:129:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31:0, from src/user_interface.h:33, from src/sub_gauges_display.cpp:29: src/height_generator.h:145:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sand_texture, mud_texture, forest_texture, ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33:0, from src/sub_gauges_display.cpp:29: src/geoclipmap.h:163:19: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] /*mutable*/ std::auto_ptr myshader[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_display.cpp:29:0: src/user_interface.h:60:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_display.cpp:29:0: src/user_interface.h:64:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_display.cpp:29:0: src/user_interface.h:68:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_display.cpp:29:0: src/user_interface.h:75:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_display.cpp:29:0: src/user_interface.h:99:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mysky; // the one and only sky ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_display.cpp:29:0: src/user_interface.h:102:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mygeoclipmap; // terrain rendering instance ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/sub_ghg_display.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_ghg_display.cpp In file included from src/user_display.h:28:0, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_ghg_display.h:26:0, from src/sub_ghg_display.cpp:23: src/user_display.h:54:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_ghg_display.h:26:0, from src/sub_ghg_display.cpp:23: src/user_display.h:83:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30:0, from src/sub_ghg_display.h:27, from src/sub_ghg_display.cpp:23: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30:0, from src/sub_ghg_display.h:27, from src/sub_ghg_display.cpp:23: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_ghg_display.cpp:23:0: src/sub_ghg_display.h: At global scope: src/sub_ghg_display.h:34:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_ghg_display.cpp:23:0: src/sub_ghg_display.h:53:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myscheme; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_ghg_display.cpp:27: src/ptrlist.h:54:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_ghg_display.cpp:27: src/ptrlist.h:58:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_ghg_display.cpp:27: src/ptrlist.h:83:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_front() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_ghg_display.cpp:27: src/ptrlist.h:91:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_back() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_ghg_display.cpp:27: src/ptrlist.h:134:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_ghg_display.cpp:27: src/ptrlist.h: In member function 'void ptrlist::push_back(T*)': src/ptrlist.h:63:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_ghg_display.cpp:27: src/ptrlist.h: In member function 'void ptrlist::push_front(T*)': src/ptrlist.h:67:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_ghg_display.cpp:27: src/ptrlist.h: In member function 'std::auto_ptr<_Up> ptrlist::release_front()': src/ptrlist.h:84:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_ghg_display.cpp:27: src/ptrlist.h: In member function 'std::auto_ptr<_Up> ptrlist::release_back()': src/ptrlist.h:92:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_ghg_display.cpp:27: src/ptrlist.h: In member function 'std::auto_ptr<_Up> ptrlist::iterator::release() const': src/ptrlist.h:134:43: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_ghg_display.cpp:27:0: src/game.h: At global scope: src/game.h:204:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_ghg_display.cpp:27:0: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_ghg_display.cpp:28: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_ghg_display.cpp:28: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_ghg_display.cpp:28: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_ghg_display.cpp:28: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27:0, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_ghg_display.cpp:28: src/sea_object.h:242:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // created from spec file, but data needs to be saved, [SAVE] ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_ghg_display.cpp:28: src/bv_tree.h:80:35: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_ghg_display.cpp:28: src/bv_tree.h:80:69: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_ghg_display.cpp:28: src/bv_tree.h:81:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create(const std::vector& vertices, std::list& nodes); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_ghg_display.cpp:28: src/bv_tree.h:100:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr children[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/submarine_interface.h:30, from src/sub_ghg_display.cpp:28: src/coastmap.h:129:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31:0, from src/user_interface.h:33, from src/submarine_interface.h:30, from src/sub_ghg_display.cpp:28: src/height_generator.h:145:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sand_texture, mud_texture, forest_texture, ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33:0, from src/submarine_interface.h:30, from src/sub_ghg_display.cpp:28: src/geoclipmap.h:163:19: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] /*mutable*/ std::auto_ptr myshader[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_ghg_display.cpp:28: src/user_interface.h:60:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_ghg_display.cpp:28: src/user_interface.h:64:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_ghg_display.cpp:28: src/user_interface.h:68:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_ghg_display.cpp:28: src/user_interface.h:75:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_ghg_display.cpp:28: src/user_interface.h:99:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mysky; // the one and only sky ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_ghg_display.cpp:28: src/user_interface.h:102:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mygeoclipmap; // terrain rendering instance ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_ghg_display.cpp:28:0: src/submarine_interface.h:87:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torpedo_cam_view; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/sub_ghg_display.cpp: In member function 'virtual void sub_ghg_display::process_input(game&, const SDL_Event&)': src/sub_ghg_display.cpp:59:14: warning: variable 'mb' set but not used [-Wunused-but-set-variable] int mx, my, mb; ^~ g++ -o build/linux/sub_kdb_display.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_kdb_display.cpp In file included from src/user_display.h:28:0, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_kdb_display.h:26:0, from src/sub_kdb_display.cpp:23: src/user_display.h:54:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_kdb_display.h:26:0, from src/sub_kdb_display.cpp:23: src/user_display.h:83:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30:0, from src/sub_kdb_display.h:27, from src/sub_kdb_display.cpp:23: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30:0, from src/sub_kdb_display.h:27, from src/sub_kdb_display.cpp:23: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_kdb_display.cpp:23:0: src/sub_kdb_display.h: At global scope: src/sub_kdb_display.h:35:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_kdb_display.cpp:23:0: src/sub_kdb_display.h:53:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myscheme; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_kdb_display.cpp:27: src/ptrlist.h:54:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_kdb_display.cpp:27: src/ptrlist.h:58:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_kdb_display.cpp:27: src/ptrlist.h:83:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_front() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_kdb_display.cpp:27: src/ptrlist.h:91:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_back() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_kdb_display.cpp:27: src/ptrlist.h:134:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_kdb_display.cpp:27: src/ptrlist.h: In member function 'void ptrlist::push_back(T*)': src/ptrlist.h:63:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_kdb_display.cpp:27: src/ptrlist.h: In member function 'void ptrlist::push_front(T*)': src/ptrlist.h:67:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_kdb_display.cpp:27: src/ptrlist.h: In member function 'std::auto_ptr<_Up> ptrlist::release_front()': src/ptrlist.h:84:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_kdb_display.cpp:27: src/ptrlist.h: In member function 'std::auto_ptr<_Up> ptrlist::release_back()': src/ptrlist.h:92:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_kdb_display.cpp:27: src/ptrlist.h: In member function 'std::auto_ptr<_Up> ptrlist::iterator::release() const': src/ptrlist.h:134:43: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_kdb_display.cpp:27:0: src/game.h: At global scope: src/game.h:204:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_kdb_display.cpp:27:0: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_kdb_display.cpp:28: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_kdb_display.cpp:28: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_kdb_display.cpp:28: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_kdb_display.cpp:28: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27:0, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_kdb_display.cpp:28: src/sea_object.h:242:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // created from spec file, but data needs to be saved, [SAVE] ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_kdb_display.cpp:28: src/bv_tree.h:80:35: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_kdb_display.cpp:28: src/bv_tree.h:80:69: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_kdb_display.cpp:28: src/bv_tree.h:81:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create(const std::vector& vertices, std::list& nodes); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_kdb_display.cpp:28: src/bv_tree.h:100:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr children[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/submarine_interface.h:30, from src/sub_kdb_display.cpp:28: src/coastmap.h:129:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31:0, from src/user_interface.h:33, from src/submarine_interface.h:30, from src/sub_kdb_display.cpp:28: src/height_generator.h:145:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sand_texture, mud_texture, forest_texture, ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33:0, from src/submarine_interface.h:30, from src/sub_kdb_display.cpp:28: src/geoclipmap.h:163:19: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] /*mutable*/ std::auto_ptr myshader[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_kdb_display.cpp:28: src/user_interface.h:60:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_kdb_display.cpp:28: src/user_interface.h:64:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_kdb_display.cpp:28: src/user_interface.h:68:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_kdb_display.cpp:28: src/user_interface.h:75:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_kdb_display.cpp:28: src/user_interface.h:99:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mysky; // the one and only sky ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_kdb_display.cpp:28: src/user_interface.h:102:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mygeoclipmap; // terrain rendering instance ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_kdb_display.cpp:28:0: src/submarine_interface.h:87:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torpedo_cam_view; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/sub_kdb_display.cpp: In member function 'virtual void sub_kdb_display::process_input(game&, const SDL_Event&)': src/sub_kdb_display.cpp:64:14: warning: variable 'mb' set but not used [-Wunused-but-set-variable] int mx, my, mb; ^~ src/sub_kdb_display.cpp: In member function 'virtual void sub_kdb_display::display(game&) const': src/sub_kdb_display.cpp:207:22: warning: variable 'nstr' set but not used [-Wunused-but-set-variable] pair nstr = gm.sonar_listen_ships(player, app_ang); ^~~~ g++ -o build/linux/sub_periscope_display.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_periscope_display.cpp In file included from src/image.h:30:0, from src/sub_periscope_display.cpp:24: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30:0, from src/sub_periscope_display.cpp:24: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31:0, from src/sub_periscope_display.cpp:24: src/texture.h: At global scope: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_periscope_display.cpp:26: src/ptrlist.h:54:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_periscope_display.cpp:26: src/ptrlist.h:58:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_periscope_display.cpp:26: src/ptrlist.h:83:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_front() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_periscope_display.cpp:26: src/ptrlist.h:91:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_back() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_periscope_display.cpp:26: src/ptrlist.h:134:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_periscope_display.cpp:26: src/ptrlist.h: In member function 'void ptrlist::push_back(T*)': src/ptrlist.h:63:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_periscope_display.cpp:26: src/ptrlist.h: In member function 'void ptrlist::push_front(T*)': src/ptrlist.h:67:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_periscope_display.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_front()': src/ptrlist.h:84:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_periscope_display.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_back()': src/ptrlist.h:92:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_periscope_display.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::iterator::release() const': src/ptrlist.h:134:43: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_periscope_display.cpp:26:0: src/game.h: At global scope: src/game.h:204:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_periscope_display.cpp:26:0: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.h:26:0, from src/sub_periscope_display.h:26, from src/sub_periscope_display.cpp:27: src/user_display.h:54:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.h:26:0, from src/sub_periscope_display.h:26, from src/sub_periscope_display.cpp:27: src/user_display.h:83:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_periscope_display.h:28:0, from src/sub_periscope_display.cpp:27: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_periscope_display.h:28:0, from src/sub_periscope_display.cpp:27: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_periscope_display.h:28:0, from src/sub_periscope_display.cpp:27: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_periscope_display.h:28:0, from src/sub_periscope_display.cpp:27: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_periscope_display.cpp:27:0: src/sub_periscope_display.h:38:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_periscope_display.cpp:27:0: src/sub_periscope_display.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr glsl_blurview; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27:0, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_periscope_display.cpp:28: src/sea_object.h:242:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // created from spec file, but data needs to be saved, [SAVE] ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_periscope_display.cpp:28: src/bv_tree.h:80:35: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_periscope_display.cpp:28: src/bv_tree.h:80:69: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_periscope_display.cpp:28: src/bv_tree.h:81:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create(const std::vector& vertices, std::list& nodes); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_periscope_display.cpp:28: src/bv_tree.h:100:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr children[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/submarine_interface.h:30, from src/sub_periscope_display.cpp:28: src/coastmap.h:129:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31:0, from src/user_interface.h:33, from src/submarine_interface.h:30, from src/sub_periscope_display.cpp:28: src/height_generator.h:145:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sand_texture, mud_texture, forest_texture, ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33:0, from src/submarine_interface.h:30, from src/sub_periscope_display.cpp:28: src/geoclipmap.h:163:19: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] /*mutable*/ std::auto_ptr myshader[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_periscope_display.cpp:28: src/user_interface.h:60:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_periscope_display.cpp:28: src/user_interface.h:64:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_periscope_display.cpp:28: src/user_interface.h:68:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_periscope_display.cpp:28: src/user_interface.h:75:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_periscope_display.cpp:28: src/user_interface.h:99:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mysky; // the one and only sky ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_periscope_display.cpp:28: src/user_interface.h:102:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mygeoclipmap; // terrain rendering instance ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_periscope_display.cpp:28:0: src/submarine_interface.h:87:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torpedo_cam_view; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/sub_recogmanual_display.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_recogmanual_display.cpp In file included from src/image.h:30:0, from src/sub_recogmanual_display.cpp:23: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30:0, from src/sub_recogmanual_display.cpp:23: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31:0, from src/sub_recogmanual_display.cpp:23: src/texture.h: At global scope: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_recogmanual_display.cpp:24: src/ptrlist.h:54:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_recogmanual_display.cpp:24: src/ptrlist.h:58:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_recogmanual_display.cpp:24: src/ptrlist.h:83:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_front() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_recogmanual_display.cpp:24: src/ptrlist.h:91:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_back() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_recogmanual_display.cpp:24: src/ptrlist.h:134:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_recogmanual_display.cpp:24: src/ptrlist.h: In member function 'void ptrlist::push_back(T*)': src/ptrlist.h:63:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_recogmanual_display.cpp:24: src/ptrlist.h: In member function 'void ptrlist::push_front(T*)': src/ptrlist.h:67:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_recogmanual_display.cpp:24: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_front()': src/ptrlist.h:84:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_recogmanual_display.cpp:24: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_back()': src/ptrlist.h:92:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_recogmanual_display.cpp:24: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::iterator::release() const': src/ptrlist.h:134:43: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_display.cpp:24:0: src/game.h: At global scope: src/game.h:204:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_display.cpp:24:0: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_display.h:26:0, from src/sub_recogmanual_display.cpp:26: src/user_display.h:54:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_display.h:26:0, from src/sub_recogmanual_display.cpp:26: src/user_display.h:83:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31:0, from src/widget.h:33, from src/sub_recogmanual_display.h:28, from src/sub_recogmanual_display.cpp:26: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31:0, from src/widget.h:33, from src/sub_recogmanual_display.h:28, from src/sub_recogmanual_display.cpp:26: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31:0, from src/widget.h:33, from src/sub_recogmanual_display.h:28, from src/sub_recogmanual_display.cpp:26: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31:0, from src/widget.h:33, from src/sub_recogmanual_display.h:28, from src/sub_recogmanual_display.cpp:26: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/widget.h:33, from src/sub_recogmanual_display.h:28, from src/sub_recogmanual_display.cpp:26: src/bv_tree.h:80:35: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/widget.h:33, from src/sub_recogmanual_display.h:28, from src/sub_recogmanual_display.cpp:26: src/bv_tree.h:80:69: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/widget.h:33, from src/sub_recogmanual_display.h:28, from src/sub_recogmanual_display.cpp:26: src/bv_tree.h:81:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create(const std::vector& vertices, std::list& nodes); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/widget.h:33, from src/sub_recogmanual_display.h:28, from src/sub_recogmanual_display.cpp:26: src/bv_tree.h:100:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr children[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/sub_recogmanual_display.h:28, from src/sub_recogmanual_display.cpp:26: src/model.h:48:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/sub_recogmanual_display.h:28, from src/sub_recogmanual_display.cpp:26: src/model.h:67:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mytexture; // default "skin", MUST BE SET! ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/sub_recogmanual_display.h:28, from src/sub_recogmanual_display.cpp:26: src/model.h:104:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr colormap; // replaces diffuse color if not defined. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/sub_recogmanual_display.h:28, from src/sub_recogmanual_display.cpp:26: src/model.h:105:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr normalmap; // should be of type RGB to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/sub_recogmanual_display.h:28, from src/sub_recogmanual_display.cpp:26: src/model.h:106:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr specularmap; // should be of type LUMINANCE to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/sub_recogmanual_display.h:28, from src/sub_recogmanual_display.cpp:26: src/model.h:141:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr texmaps[DFTD_MAX_TEXTURE_UNITS]; // up to DFTD_MAX_TEXTURE_UNITS texture units ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/sub_recogmanual_display.h:28, from src/sub_recogmanual_display.cpp:26: src/model.h:183:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/sub_recogmanual_display.h:28, from src/sub_recogmanual_display.cpp:26: src/model.h:283:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr bounding_volume_tree; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/sub_recogmanual_display.h:28, from src/sub_recogmanual_display.cpp:26: src/model.h:370:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_plastic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/sub_recogmanual_display.h:28, from src/sub_recogmanual_display.cpp:26: src/model.h:371:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/sub_recogmanual_display.h:28, from src/sub_recogmanual_display.cpp:26: src/model.h:372:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/sub_recogmanual_display.h:28, from src/sub_recogmanual_display.cpp:26: src/model.h:373:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/sub_recogmanual_display.h:28, from src/sub_recogmanual_display.cpp:26: src/model.h:374:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/sub_recogmanual_display.h:28, from src/sub_recogmanual_display.cpp:26: src/model.h:375:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/sub_recogmanual_display.h:28, from src/sub_recogmanual_display.cpp:26: src/model.h:376:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_display.h:28:0, from src/sub_recogmanual_display.cpp:26: src/widget.h:97:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr backg; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_display.h:28:0, from src/sub_recogmanual_display.cpp:26: src/widget.h:98:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr skbackg; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_display.h:28:0, from src/sub_recogmanual_display.cpp:26: src/widget.h:99:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr frame[8]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_display.h:28:0, from src/sub_recogmanual_display.cpp:26: src/widget.h:100:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr frameinv[8]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_display.h:28:0, from src/sub_recogmanual_display.cpp:26: src/widget.h:101:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr icons[4]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_display.h:28:0, from src/sub_recogmanual_display.cpp:26: src/widget.h:102:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sbarbackg; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_display.h:28:0, from src/sub_recogmanual_display.cpp:26: src/widget.h:103:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sbarsurf; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_display.h:28:0, from src/sub_recogmanual_display.cpp:26: src/widget.h:151:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr globaltheme; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_display.h:28:0, from src/sub_recogmanual_display.cpp:26: src/widget.h:171:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static void set_theme(std::auto_ptr t) { globaltheme = t; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_display.h:28:0, from src/sub_recogmanual_display.cpp:26: src/widget.h:173:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr replace_theme(std::auto_ptr t); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_display.h:28:0, from src/sub_recogmanual_display.cpp:26: src/widget.h:173:49: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr replace_theme(std::auto_ptr t); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_display.h:28:0, from src/sub_recogmanual_display.cpp:26: src/widget.h:237:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create_dialogue_ok(widget* parent_, const std::string& title, const std::string& text = "", int w = 0, int h = 0); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_display.h:28:0, from src/sub_recogmanual_display.cpp:26: src/widget.h:238:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr create_dialogue_ok(const std::string& title, const std::string& text = "", int w = 0, int h = 0) { return create_dialogue_ok(this, title, text, w, h); } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_display.h:28:0, from src/sub_recogmanual_display.cpp:26: src/widget.h:240:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create_dialogue_ok_cancel(widget* parent_, const std::string& title, const std::string& text = "", int w = 0, int h = 0); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_display.h:28:0, from src/sub_recogmanual_display.cpp:26: src/widget.h:241:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr create_dialogue_ok_cancel(const std::string& title, const std::string& text = "") { return create_dialogue_ok_cancel(this, title, text); } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_display.h:28:0, from src/sub_recogmanual_display.cpp:26: src/widget.h:528:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mdl; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_display.h:28:0, from src/sub_recogmanual_display.cpp:26: src/widget.h:543:49: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] widget_3dview(int x, int y, int w, int h, std::auto_ptr mdl, color bgcol, widget* parent_ = 0); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_display.h:28:0, from src/sub_recogmanual_display.cpp:26: src/widget.h:546:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_model(std::auto_ptr mdl_); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_display.cpp:26:0: src/sub_recogmanual_display.h:49:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27:0, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_recogmanual_display.cpp:27: src/sea_object.h:242:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // created from spec file, but data needs to be saved, [SAVE] ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/submarine_interface.h:30, from src/sub_recogmanual_display.cpp:27: src/coastmap.h:129:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31:0, from src/user_interface.h:33, from src/submarine_interface.h:30, from src/sub_recogmanual_display.cpp:27: src/height_generator.h:145:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sand_texture, mud_texture, forest_texture, ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33:0, from src/submarine_interface.h:30, from src/sub_recogmanual_display.cpp:27: src/geoclipmap.h:163:19: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] /*mutable*/ std::auto_ptr myshader[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_recogmanual_display.cpp:27: src/user_interface.h:60:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_recogmanual_display.cpp:27: src/user_interface.h:64:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_recogmanual_display.cpp:27: src/user_interface.h:68:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_recogmanual_display.cpp:27: src/user_interface.h:75:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_recogmanual_display.cpp:27: src/user_interface.h:99:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mysky; // the one and only sky ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_recogmanual_display.cpp:27: src/user_interface.h:102:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mygeoclipmap; // terrain rendering instance ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_display.cpp:27:0: src/submarine_interface.h:87:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torpedo_cam_view; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/sub_recogmanual_display.cpp: In member function 'virtual void sub_recogmanual_display::enter(bool)': src/sub_recogmanual_display.cpp:112:4: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr img(new image(data_file_handler::instance().get_path(*it) + (*it) + "_silhouette.png")); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/sub_recogmanual_display.cpp:119:28: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] displacements.push_back(auto_ptr(new string(elem.attr("displacement")))); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/sub_recogmanual_display.cpp:120:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] lengths.push_back(auto_ptr(new string(elem.attr("length")))); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/sub_recogmanual_display.cpp:121:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] classes.push_back(auto_ptr(new string(elem.attr("class")))); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/sub_recogmanual_display.cpp:122:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] weapons.push_back(auto_ptr(new string(elem.attr("weapons")))); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/sub_recogmanual_display.cpp:123:24: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] countries.push_back(auto_ptr(new string(elem.attr("countries")))); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/sub_soldbuch_display.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_soldbuch_display.cpp In file included from src/image.h:30:0, from src/sub_soldbuch_display.cpp:24: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30:0, from src/sub_soldbuch_display.cpp:24: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31:0, from src/sub_soldbuch_display.cpp:24: src/texture.h: At global scope: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_soldbuch_display.cpp:26: src/ptrlist.h:54:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_soldbuch_display.cpp:26: src/ptrlist.h:58:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_soldbuch_display.cpp:26: src/ptrlist.h:83:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_front() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_soldbuch_display.cpp:26: src/ptrlist.h:91:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_back() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_soldbuch_display.cpp:26: src/ptrlist.h:134:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_soldbuch_display.cpp:26: src/ptrlist.h: In member function 'void ptrlist::push_back(T*)': src/ptrlist.h:63:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_soldbuch_display.cpp:26: src/ptrlist.h: In member function 'void ptrlist::push_front(T*)': src/ptrlist.h:67:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_soldbuch_display.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_front()': src/ptrlist.h:84:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_soldbuch_display.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_back()': src/ptrlist.h:92:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_soldbuch_display.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::iterator::release() const': src/ptrlist.h:134:43: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_soldbuch_display.cpp:26:0: src/game.h: At global scope: src/game.h:204:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_soldbuch_display.cpp:26:0: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_soldbuch_display.h:26:0, from src/sub_soldbuch_display.cpp:28: src/user_display.h:54:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_soldbuch_display.h:26:0, from src/sub_soldbuch_display.cpp:28: src/user_display.h:83:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_soldbuch_display.cpp:28:0: src/sub_soldbuch_display.h:31:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_soldbuch_display.cpp:28:0: src/sub_soldbuch_display.h:32:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr player_photo; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_soldbuch_display.cpp:28:0: src/sub_soldbuch_display.h:33:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr primary_overlay; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_soldbuch_display.cpp:28:0: src/sub_soldbuch_display.h:34:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr stamps; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_soldbuch_display.cpp:30: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_soldbuch_display.cpp:30: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_soldbuch_display.cpp:30: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_soldbuch_display.cpp:30: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27:0, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_soldbuch_display.cpp:30: src/sea_object.h:242:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // created from spec file, but data needs to be saved, [SAVE] ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_soldbuch_display.cpp:30: src/bv_tree.h:80:35: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_soldbuch_display.cpp:30: src/bv_tree.h:80:69: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_soldbuch_display.cpp:30: src/bv_tree.h:81:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create(const std::vector& vertices, std::list& nodes); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_soldbuch_display.cpp:30: src/bv_tree.h:100:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr children[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/submarine_interface.h:30, from src/sub_soldbuch_display.cpp:30: src/coastmap.h:129:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31:0, from src/user_interface.h:33, from src/submarine_interface.h:30, from src/sub_soldbuch_display.cpp:30: src/height_generator.h:145:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sand_texture, mud_texture, forest_texture, ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33:0, from src/submarine_interface.h:30, from src/sub_soldbuch_display.cpp:30: src/geoclipmap.h:163:19: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] /*mutable*/ std::auto_ptr myshader[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_soldbuch_display.cpp:30: src/user_interface.h:60:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_soldbuch_display.cpp:30: src/user_interface.h:64:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_soldbuch_display.cpp:30: src/user_interface.h:68:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_soldbuch_display.cpp:30: src/user_interface.h:75:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_soldbuch_display.cpp:30: src/user_interface.h:99:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mysky; // the one and only sky ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_soldbuch_display.cpp:30: src/user_interface.h:102:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mygeoclipmap; // terrain rendering instance ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_soldbuch_display.cpp:30:0: src/submarine_interface.h:87:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torpedo_cam_view; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/sub_tdc_display.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_tdc_display.cpp In file included from src/image.h:30:0, from src/sub_tdc_display.cpp:24: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30:0, from src/sub_tdc_display.cpp:24: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31:0, from src/sub_tdc_display.cpp:24: src/texture.h: At global scope: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_tdc_display.cpp:26: src/ptrlist.h:54:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_tdc_display.cpp:26: src/ptrlist.h:58:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_tdc_display.cpp:26: src/ptrlist.h:83:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_front() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_tdc_display.cpp:26: src/ptrlist.h:91:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_back() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_tdc_display.cpp:26: src/ptrlist.h:134:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_tdc_display.cpp:26: src/ptrlist.h: In member function 'void ptrlist::push_back(T*)': src/ptrlist.h:63:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_tdc_display.cpp:26: src/ptrlist.h: In member function 'void ptrlist::push_front(T*)': src/ptrlist.h:67:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_tdc_display.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_front()': src/ptrlist.h:84:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_tdc_display.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_back()': src/ptrlist.h:92:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_tdc_display.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::iterator::release() const': src/ptrlist.h:134:43: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_tdc_display.cpp:26:0: src/game.h: At global scope: src/game.h:204:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_tdc_display.cpp:26:0: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_tdc_display.h:26:0, from src/sub_tdc_display.cpp:27: src/user_display.h:54:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_tdc_display.h:26:0, from src/sub_tdc_display.cpp:27: src/user_display.h:83:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_tdc_display.cpp:27:0: src/sub_tdc_display.h:34:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_tdc_display.cpp:27:0: src/sub_tdc_display.h:39:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr firesolution; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_tdc_display.cpp:27:0: src/sub_tdc_display.h:56:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_tdc_display.cpp:27:0: src/sub_tdc_display.h:78:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myscheme1; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_tdc_display.cpp:27:0: src/sub_tdc_display.h:79:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myscheme2; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_tdc_display.cpp:28: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_tdc_display.cpp:28: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_tdc_display.cpp:28: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_tdc_display.cpp:28: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27:0, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_tdc_display.cpp:28: src/sea_object.h:242:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // created from spec file, but data needs to be saved, [SAVE] ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_tdc_display.cpp:28: src/bv_tree.h:80:35: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_tdc_display.cpp:28: src/bv_tree.h:80:69: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_tdc_display.cpp:28: src/bv_tree.h:81:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create(const std::vector& vertices, std::list& nodes); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_tdc_display.cpp:28: src/bv_tree.h:100:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr children[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/submarine_interface.h:30, from src/sub_tdc_display.cpp:28: src/coastmap.h:129:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31:0, from src/user_interface.h:33, from src/submarine_interface.h:30, from src/sub_tdc_display.cpp:28: src/height_generator.h:145:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sand_texture, mud_texture, forest_texture, ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33:0, from src/submarine_interface.h:30, from src/sub_tdc_display.cpp:28: src/geoclipmap.h:163:19: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] /*mutable*/ std::auto_ptr myshader[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_tdc_display.cpp:28: src/user_interface.h:60:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_tdc_display.cpp:28: src/user_interface.h:64:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_tdc_display.cpp:28: src/user_interface.h:68:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_tdc_display.cpp:28: src/user_interface.h:75:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_tdc_display.cpp:28: src/user_interface.h:99:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mysky; // the one and only sky ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_tdc_display.cpp:28: src/user_interface.h:102:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mygeoclipmap; // terrain rendering instance ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_tdc_display.cpp:28:0: src/submarine_interface.h:87:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torpedo_cam_view; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/sub_tdc_popup.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_tdc_popup.cpp In file included from src/image.h:30:0, from src/sub_tdc_popup.h:28, from src/sub_tdc_popup.cpp:23: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_tdc_popup.h:26, from src/sub_tdc_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30:0, from src/sub_tdc_popup.h:28, from src/sub_tdc_popup.cpp:23: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_tdc_popup.h:26, from src/sub_tdc_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31:0, from src/sub_tdc_popup.h:28, from src/sub_tdc_popup.cpp:23: src/texture.h: At global scope: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_tdc_popup.h:26, from src/sub_tdc_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_tdc_popup.cpp:23:0: src/sub_tdc_popup.h:33:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background_daylight; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_tdc_popup.h:26, from src/sub_tdc_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_tdc_popup.cpp:23:0: src/sub_tdc_popup.h:34:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background_nightlight; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_tdc_popup.h:26, from src/sub_tdc_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_tdc_popup.cpp:26: src/ptrlist.h:54:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_tdc_popup.h:26, from src/sub_tdc_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_tdc_popup.cpp:26: src/ptrlist.h:58:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_tdc_popup.h:26, from src/sub_tdc_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_tdc_popup.cpp:26: src/ptrlist.h:83:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_front() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_tdc_popup.h:26, from src/sub_tdc_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_tdc_popup.cpp:26: src/ptrlist.h:91:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_back() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_tdc_popup.h:26, from src/sub_tdc_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_tdc_popup.cpp:26: src/ptrlist.h:134:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_tdc_popup.h:26, from src/sub_tdc_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_tdc_popup.cpp:26: src/ptrlist.h: In member function 'void ptrlist::push_back(T*)': src/ptrlist.h:63:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_tdc_popup.h:26, from src/sub_tdc_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_tdc_popup.cpp:26: src/ptrlist.h: In member function 'void ptrlist::push_front(T*)': src/ptrlist.h:67:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_tdc_popup.h:26, from src/sub_tdc_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_tdc_popup.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_front()': src/ptrlist.h:84:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_tdc_popup.h:26, from src/sub_tdc_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_tdc_popup.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_back()': src/ptrlist.h:92:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_tdc_popup.h:26, from src/sub_tdc_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_tdc_popup.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::iterator::release() const': src/ptrlist.h:134:43: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_tdc_popup.h:26, from src/sub_tdc_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_tdc_popup.cpp:26:0: src/game.h: At global scope: src/game.h:204:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_tdc_popup.h:26, from src/sub_tdc_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_tdc_popup.cpp:26:0: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/sub_tdc_popup.h:26, from src/sub_tdc_popup.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/sub_torpedo_display.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_torpedo_display.cpp In file included from src/image.h:30:0, from src/sub_torpedo_display.cpp:24: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30:0, from src/sub_torpedo_display.cpp:24: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31:0, from src/sub_torpedo_display.cpp:24: src/texture.h: At global scope: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_torpedo_display.cpp:26: src/ptrlist.h:54:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_torpedo_display.cpp:26: src/ptrlist.h:58:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_torpedo_display.cpp:26: src/ptrlist.h:83:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_front() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_torpedo_display.cpp:26: src/ptrlist.h:91:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_back() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_torpedo_display.cpp:26: src/ptrlist.h:134:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_torpedo_display.cpp:26: src/ptrlist.h: In member function 'void ptrlist::push_back(T*)': src/ptrlist.h:63:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_torpedo_display.cpp:26: src/ptrlist.h: In member function 'void ptrlist::push_front(T*)': src/ptrlist.h:67:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_torpedo_display.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_front()': src/ptrlist.h:84:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_torpedo_display.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_back()': src/ptrlist.h:92:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_torpedo_display.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::iterator::release() const': src/ptrlist.h:134:43: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:26:0: src/game.h: At global scope: src/game.h:204:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:26:0: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.h:26:0, from src/sub_torpedo_display.cpp:28: src/user_display.h:54:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.h:26:0, from src/sub_torpedo_display.cpp:28: src/user_display.h:83:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/sub_torpedo_display.h:27, from src/sub_torpedo_display.cpp:28: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/sub_torpedo_display.h:27, from src/sub_torpedo_display.cpp:28: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/sub_torpedo_display.h:27, from src/sub_torpedo_display.cpp:28: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/sub_torpedo_display.h:27, from src/sub_torpedo_display.cpp:28: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27:0, from src/submarine.h:26, from src/sub_torpedo_display.h:27, from src/sub_torpedo_display.cpp:28: src/sea_object.h:242:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // created from spec file, but data needs to be saved, [SAVE] ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/sub_torpedo_display.h:27, from src/sub_torpedo_display.cpp:28: src/bv_tree.h:80:35: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/sub_torpedo_display.h:27, from src/sub_torpedo_display.cpp:28: src/bv_tree.h:80:69: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/sub_torpedo_display.h:27, from src/sub_torpedo_display.cpp:28: src/bv_tree.h:81:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create(const std::vector& vertices, std::list& nodes); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/sub_torpedo_display.h:27, from src/sub_torpedo_display.cpp:28: src/bv_tree.h:100:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr children[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28:0: src/sub_torpedo_display.h:39:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torpempty; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28:0: src/sub_torpedo_display.h:40:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torpload; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28:0: src/sub_torpedo_display.h:41:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torpunload; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28:0: src/sub_torpedo_display.h:42:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torp1fat1; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28:0: src/sub_torpedo_display.h:43:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torp1lut1; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28:0: src/sub_torpedo_display.h:44:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torp1lut2; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28:0: src/sub_torpedo_display.h:45:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torp1; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28:0: src/sub_torpedo_display.h:46:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torp1practice; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28:0: src/sub_torpedo_display.h:47:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torp2; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28:0: src/sub_torpedo_display.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torp3afat2; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28:0: src/sub_torpedo_display.h:49:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torp3alut1; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28:0: src/sub_torpedo_display.h:50:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torp3alut2; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28:0: src/sub_torpedo_display.h:51:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torp3fat2; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28:0: src/sub_torpedo_display.h:52:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torp3; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28:0: src/sub_torpedo_display.h:53:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torp4; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28:0: src/sub_torpedo_display.h:54:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torp5b; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28:0: src/sub_torpedo_display.h:55:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torp5; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28:0: src/sub_torpedo_display.h:56:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torp6lut1; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28:0: src/sub_torpedo_display.h:58:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr submodelVIIc; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28:0: src/sub_torpedo_display.h:59:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28:0: src/sub_torpedo_display.h:60:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr subtopsideview; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/sub_torpedo_display.cpp:31: src/coastmap.h:129:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31:0, from src/user_interface.h:33, from src/sub_torpedo_display.cpp:31: src/height_generator.h:145:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sand_texture, mud_texture, forest_texture, ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33:0, from src/sub_torpedo_display.cpp:31: src/geoclipmap.h:163:19: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] /*mutable*/ std::auto_ptr myshader[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:31:0: src/user_interface.h:60:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:31:0: src/user_interface.h:64:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:31:0: src/user_interface.h:68:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:31:0: src/user_interface.h:75:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:31:0: src/user_interface.h:99:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mysky; // the one and only sky ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:31:0: src/user_interface.h:102:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mygeoclipmap; // terrain rendering instance ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/sub_torpsetup_display.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_torpsetup_display.cpp In file included from src/image.h:30:0, from src/sub_torpsetup_display.cpp:24: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30:0, from src/sub_torpsetup_display.cpp:24: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31:0, from src/sub_torpsetup_display.cpp:24: src/texture.h: At global scope: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_torpsetup_display.cpp:25: src/ptrlist.h:54:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_torpsetup_display.cpp:25: src/ptrlist.h:58:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_torpsetup_display.cpp:25: src/ptrlist.h:83:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_front() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_torpsetup_display.cpp:25: src/ptrlist.h:91:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_back() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_torpsetup_display.cpp:25: src/ptrlist.h:134:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_torpsetup_display.cpp:25: src/ptrlist.h: In member function 'void ptrlist::push_back(T*)': src/ptrlist.h:63:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_torpsetup_display.cpp:25: src/ptrlist.h: In member function 'void ptrlist::push_front(T*)': src/ptrlist.h:67:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_torpsetup_display.cpp:25: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_front()': src/ptrlist.h:84:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_torpsetup_display.cpp:25: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_back()': src/ptrlist.h:92:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_torpsetup_display.cpp:25: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::iterator::release() const': src/ptrlist.h:134:43: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpsetup_display.cpp:25:0: src/game.h: At global scope: src/game.h:204:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpsetup_display.cpp:25:0: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpsetup_display.h:26:0, from src/sub_torpsetup_display.cpp:26: src/user_display.h:54:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpsetup_display.h:26:0, from src/sub_torpsetup_display.cpp:26: src/user_display.h:83:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpsetup_display.cpp:26:0: src/sub_torpsetup_display.h:34:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpsetup_display.cpp:26:0: src/sub_torpsetup_display.h:43:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torpspeed[3]; // slow/medium/fast ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpsetup_display.cpp:26:0: src/sub_torpsetup_display.h:44:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr firstturn[2]; // left/right ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpsetup_display.cpp:26:0: src/sub_torpsetup_display.h:45:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr secondaryrange[2]; // short/long ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpsetup_display.cpp:26:0: src/sub_torpsetup_display.h:46:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr preheating[2]; // on/off ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpsetup_display.cpp:26:0: src/sub_torpsetup_display.h:47:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr temperaturescale; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpsetup_display.cpp:26:0: src/sub_torpsetup_display.h:51:27: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bool is_over(const std::auto_ptr& tex, const vector2i& pos, ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpsetup_display.cpp:26:0: src/sub_torpsetup_display.h:74:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myscheme; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_torpsetup_display.cpp:27: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_torpsetup_display.cpp:27: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_torpsetup_display.cpp:27: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_torpsetup_display.cpp:27: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27:0, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_torpsetup_display.cpp:27: src/sea_object.h:242:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // created from spec file, but data needs to be saved, [SAVE] ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_torpsetup_display.cpp:27: src/bv_tree.h:80:35: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_torpsetup_display.cpp:27: src/bv_tree.h:80:69: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_torpsetup_display.cpp:27: src/bv_tree.h:81:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create(const std::vector& vertices, std::list& nodes); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_torpsetup_display.cpp:27: src/bv_tree.h:100:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr children[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/submarine_interface.h:30, from src/sub_torpsetup_display.cpp:27: src/coastmap.h:129:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31:0, from src/user_interface.h:33, from src/submarine_interface.h:30, from src/sub_torpsetup_display.cpp:27: src/height_generator.h:145:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sand_texture, mud_texture, forest_texture, ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33:0, from src/submarine_interface.h:30, from src/sub_torpsetup_display.cpp:27: src/geoclipmap.h:163:19: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] /*mutable*/ std::auto_ptr myshader[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_torpsetup_display.cpp:27: src/user_interface.h:60:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_torpsetup_display.cpp:27: src/user_interface.h:64:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_torpsetup_display.cpp:27: src/user_interface.h:68:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_torpsetup_display.cpp:27: src/user_interface.h:75:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_torpsetup_display.cpp:27: src/user_interface.h:99:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mysky; // the one and only sky ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_torpsetup_display.cpp:27: src/user_interface.h:102:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mygeoclipmap; // terrain rendering instance ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpsetup_display.cpp:27:0: src/submarine_interface.h:87:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torpedo_cam_view; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/sub_torpsetup_display.cpp: In member function 'virtual void sub_torpsetup_display::process_input(game&, const SDL_Event&)': src/sub_torpsetup_display.cpp:107:14: warning: variable 'mb' set but not used [-Wunused-but-set-variable] int mx, my, mb; ^~ g++ -o build/linux/sub_uzo_display.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_uzo_display.cpp In file included from src/image.h:30:0, from src/sub_uzo_display.cpp:24: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30:0, from src/sub_uzo_display.cpp:24: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31:0, from src/sub_uzo_display.cpp:24: src/texture.h: At global scope: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_uzo_display.cpp:26: src/ptrlist.h:54:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_uzo_display.cpp:26: src/ptrlist.h:58:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_uzo_display.cpp:26: src/ptrlist.h:83:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_front() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_uzo_display.cpp:26: src/ptrlist.h:91:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_back() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_uzo_display.cpp:26: src/ptrlist.h:134:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_uzo_display.cpp:26: src/ptrlist.h: In member function 'void ptrlist::push_back(T*)': src/ptrlist.h:63:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_uzo_display.cpp:26: src/ptrlist.h: In member function 'void ptrlist::push_front(T*)': src/ptrlist.h:67:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_uzo_display.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_front()': src/ptrlist.h:84:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_uzo_display.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_back()': src/ptrlist.h:92:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_uzo_display.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::iterator::release() const': src/ptrlist.h:134:43: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_uzo_display.cpp:26:0: src/game.h: At global scope: src/game.h:204:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_uzo_display.cpp:26:0: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/sub_uzo_display.cpp:27: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/sub_uzo_display.cpp:27: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/sub_uzo_display.cpp:27: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/submarine.h:26, from src/sub_uzo_display.cpp:27: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27:0, from src/submarine.h:26, from src/sub_uzo_display.cpp:27: src/sea_object.h:242:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // created from spec file, but data needs to be saved, [SAVE] ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/sub_uzo_display.cpp:27: src/bv_tree.h:80:35: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/sub_uzo_display.cpp:27: src/bv_tree.h:80:69: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/sub_uzo_display.cpp:27: src/bv_tree.h:81:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create(const std::vector& vertices, std::list& nodes); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/submarine.h:26, from src/sub_uzo_display.cpp:27: src/bv_tree.h:100:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr children[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.h:26:0, from src/sub_uzo_display.h:26, from src/sub_uzo_display.cpp:28: src/user_display.h:54:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.h:26:0, from src/sub_uzo_display.h:26, from src/sub_uzo_display.cpp:28: src/user_display.h:83:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/submarine_interface.h:30, from src/sub_uzo_display.cpp:29: src/coastmap.h:129:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31:0, from src/user_interface.h:33, from src/submarine_interface.h:30, from src/sub_uzo_display.cpp:29: src/height_generator.h:145:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sand_texture, mud_texture, forest_texture, ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33:0, from src/submarine_interface.h:30, from src/sub_uzo_display.cpp:29: src/geoclipmap.h:163:19: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] /*mutable*/ std::auto_ptr myshader[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_uzo_display.cpp:29: src/user_interface.h:60:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_uzo_display.cpp:29: src/user_interface.h:64:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_uzo_display.cpp:29: src/user_interface.h:68:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_uzo_display.cpp:29: src/user_interface.h:75:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_uzo_display.cpp:29: src/user_interface.h:99:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mysky; // the one and only sky ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_uzo_display.cpp:29: src/user_interface.h:102:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mygeoclipmap; // terrain rendering instance ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_uzo_display.cpp:29:0: src/submarine_interface.h:87:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torpedo_cam_view; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/sub_valves_display.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_valves_display.cpp In file included from src/image.h:30:0, from src/sub_valves_display.h:24, from src/sub_valves_display.cpp:20: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_valves_display.h:24, from src/sub_valves_display.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30:0, from src/sub_valves_display.h:24, from src/sub_valves_display.cpp:20: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_valves_display.h:24, from src/sub_valves_display.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31:0, from src/sub_valves_display.h:24, from src/sub_valves_display.cpp:20: src/texture.h: At global scope: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_valves_display.h:24, from src/sub_valves_display.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_valves_display.h:25, from src/sub_valves_display.cpp:20: src/ptrlist.h:54:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_valves_display.h:24, from src/sub_valves_display.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_valves_display.h:25, from src/sub_valves_display.cpp:20: src/ptrlist.h:58:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_valves_display.h:24, from src/sub_valves_display.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_valves_display.h:25, from src/sub_valves_display.cpp:20: src/ptrlist.h:83:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_front() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_valves_display.h:24, from src/sub_valves_display.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_valves_display.h:25, from src/sub_valves_display.cpp:20: src/ptrlist.h:91:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_back() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_valves_display.h:24, from src/sub_valves_display.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_valves_display.h:25, from src/sub_valves_display.cpp:20: src/ptrlist.h:134:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_valves_display.h:24, from src/sub_valves_display.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_valves_display.h:25, from src/sub_valves_display.cpp:20: src/ptrlist.h: In member function 'void ptrlist::push_back(T*)': src/ptrlist.h:63:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_valves_display.h:24, from src/sub_valves_display.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_valves_display.h:25, from src/sub_valves_display.cpp:20: src/ptrlist.h: In member function 'void ptrlist::push_front(T*)': src/ptrlist.h:67:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_valves_display.h:24, from src/sub_valves_display.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_valves_display.h:25, from src/sub_valves_display.cpp:20: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_front()': src/ptrlist.h:84:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_valves_display.h:24, from src/sub_valves_display.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_valves_display.h:25, from src/sub_valves_display.cpp:20: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_back()': src/ptrlist.h:92:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_valves_display.h:24, from src/sub_valves_display.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_valves_display.h:25, from src/sub_valves_display.cpp:20: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::iterator::release() const': src/ptrlist.h:134:43: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_valves_display.h:24, from src/sub_valves_display.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_valves_display.h:25:0, from src/sub_valves_display.cpp:20: src/game.h: At global scope: src/game.h:204:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_valves_display.h:24, from src/sub_valves_display.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_valves_display.h:25:0, from src/sub_valves_display.cpp:20: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_valves_display.h:24, from src/sub_valves_display.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_valves_display.h:26:0, from src/sub_valves_display.cpp:20: src/user_display.h:54:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_valves_display.h:24, from src/sub_valves_display.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_valves_display.h:26:0, from src/sub_valves_display.cpp:20: src/user_display.h:83:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_valves_display.h:24, from src/sub_valves_display.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/user_interface.h:29, from src/sub_valves_display.h:27, from src/sub_valves_display.cpp:20: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_valves_display.h:24, from src/sub_valves_display.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/user_interface.h:29, from src/sub_valves_display.h:27, from src/sub_valves_display.cpp:20: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_valves_display.h:24, from src/sub_valves_display.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/user_interface.h:29, from src/sub_valves_display.h:27, from src/sub_valves_display.cpp:20: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_valves_display.h:24, from src/sub_valves_display.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/user_interface.h:29, from src/sub_valves_display.h:27, from src/sub_valves_display.cpp:20: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_valves_display.h:24, from src/sub_valves_display.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:29:0, from src/sub_valves_display.h:27, from src/sub_valves_display.cpp:20: src/sea_object.h:242:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // created from spec file, but data needs to be saved, [SAVE] ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_valves_display.h:24, from src/sub_valves_display.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/sub_valves_display.h:27, from src/sub_valves_display.cpp:20: src/coastmap.h:129:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_valves_display.h:24, from src/sub_valves_display.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31:0, from src/user_interface.h:33, from src/sub_valves_display.h:27, from src/sub_valves_display.cpp:20: src/height_generator.h:145:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sand_texture, mud_texture, forest_texture, ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_valves_display.h:24, from src/sub_valves_display.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33:0, from src/sub_valves_display.h:27, from src/sub_valves_display.cpp:20: src/geoclipmap.h:163:19: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] /*mutable*/ std::auto_ptr myshader[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_valves_display.h:24, from src/sub_valves_display.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_valves_display.h:27:0, from src/sub_valves_display.cpp:20: src/user_interface.h:60:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_valves_display.h:24, from src/sub_valves_display.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_valves_display.h:27:0, from src/sub_valves_display.cpp:20: src/user_interface.h:64:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_valves_display.h:24, from src/sub_valves_display.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_valves_display.h:27:0, from src/sub_valves_display.cpp:20: src/user_interface.h:68:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_valves_display.h:24, from src/sub_valves_display.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_valves_display.h:27:0, from src/sub_valves_display.cpp:20: src/user_interface.h:75:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_valves_display.h:24, from src/sub_valves_display.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_valves_display.h:27:0, from src/sub_valves_display.cpp:20: src/user_interface.h:99:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mysky; // the one and only sky ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_valves_display.h:24, from src/sub_valves_display.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_valves_display.h:27:0, from src/sub_valves_display.cpp:20: src/user_interface.h:102:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mygeoclipmap; // terrain rendering instance ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_valves_display.h:24, from src/sub_valves_display.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_valves_display.cpp:20:0: src/sub_valves_display.h:33:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_valves_display.h:24, from src/sub_valves_display.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/tdc.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/tdc.cpp g++ -o build/linux/texts.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/texts.cpp src/texts.cpp:42:1: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr texts_singleton_handler; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/global_data.h:60, from src/texts.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/tone_reproductor.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/tone_reproductor.cpp g++ -o build/linux/torpedo.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/torpedo.cpp In file included from src/sea_object.h:27:0, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.h:27:0, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: src/shader.h: At global scope: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27:0, from src/torpedo.h:26, from src/torpedo.cpp:23: src/sea_object.h:242:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // created from spec file, but data needs to be saved, [SAVE] ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/torpedo.h:26, from src/torpedo.cpp:23: src/bv_tree.h:80:35: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/torpedo.h:26, from src/torpedo.cpp:23: src/bv_tree.h:80:69: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/torpedo.h:26, from src/torpedo.cpp:23: src/bv_tree.h:81:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create(const std::vector& vertices, std::list& nodes); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/torpedo.h:26, from src/torpedo.cpp:23: src/bv_tree.h:100:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr children[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:29:0, from src/torpedo.cpp:25: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo.cpp:25:0: src/model.h:48:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo.cpp:25:0: src/model.h:67:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mytexture; // default "skin", MUST BE SET! ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo.cpp:25:0: src/model.h:104:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr colormap; // replaces diffuse color if not defined. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo.cpp:25:0: src/model.h:105:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr normalmap; // should be of type RGB to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo.cpp:25:0: src/model.h:106:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr specularmap; // should be of type LUMINANCE to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo.cpp:25:0: src/model.h:141:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr texmaps[DFTD_MAX_TEXTURE_UNITS]; // up to DFTD_MAX_TEXTURE_UNITS texture units ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo.cpp:25:0: src/model.h:183:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo.cpp:25:0: src/model.h:283:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr bounding_volume_tree; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo.cpp:25:0: src/model.h:370:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_plastic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo.cpp:25:0: src/model.h:371:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo.cpp:25:0: src/model.h:372:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo.cpp:25:0: src/model.h:373:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo.cpp:25:0: src/model.h:374:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo.cpp:25:0: src/model.h:375:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo.cpp:25:0: src/model.h:376:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/torpedo.cpp:27: src/ptrlist.h:54:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/torpedo.cpp:27: src/ptrlist.h:58:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/torpedo.cpp:27: src/ptrlist.h:83:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_front() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/torpedo.cpp:27: src/ptrlist.h:91:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_back() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/torpedo.cpp:27: src/ptrlist.h:134:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/torpedo.cpp:27: src/ptrlist.h: In member function 'void ptrlist::push_back(T*)': src/ptrlist.h:63:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/torpedo.cpp:27: src/ptrlist.h: In member function 'void ptrlist::push_front(T*)': src/ptrlist.h:67:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/torpedo.cpp:27: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_front()': src/ptrlist.h:84:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/torpedo.cpp:27: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_back()': src/ptrlist.h:92:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/torpedo.cpp:27: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::iterator::release() const': src/ptrlist.h:134:43: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo.cpp:27:0: src/game.h: At global scope: src/game.h:204:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo.cpp:27:0: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/torpedo_camera_display.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/torpedo_camera_display.cpp In file included from src/image.h:30:0, from src/torpedo_camera_display.cpp:24: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30:0, from src/torpedo_camera_display.cpp:24: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31:0, from src/torpedo_camera_display.cpp:24: src/texture.h: At global scope: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/torpedo_camera_display.cpp:26: src/ptrlist.h:54:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/torpedo_camera_display.cpp:26: src/ptrlist.h:58:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/torpedo_camera_display.cpp:26: src/ptrlist.h:83:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_front() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/torpedo_camera_display.cpp:26: src/ptrlist.h:91:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_back() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/torpedo_camera_display.cpp:26: src/ptrlist.h:134:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/torpedo_camera_display.cpp:26: src/ptrlist.h: In member function 'void ptrlist::push_back(T*)': src/ptrlist.h:63:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/torpedo_camera_display.cpp:26: src/ptrlist.h: In member function 'void ptrlist::push_front(T*)': src/ptrlist.h:67:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/torpedo_camera_display.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_front()': src/ptrlist.h:84:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/torpedo_camera_display.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_back()': src/ptrlist.h:92:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/torpedo_camera_display.cpp:26: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::iterator::release() const': src/ptrlist.h:134:43: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo_camera_display.cpp:26:0: src/game.h: At global scope: src/game.h:204:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo_camera_display.cpp:26:0: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo_camera_display.cpp:27: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo_camera_display.cpp:27: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo_camera_display.cpp:27: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo_camera_display.cpp:27: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27:0, from src/torpedo.h:26, from src/torpedo_camera_display.cpp:27: src/sea_object.h:242:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // created from spec file, but data needs to be saved, [SAVE] ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/torpedo.h:26, from src/torpedo_camera_display.cpp:27: src/bv_tree.h:80:35: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/torpedo.h:26, from src/torpedo_camera_display.cpp:27: src/bv_tree.h:80:69: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/torpedo.h:26, from src/torpedo_camera_display.cpp:27: src/bv_tree.h:81:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create(const std::vector& vertices, std::list& nodes); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/torpedo.h:26, from src/torpedo_camera_display.cpp:27: src/bv_tree.h:100:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr children[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.h:26:0, from src/torpedo_camera_display.h:26, from src/torpedo_camera_display.cpp:28: src/user_display.h:54:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.h:26:0, from src/torpedo_camera_display.h:26, from src/torpedo_camera_display.cpp:28: src/user_display.h:83:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/submarine_interface.h:30, from src/torpedo_camera_display.cpp:29: src/coastmap.h:129:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31:0, from src/user_interface.h:33, from src/submarine_interface.h:30, from src/torpedo_camera_display.cpp:29: src/height_generator.h:145:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sand_texture, mud_texture, forest_texture, ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33:0, from src/submarine_interface.h:30, from src/torpedo_camera_display.cpp:29: src/geoclipmap.h:163:19: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] /*mutable*/ std::auto_ptr myshader[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/torpedo_camera_display.cpp:29: src/user_interface.h:60:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/torpedo_camera_display.cpp:29: src/user_interface.h:64:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/torpedo_camera_display.cpp:29: src/user_interface.h:68:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/torpedo_camera_display.cpp:29: src/user_interface.h:75:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/torpedo_camera_display.cpp:29: src/user_interface.h:99:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mysky; // the one and only sky ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/torpedo_camera_display.cpp:29: src/user_interface.h:102:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mygeoclipmap; // terrain rendering instance ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo_camera_display.cpp:29:0: src/submarine_interface.h:87:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torpedo_cam_view; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/triangulate.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/triangulate.cpp g++ -o build/linux/user_interface.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/user_interface.cpp In file included from src/sea_object.h:27:0, from src/user_interface.h:29, from src/user_interface.cpp:35: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.h:27:0, from src/user_interface.h:29, from src/user_interface.cpp:35: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/user_interface.h:29, from src/user_interface.cpp:35: src/shader.h: At global scope: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/user_interface.h:29, from src/user_interface.cpp:35: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/user_interface.h:29, from src/user_interface.cpp:35: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/user_interface.h:29, from src/user_interface.cpp:35: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:29:0, from src/user_interface.cpp:35: src/sea_object.h:242:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // created from spec file, but data needs to be saved, [SAVE] ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.h:29:0, from src/user_interface.h:31, from src/user_interface.cpp:35: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/user_interface.cpp:35: src/coastmap.h:129:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31:0, from src/user_interface.h:33, from src/user_interface.cpp:35: src/height_generator.h:145:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sand_texture, mud_texture, forest_texture, ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33:0, from src/user_interface.cpp:35: src/geoclipmap.h:163:19: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] /*mutable*/ std::auto_ptr myshader[2]; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:35:0, from src/user_interface.cpp:35: src/user_display.h:54:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:35:0, from src/user_interface.cpp:35: src/user_display.h:83:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:35:0: src/user_interface.h:60:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:35:0: src/user_interface.h:64:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:35:0: src/user_interface.h:68:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:35:0: src/user_interface.h:75:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:35:0: src/user_interface.h:99:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mysky; // the one and only sky ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:35:0: src/user_interface.h:102:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mygeoclipmap; // terrain rendering instance ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/user_interface.cpp:37: src/ptrlist.h:54:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/user_interface.cpp:37: src/ptrlist.h:58:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/user_interface.cpp:37: src/ptrlist.h:83:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_front() { ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/user_interface.cpp:37: src/ptrlist.h:91:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_back() { ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/user_interface.cpp:37: src/ptrlist.h:134:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/user_interface.cpp:37: src/ptrlist.h: In member function 'void ptrlist::push_back(T*)': src/ptrlist.h:63:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/user_interface.cpp:37: src/ptrlist.h: In member function 'void ptrlist::push_front(T*)': src/ptrlist.h:67:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/user_interface.cpp:37: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_front()': src/ptrlist.h:84:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/user_interface.cpp:37: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_back()': src/ptrlist.h:92:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/user_interface.cpp:37: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::iterator::release() const': src/ptrlist.h:134:43: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:37:0: src/game.h: At global scope: src/game.h:204:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:37:0: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/user_interface.cpp:39: src/bv_tree.h:80:35: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/user_interface.cpp:39: src/bv_tree.h:80:69: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/user_interface.cpp:39: src/bv_tree.h:81:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create(const std::vector& vertices, std::list& nodes); ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/user_interface.cpp:39: src/bv_tree.h:100:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr children[2]; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:39:0: src/model.h:48:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:39:0: src/model.h:67:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mytexture; // default "skin", MUST BE SET! ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:39:0: src/model.h:104:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr colormap; // replaces diffuse color if not defined. ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:39:0: src/model.h:105:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr normalmap; // should be of type RGB to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:39:0: src/model.h:106:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr specularmap; // should be of type LUMINANCE to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:39:0: src/model.h:141:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr texmaps[DFTD_MAX_TEXTURE_UNITS]; // up to DFTD_MAX_TEXTURE_UNITS texture units ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:39:0: src/model.h:183:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:39:0: src/model.h:283:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr bounding_volume_tree; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:39:0: src/model.h:370:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_plastic; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:39:0: src/model.h:371:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:39:0: src/model.h:372:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:39:0: src/model.h:373:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:39:0: src/model.h:374:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:39:0: src/model.h:375:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:39:0: src/model.h:376:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44:0: src/widget.h:97:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr backg; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44:0: src/widget.h:98:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr skbackg; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44:0: src/widget.h:99:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr frame[8]; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44:0: src/widget.h:100:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr frameinv[8]; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44:0: src/widget.h:101:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr icons[4]; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44:0: src/widget.h:102:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sbarbackg; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44:0: src/widget.h:103:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sbarsurf; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44:0: src/widget.h:151:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr globaltheme; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44:0: src/widget.h:171:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static void set_theme(std::auto_ptr t) { globaltheme = t; } ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44:0: src/widget.h:173:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr replace_theme(std::auto_ptr t); ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44:0: src/widget.h:173:49: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr replace_theme(std::auto_ptr t); ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44:0: src/widget.h:237:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create_dialogue_ok(widget* parent_, const std::string& title, const std::string& text = "", int w = 0, int h = 0); ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44:0: src/widget.h:238:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr create_dialogue_ok(const std::string& title, const std::string& text = "", int w = 0, int h = 0) { return create_dialogue_ok(this, title, text, w, h); } ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44:0: src/widget.h:240:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create_dialogue_ok_cancel(widget* parent_, const std::string& title, const std::string& text = "", int w = 0, int h = 0); ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44:0: src/widget.h:241:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr create_dialogue_ok_cancel(const std::string& title, const std::string& text = "") { return create_dialogue_ok_cancel(this, title, text); } ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44:0: src/widget.h:528:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mdl; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44:0: src/widget.h:543:49: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] widget_3dview(int x, int y, int w, int h, std::auto_ptr mdl, color bgcol, widget* parent_ = 0); ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44:0: src/widget.h:546:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_model(std::auto_ptr mdl_); ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:45:0: src/submarine_interface.h:87:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr torpedo_cam_view; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:35:0, from src/user_interface.cpp:49: src/moon.h:35:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr glsl_moon; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:49:0: src/sky.h:81:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr glsl_clouds; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:51:0: src/water.h:56:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr reflectiontex; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:51:0: src/water.h:57:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr foamtex; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:51:0: src/water.h:58:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr foamamounttex; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:51:0: src/water.h:59:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr foamamounttrail; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:51:0: src/water.h:60:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr foamperimetertex; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:51:0: src/water.h:61:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fresnelcolortex; // texture for fresnel values and water color ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:51:0: src/water.h:63:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr reflectiontex_fbo; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:51:0: src/water.h:64:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr foamamounttex_fbo; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:51:0: src/water.h:66:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr waterspecularlookup; // lookup 1d texture map for water specular term ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:51:0: src/water.h:120:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr water_bumpmap; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:51:0: src/water.h:126:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr glsl_water; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:51:0: src/water.h:127:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr glsl_under_water; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/music.h:37:0, from src/user_interface.cpp:56: src/message_queue.h:34:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/user_interface.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/caustics.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/caustics.cpp In file included from src/caustics.h:31:0, from src/caustics.cpp:30: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/caustics.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/caustics.h:31:0, from src/caustics.cpp:30: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/caustics.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/caustics.h:32:0, from src/caustics.cpp:30: src/texture.h: At global scope: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/caustics.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/caustics.cpp: In constructor 'caustics::caustics()': src/caustics.cpp:51:30: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] texture_pointers.push_back(auto_ptr( new texture(get_texture_dir()+filename.str(), texture::LINEAR) )); ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from src/caustics.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/water.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/water.cpp In file included from src/water.h:36:0, from src/water.cpp:32: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.h:27:0, from src/ship.h:27, from src/water.h:38, from src/water.cpp:32: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.h:27:0, from src/ship.h:27, from src/water.h:38, from src/water.cpp:32: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/water.h:38, from src/water.cpp:32: src/shader.h: At global scope: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/water.h:38, from src/water.cpp:32: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/water.h:38, from src/water.cpp:32: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/ship.h:27, from src/water.h:38, from src/water.cpp:32: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27:0, from src/water.h:38, from src/water.cpp:32: src/sea_object.h:242:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // created from spec file, but data needs to be saved, [SAVE] ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/water.h:38, from src/water.cpp:32: src/bv_tree.h:80:35: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/water.h:38, from src/water.cpp:32: src/bv_tree.h:80:69: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/water.h:38, from src/water.cpp:32: src/bv_tree.h:81:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create(const std::vector& vertices, std::list& nodes); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28:0, from src/water.h:38, from src/water.cpp:32: src/bv_tree.h:100:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr children[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water.cpp:32:0: src/water.h:56:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr reflectiontex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water.cpp:32:0: src/water.h:57:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr foamtex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water.cpp:32:0: src/water.h:58:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr foamamounttex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water.cpp:32:0: src/water.h:59:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr foamamounttrail; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water.cpp:32:0: src/water.h:60:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr foamperimetertex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water.cpp:32:0: src/water.h:61:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fresnelcolortex; // texture for fresnel values and water color ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water.cpp:32:0: src/water.h:63:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr reflectiontex_fbo; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water.cpp:32:0: src/water.h:64:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr foamamounttex_fbo; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water.cpp:32:0: src/water.h:66:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr waterspecularlookup; // lookup 1d texture map for water specular term ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water.cpp:32:0: src/water.h:120:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr water_bumpmap; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water.cpp:32:0: src/water.h:126:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr glsl_water; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water.cpp:32:0: src/water.h:127:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr glsl_under_water; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/water.cpp:38: src/ptrlist.h:54:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/water.cpp:38: src/ptrlist.h:58:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/water.cpp:38: src/ptrlist.h:83:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_front() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/water.cpp:38: src/ptrlist.h:91:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_back() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/water.cpp:38: src/ptrlist.h:134:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/water.cpp:38: src/ptrlist.h: In member function 'void ptrlist::push_back(T*)': src/ptrlist.h:63:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/water.cpp:38: src/ptrlist.h: In member function 'void ptrlist::push_front(T*)': src/ptrlist.h:67:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/water.cpp:38: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_front()': src/ptrlist.h:84:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/water.cpp:38: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_back()': src/ptrlist.h:92:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/water.cpp:38: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::iterator::release() const': src/ptrlist.h:134:43: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water.cpp:38:0: src/game.h: At global scope: src/game.h:204:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water.cpp:38:0: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/water_splash.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/water_splash.cpp In file included from src/sea_object.h:27:0, from src/water_splash.h:25, from src/water_splash.cpp:22: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.h:27:0, from src/water_splash.h:25, from src/water_splash.cpp:22: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/water_splash.h:25, from src/water_splash.cpp:22: src/shader.h: At global scope: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/water_splash.h:25, from src/water_splash.cpp:22: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/water_splash.h:25, from src/water_splash.cpp:22: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/sea_object.h:35, from src/water_splash.h:25, from src/water_splash.cpp:22: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water_splash.h:25:0, from src/water_splash.cpp:22: src/sea_object.h:242:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // created from spec file, but data needs to be saved, [SAVE] ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water_splash.cpp:22:0: src/water_splash.h:41:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr bradius_top; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water_splash.cpp:22:0: src/water_splash.h:42:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr bradius_bottom; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water_splash.cpp:22:0: src/water_splash.h:43:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr balpha; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water_splash.cpp:24:0: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/water_splash.cpp:25: src/ptrlist.h:54:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/water_splash.cpp:25: src/ptrlist.h:58:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/water_splash.cpp:25: src/ptrlist.h:83:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_front() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/water_splash.cpp:25: src/ptrlist.h:91:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_back() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/water_splash.cpp:25: src/ptrlist.h:134:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/water_splash.cpp:25: src/ptrlist.h: In member function 'void ptrlist::push_back(T*)': src/ptrlist.h:63:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/water_splash.cpp:25: src/ptrlist.h: In member function 'void ptrlist::push_front(T*)': src/ptrlist.h:67:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/water_splash.cpp:25: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_front()': src/ptrlist.h:84:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/water_splash.cpp:25: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_back()': src/ptrlist.h:92:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/water_splash.cpp:25: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::iterator::release() const': src/ptrlist.h:134:43: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water_splash.cpp:25:0: src/game.h: At global scope: src/game.h:204:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water_splash.cpp:25:0: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/dftdtester/tests.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/dftdtester/tests.cpp g++ -o build/linux/sub_recogmanual_popup.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_recogmanual_popup.cpp In file included from src/image.h:30:0, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30:0, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31:0, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: src/texture.h: At global scope: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_recogmanual_popup.h:26, from src/sub_recogmanual_popup.cpp:20: src/ptrlist.h:54:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_recogmanual_popup.h:26, from src/sub_recogmanual_popup.cpp:20: src/ptrlist.h:58:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_recogmanual_popup.h:26, from src/sub_recogmanual_popup.cpp:20: src/ptrlist.h:83:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_front() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_recogmanual_popup.h:26, from src/sub_recogmanual_popup.cpp:20: src/ptrlist.h:91:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release_back() { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_recogmanual_popup.h:26, from src/sub_recogmanual_popup.cpp:20: src/ptrlist.h:134:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_recogmanual_popup.h:26, from src/sub_recogmanual_popup.cpp:20: src/ptrlist.h: In member function 'void ptrlist::push_back(T*)': src/ptrlist.h:63:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_recogmanual_popup.h:26, from src/sub_recogmanual_popup.cpp:20: src/ptrlist.h: In member function 'void ptrlist::push_front(T*)': src/ptrlist.h:67:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_recogmanual_popup.h:26, from src/sub_recogmanual_popup.cpp:20: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_front()': src/ptrlist.h:84:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_recogmanual_popup.h:26, from src/sub_recogmanual_popup.cpp:20: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::release_back()': src/ptrlist.h:92:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69:0, from src/sub_recogmanual_popup.h:26, from src/sub_recogmanual_popup.cpp:20: src/ptrlist.h: In member function 'std::auto_ptr ptrlist::iterator::release() const': src/ptrlist.h:134:43: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr release() const { std::auto_ptr result(*it); *it = 0; return result; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_popup.h:26:0, from src/sub_recogmanual_popup.cpp:20: src/game.h: At global scope: src/game.h:204:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_popup.h:26:0, from src/sub_recogmanual_popup.cpp:20: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31:0, from src/widget.h:33, from src/sub_recogmanual_popup.h:28, from src/sub_recogmanual_popup.cpp:20: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31:0, from src/widget.h:33, from src/sub_recogmanual_popup.h:28, from src/sub_recogmanual_popup.cpp:20: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31:0, from src/widget.h:33, from src/sub_recogmanual_popup.h:28, from src/sub_recogmanual_popup.cpp:20: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31:0, from src/widget.h:33, from src/sub_recogmanual_popup.h:28, from src/sub_recogmanual_popup.cpp:20: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/widget.h:33, from src/sub_recogmanual_popup.h:28, from src/sub_recogmanual_popup.cpp:20: src/bv_tree.h:80:35: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/widget.h:33, from src/sub_recogmanual_popup.h:28, from src/sub_recogmanual_popup.cpp:20: src/bv_tree.h:80:69: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/widget.h:33, from src/sub_recogmanual_popup.h:28, from src/sub_recogmanual_popup.cpp:20: src/bv_tree.h:81:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create(const std::vector& vertices, std::list& nodes); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/widget.h:33, from src/sub_recogmanual_popup.h:28, from src/sub_recogmanual_popup.cpp:20: src/bv_tree.h:100:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr children[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/sub_recogmanual_popup.h:28, from src/sub_recogmanual_popup.cpp:20: src/model.h:48:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/sub_recogmanual_popup.h:28, from src/sub_recogmanual_popup.cpp:20: src/model.h:67:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mytexture; // default "skin", MUST BE SET! ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/sub_recogmanual_popup.h:28, from src/sub_recogmanual_popup.cpp:20: src/model.h:104:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr colormap; // replaces diffuse color if not defined. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/sub_recogmanual_popup.h:28, from src/sub_recogmanual_popup.cpp:20: src/model.h:105:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr normalmap; // should be of type RGB to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/sub_recogmanual_popup.h:28, from src/sub_recogmanual_popup.cpp:20: src/model.h:106:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr specularmap; // should be of type LUMINANCE to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/sub_recogmanual_popup.h:28, from src/sub_recogmanual_popup.cpp:20: src/model.h:141:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr texmaps[DFTD_MAX_TEXTURE_UNITS]; // up to DFTD_MAX_TEXTURE_UNITS texture units ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/sub_recogmanual_popup.h:28, from src/sub_recogmanual_popup.cpp:20: src/model.h:183:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/sub_recogmanual_popup.h:28, from src/sub_recogmanual_popup.cpp:20: src/model.h:283:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr bounding_volume_tree; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/sub_recogmanual_popup.h:28, from src/sub_recogmanual_popup.cpp:20: src/model.h:370:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_plastic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/sub_recogmanual_popup.h:28, from src/sub_recogmanual_popup.cpp:20: src/model.h:371:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/sub_recogmanual_popup.h:28, from src/sub_recogmanual_popup.cpp:20: src/model.h:372:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/sub_recogmanual_popup.h:28, from src/sub_recogmanual_popup.cpp:20: src/model.h:373:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/sub_recogmanual_popup.h:28, from src/sub_recogmanual_popup.cpp:20: src/model.h:374:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/sub_recogmanual_popup.h:28, from src/sub_recogmanual_popup.cpp:20: src/model.h:375:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/sub_recogmanual_popup.h:28, from src/sub_recogmanual_popup.cpp:20: src/model.h:376:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_popup.h:28:0, from src/sub_recogmanual_popup.cpp:20: src/widget.h:97:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr backg; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_popup.h:28:0, from src/sub_recogmanual_popup.cpp:20: src/widget.h:98:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr skbackg; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_popup.h:28:0, from src/sub_recogmanual_popup.cpp:20: src/widget.h:99:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr frame[8]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_popup.h:28:0, from src/sub_recogmanual_popup.cpp:20: src/widget.h:100:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr frameinv[8]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_popup.h:28:0, from src/sub_recogmanual_popup.cpp:20: src/widget.h:101:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr icons[4]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_popup.h:28:0, from src/sub_recogmanual_popup.cpp:20: src/widget.h:102:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sbarbackg; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_popup.h:28:0, from src/sub_recogmanual_popup.cpp:20: src/widget.h:103:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sbarsurf; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_popup.h:28:0, from src/sub_recogmanual_popup.cpp:20: src/widget.h:151:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr globaltheme; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_popup.h:28:0, from src/sub_recogmanual_popup.cpp:20: src/widget.h:171:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static void set_theme(std::auto_ptr t) { globaltheme = t; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_popup.h:28:0, from src/sub_recogmanual_popup.cpp:20: src/widget.h:173:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr replace_theme(std::auto_ptr t); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_popup.h:28:0, from src/sub_recogmanual_popup.cpp:20: src/widget.h:173:49: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr replace_theme(std::auto_ptr t); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_popup.h:28:0, from src/sub_recogmanual_popup.cpp:20: src/widget.h:237:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create_dialogue_ok(widget* parent_, const std::string& title, const std::string& text = "", int w = 0, int h = 0); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_popup.h:28:0, from src/sub_recogmanual_popup.cpp:20: src/widget.h:238:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr create_dialogue_ok(const std::string& title, const std::string& text = "", int w = 0, int h = 0) { return create_dialogue_ok(this, title, text, w, h); } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_popup.h:28:0, from src/sub_recogmanual_popup.cpp:20: src/widget.h:240:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create_dialogue_ok_cancel(widget* parent_, const std::string& title, const std::string& text = "", int w = 0, int h = 0); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_popup.h:28:0, from src/sub_recogmanual_popup.cpp:20: src/widget.h:241:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr create_dialogue_ok_cancel(const std::string& title, const std::string& text = "") { return create_dialogue_ok_cancel(this, title, text); } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_popup.h:28:0, from src/sub_recogmanual_popup.cpp:20: src/widget.h:528:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mdl; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_popup.h:28:0, from src/sub_recogmanual_popup.cpp:20: src/widget.h:543:49: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] widget_3dview(int x, int y, int w, int h, std::auto_ptr mdl, color bgcol, widget* parent_ = 0); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_popup.h:28:0, from src/sub_recogmanual_popup.cpp:20: src/widget.h:546:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_model(std::auto_ptr mdl_); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_popup.cpp:20:0: src/sub_recogmanual_popup.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background_daylight; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_popup.cpp:20:0: src/sub_recogmanual_popup.h:49:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background_nightlight; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/sub_recogmanual_popup.cpp: In constructor 'sub_recogmanual_popup::sub_recogmanual_popup(user_interface&)': src/sub_recogmanual_popup.cpp:60:4: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr img(new image(data_file_handler::instance().get_path(*it) + (*it) + "_silhouette.png")); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/sub_recogmanual_popup.cpp:61:26: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] silhouettes.push_back(auto_ptr(img)); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_popup.h:24, from src/sub_recogmanual_popup.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/filehelper.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/filehelper.cpp g++ -o build/linux/widget.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/widget.cpp In file included from src/image.h:30:0, from src/widget.h:31, from src/widget.cpp:26: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30:0, from src/widget.h:31, from src/widget.cpp:26: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31:0, from src/widget.h:31, from src/widget.cpp:26: src/texture.h: At global scope: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31:0, from src/widget.h:33, from src/widget.cpp:26: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31:0, from src/widget.h:33, from src/widget.cpp:26: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31:0, from src/widget.h:33, from src/widget.cpp:26: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31:0, from src/widget.h:33, from src/widget.cpp:26: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/widget.h:33, from src/widget.cpp:26: src/bv_tree.h:80:35: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/widget.h:33, from src/widget.cpp:26: src/bv_tree.h:80:69: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/widget.h:33, from src/widget.cpp:26: src/bv_tree.h:81:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create(const std::vector& vertices, std::list& nodes); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/widget.h:33, from src/widget.cpp:26: src/bv_tree.h:100:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr children[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/widget.cpp:26: src/model.h:48:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/widget.cpp:26: src/model.h:67:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mytexture; // default "skin", MUST BE SET! ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/widget.cpp:26: src/model.h:104:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr colormap; // replaces diffuse color if not defined. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/widget.cpp:26: src/model.h:105:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr normalmap; // should be of type RGB to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/widget.cpp:26: src/model.h:106:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr specularmap; // should be of type LUMINANCE to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/widget.cpp:26: src/model.h:141:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr texmaps[DFTD_MAX_TEXTURE_UNITS]; // up to DFTD_MAX_TEXTURE_UNITS texture units ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/widget.cpp:26: src/model.h:183:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/widget.cpp:26: src/model.h:283:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr bounding_volume_tree; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/widget.cpp:26: src/model.h:370:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_plastic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/widget.cpp:26: src/model.h:371:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/widget.cpp:26: src/model.h:372:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/widget.cpp:26: src/model.h:373:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/widget.cpp:26: src/model.h:374:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/widget.cpp:26: src/model.h:375:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33:0, from src/widget.cpp:26: src/model.h:376:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.cpp:26:0: src/widget.h:97:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr backg; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.cpp:26:0: src/widget.h:98:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr skbackg; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.cpp:26:0: src/widget.h:99:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr frame[8]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.cpp:26:0: src/widget.h:100:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr frameinv[8]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.cpp:26:0: src/widget.h:101:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr icons[4]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.cpp:26:0: src/widget.h:102:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sbarbackg; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.cpp:26:0: src/widget.h:103:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sbarsurf; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.cpp:26:0: src/widget.h:151:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr globaltheme; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.cpp:26:0: src/widget.h:171:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static void set_theme(std::auto_ptr t) { globaltheme = t; } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.cpp:26:0: src/widget.h:173:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr replace_theme(std::auto_ptr t); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.cpp:26:0: src/widget.h:173:49: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr replace_theme(std::auto_ptr t); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.cpp:26:0: src/widget.h:237:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create_dialogue_ok(widget* parent_, const std::string& title, const std::string& text = "", int w = 0, int h = 0); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.cpp:26:0: src/widget.h:238:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr create_dialogue_ok(const std::string& title, const std::string& text = "", int w = 0, int h = 0) { return create_dialogue_ok(this, title, text, w, h); } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.cpp:26:0: src/widget.h:240:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create_dialogue_ok_cancel(widget* parent_, const std::string& title, const std::string& text = "", int w = 0, int h = 0); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.cpp:26:0: src/widget.h:241:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr create_dialogue_ok_cancel(const std::string& title, const std::string& text = "") { return create_dialogue_ok_cancel(this, title, text); } ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.cpp:26:0: src/widget.h:528:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mdl; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.cpp:26:0: src/widget.h:543:49: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] widget_3dview(int x, int y, int w, int h, std::auto_ptr mdl, color bgcol, widget* parent_ = 0); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.cpp:26:0: src/widget.h:546:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_model(std::auto_ptr mdl_); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/widget.cpp:46:6: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr widget::globaltheme; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/widget.cpp: In constructor 'widget::widget(xml_elem&, widget*)': src/widget.cpp:71:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] set_background(std::auto_ptr(new texture(get_texture_dir() += elem.attr("bg_texture"))).get()); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/widget.cpp: At global scope: src/widget.cpp:371:6: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr widget::replace_theme(std::auto_ptr t) ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/widget.cpp:371:57: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr widget::replace_theme(std::auto_ptr t) ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/widget.cpp: In static member function 'static std::auto_ptr widget::replace_theme(std::auto_ptr)': src/widget.cpp:373:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr r = globaltheme; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/widget.cpp: In static member function 'static void widget::draw_frame(int, int, int, int, bool)': src/widget.cpp:599:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr* frelem = (out ? globaltheme->frame : globaltheme->frameinv); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/widget.cpp: At global scope: src/widget.cpp:725:6: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr widget::create_dialogue_ok(widget* parent_, const string& title, const string& text, ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/widget.cpp: In static member function 'static std::auto_ptr widget::create_dialogue_ok(widget*, const string&, const string&, int, int)': src/widget.cpp:734:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr wi(new widget(x, y, w, h, title, parent_)); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/widget.cpp: At global scope: src/widget.cpp:743:6: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr widget::create_dialogue_ok_cancel(widget* parent_, const string& title, const string& text, ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/widget.cpp: In static member function 'static std::auto_ptr widget::create_dialogue_ok_cancel(widget*, const string&, const string&, int, int)': src/widget.cpp:752:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr wi(new widget(x, y, w, h, title, parent_)); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/widget.cpp: At global scope: src/widget.cpp:1532:58: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] widget_3dview::widget_3dview(int x, int y, int w, int h, auto_ptr mdl_, color bgcol, widget* parent_) ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/widget.cpp:1542:36: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void widget_3dview::set_model(std::auto_ptr mdl_) ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/frustum.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/frustum.cpp In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/frustum.h:27, from src/frustum.cpp:24: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/shader.h:32, from src/primitives.h:28, from src/polygon.h:31, from src/frustum.h:27, from src/frustum.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/frustum.h:27, from src/frustum.cpp:24: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/shader.h:32, from src/primitives.h:28, from src/polygon.h:31, from src/frustum.h:27, from src/frustum.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/frustum.h:27, from src/frustum.cpp:24: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/shader.h:32, from src/primitives.h:28, from src/polygon.h:31, from src/frustum.h:27, from src/frustum.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/polygon.h:31, from src/frustum.h:27, from src/frustum.cpp:24: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/shader.h:32, from src/primitives.h:28, from src/polygon.h:31, from src/frustum.h:27, from src/frustum.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/datadirs.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -DDATADIR=\"/usr/share/dangerdeep/\" -I/usr/include/SDL -I/usr/include/GL src/datadirs.cpp g++ -o build/linux/global_data.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -DVERSION=\"0.4.0_pre3327\" -I/usr/include/SDL -I/usr/include/GL src/global_data.cpp In file included from src/model.h:29:0, from src/global_data.cpp:23: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31:0, from src/global_data.cpp:23: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31:0, from src/global_data.cpp:23: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31:0, from src/global_data.cpp:23: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31:0, from src/global_data.cpp:23: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/global_data.cpp:23: src/bv_tree.h:80:35: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/global_data.cpp:23: src/bv_tree.h:80:69: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/global_data.cpp:23: src/bv_tree.h:81:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create(const std::vector& vertices, std::list& nodes); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/global_data.cpp:23: src/bv_tree.h:100:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr children[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/global_data.cpp:23:0: src/model.h:48:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/global_data.cpp:23:0: src/model.h:67:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mytexture; // default "skin", MUST BE SET! ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/global_data.cpp:23:0: src/model.h:104:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr colormap; // replaces diffuse color if not defined. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/global_data.cpp:23:0: src/model.h:105:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr normalmap; // should be of type RGB to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/global_data.cpp:23:0: src/model.h:106:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr specularmap; // should be of type LUMINANCE to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/global_data.cpp:23:0: src/model.h:141:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr texmaps[DFTD_MAX_TEXTURE_UNITS]; // up to DFTD_MAX_TEXTURE_UNITS texture units ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/global_data.cpp:23:0: src/model.h:183:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/global_data.cpp:23:0: src/model.h:283:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr bounding_volume_tree; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/global_data.cpp:23:0: src/model.h:370:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_plastic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/global_data.cpp:23:0: src/model.h:371:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/global_data.cpp:23:0: src/model.h:372:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/global_data.cpp:23:0: src/model.h:373:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/global_data.cpp:23:0: src/model.h:374:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/global_data.cpp:23:0: src/model.h:375:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/global_data.cpp:23:0: src/model.h:376:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30:0, from src/global_data.cpp:25: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30:0, from src/global_data.cpp:25: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/thread.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/thread.cpp g++ -o build/linux/mutex.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/mutex.cpp g++ -o build/linux/condvar.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/condvar.cpp g++ -o build/linux/log.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/log.cpp g++ -o build/linux/bv_tree.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/bv_tree.cpp In file included from src/bv_tree.cpp:24:0: src/bv_tree.h:80:35: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/bv_tree.h:28, from src/bv_tree.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/bv_tree.cpp:24:0: src/bv_tree.h:80:69: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/bv_tree.h:28, from src/bv_tree.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/bv_tree.cpp:24:0: src/bv_tree.h:81:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create(const std::vector& vertices, std::list& nodes); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/bv_tree.h:28, from src/bv_tree.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/bv_tree.cpp:24:0: src/bv_tree.h:100:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr children[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/bv_tree.h:28, from src/bv_tree.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/bv_tree.cpp:30:6: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr bv_tree::create(const std::vector& vertices, std::list& nodes) ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/bv_tree.h:28, from src/bv_tree.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/bv_tree.cpp: In static member function 'static std::auto_ptr bv_tree::create(const std::vector >&, std::__cxx11::list&)': src/bv_tree.cpp:32:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr result; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/bv_tree.h:28, from src/bv_tree.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/bv_tree.cpp: At global scope: src/bv_tree.cpp:107:43: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree::bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree) ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/bv_tree.h:28, from src/bv_tree.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/bv_tree.cpp:107:77: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree::bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree) ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/bv_tree.h:28, from src/bv_tree.cpp:24: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/error.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/error.cpp g++ -o build/linux/framebufferobject.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/framebufferobject.cpp In file included from src/framebufferobject.cpp:25:0: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/framebufferobject.cpp:25: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/font.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/font.cpp In file included from src/font.h:30:0, from src/font.cpp:23: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/font.h:30, from src/font.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/font.h:30:0, from src/font.cpp:23: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/font.h:30, from src/font.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/font.cpp:24:0: src/texture.h: At global scope: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/font.h:30, from src/font.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/font.cpp:27: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/font.h:30, from src/font.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/font.cpp:27: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/font.h:30, from src/font.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/font.cpp:27: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/font.h:30, from src/font.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/font.cpp:27: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/font.h:30, from src/font.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/font.cpp: In member function 'vector2i font::get_size(const string&) const': src/font.cpp:278:13: warning: variable 'nr' set but not used [-Wunused-but-set-variable] unsigned nr[6]; ^~ g++ -o build/linux/fpsmeasure.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/fpsmeasure.cpp g++ -o build/linux/geoclipmap.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/geoclipmap.cpp In file included from src/geoclipmap.h:25:0, from src/geoclipmap.cpp:20: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/geoclipmap.h:25, from src/geoclipmap.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:26:0, from src/geoclipmap.cpp:20: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/geoclipmap.h:25, from src/geoclipmap.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:26:0, from src/geoclipmap.cpp:20: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/geoclipmap.h:25, from src/geoclipmap.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:26:0, from src/geoclipmap.cpp:20: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/geoclipmap.h:25, from src/geoclipmap.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:26:0, from src/geoclipmap.cpp:20: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/geoclipmap.h:25, from src/geoclipmap.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:28:0, from src/geoclipmap.cpp:20: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/geoclipmap.h:25, from src/geoclipmap.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:28:0, from src/geoclipmap.cpp:20: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/geoclipmap.h:25, from src/geoclipmap.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31:0, from src/geoclipmap.cpp:20: src/height_generator.h: At global scope: src/height_generator.h:145:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sand_texture, mud_texture, forest_texture, ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/geoclipmap.h:25, from src/geoclipmap.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.cpp:20:0: src/geoclipmap.h:163:19: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] /*mutable*/ std::auto_ptr myshader[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/geoclipmap.h:25, from src/geoclipmap.cpp:20: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/image.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/image.cpp In file included from src/image.h:30:0, from src/image.cpp:23: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/image.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30:0, from src/image.cpp:23: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/image.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31:0, from src/image.cpp:23: src/texture.h: At global scope: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/image.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/make_mesh.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/make_mesh.cpp In file included from src/model.h:29:0, from src/make_mesh.h:26, from src/make_mesh.cpp:23: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31:0, from src/make_mesh.h:26, from src/make_mesh.cpp:23: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31:0, from src/make_mesh.h:26, from src/make_mesh.cpp:23: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31:0, from src/make_mesh.h:26, from src/make_mesh.cpp:23: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31:0, from src/make_mesh.h:26, from src/make_mesh.cpp:23: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/make_mesh.h:26, from src/make_mesh.cpp:23: src/bv_tree.h:80:35: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/make_mesh.h:26, from src/make_mesh.cpp:23: src/bv_tree.h:80:69: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/make_mesh.h:26, from src/make_mesh.cpp:23: src/bv_tree.h:81:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create(const std::vector& vertices, std::list& nodes); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/make_mesh.h:26, from src/make_mesh.cpp:23: src/bv_tree.h:100:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr children[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/make_mesh.h:26:0, from src/make_mesh.cpp:23: src/model.h:48:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/make_mesh.h:26:0, from src/make_mesh.cpp:23: src/model.h:67:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mytexture; // default "skin", MUST BE SET! ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/make_mesh.h:26:0, from src/make_mesh.cpp:23: src/model.h:104:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr colormap; // replaces diffuse color if not defined. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/make_mesh.h:26:0, from src/make_mesh.cpp:23: src/model.h:105:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr normalmap; // should be of type RGB to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/make_mesh.h:26:0, from src/make_mesh.cpp:23: src/model.h:106:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr specularmap; // should be of type LUMINANCE to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/make_mesh.h:26:0, from src/make_mesh.cpp:23: src/model.h:141:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr texmaps[DFTD_MAX_TEXTURE_UNITS]; // up to DFTD_MAX_TEXTURE_UNITS texture units ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/make_mesh.h:26:0, from src/make_mesh.cpp:23: src/model.h:183:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/make_mesh.h:26:0, from src/make_mesh.cpp:23: src/model.h:283:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr bounding_volume_tree; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/make_mesh.h:26:0, from src/make_mesh.cpp:23: src/model.h:370:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_plastic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/make_mesh.h:26:0, from src/make_mesh.cpp:23: src/model.h:371:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/make_mesh.h:26:0, from src/make_mesh.cpp:23: src/model.h:372:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/make_mesh.h:26:0, from src/make_mesh.cpp:23: src/model.h:373:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/make_mesh.h:26:0, from src/make_mesh.cpp:23: src/model.h:374:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/make_mesh.h:26:0, from src/make_mesh.cpp:23: src/model.h:375:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/make_mesh.h:26:0, from src/make_mesh.cpp:23: src/model.h:376:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/model.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/model.cpp In file included from src/model.h:29:0, from src/model.cpp:23: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31:0, from src/model.cpp:23: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31:0, from src/model.cpp:23: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31:0, from src/model.cpp:23: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31:0, from src/model.cpp:23: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/model.cpp:23: src/bv_tree.h:80:35: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/model.cpp:23: src/bv_tree.h:80:69: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bv_tree(const spheref& sph, std::auto_ptr left_tree, std::auto_ptr right_tree); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/model.cpp:23: src/bv_tree.h:81:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr create(const std::vector& vertices, std::list& nodes); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33:0, from src/model.cpp:23: src/bv_tree.h:100:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr children[2]; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.cpp:23:0: src/model.h:48:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.cpp:23:0: src/model.h:67:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mytexture; // default "skin", MUST BE SET! ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.cpp:23:0: src/model.h:104:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr colormap; // replaces diffuse color if not defined. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.cpp:23:0: src/model.h:105:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr normalmap; // should be of type RGB to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.cpp:23:0: src/model.h:106:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr specularmap; // should be of type LUMINANCE to work properly. ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.cpp:23:0: src/model.h:141:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr texmaps[DFTD_MAX_TEXTURE_UNITS]; // up to DFTD_MAX_TEXTURE_UNITS texture units ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.cpp:23:0: src/model.h:183:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.cpp:23:0: src/model.h:283:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr bounding_volume_tree; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.cpp:23:0: src/model.h:370:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_plastic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.cpp:23:0: src/model.h:371:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.cpp:23:0: src/model.h:372:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.cpp:23:0: src/model.h:373:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.cpp:23:0: src/model.h:374:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.cpp:23:0: src/model.h:375:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.cpp:23:0: src/model.h:376:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/caustics.h:31:0, from src/model.cpp:33: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/caustics.h:31:0, from src/model.cpp:33: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/model.cpp: At global scope: src/model.cpp:77:1: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr model::glsl_plastic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/model.cpp:78:1: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr model::glsl_color; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/model.cpp:79:1: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr model::glsl_color_normal; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/model.cpp:80:1: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr model::glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/model.cpp:81:1: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr model::glsl_color_normal_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/model.cpp:82:1: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr model::glsl_color_normal_specular_caustic; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/model.cpp:83:1: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr model::glsl_mirror_clip; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/model.cpp:428:6: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr model::mesh::get_tri_iterator() const ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/model.cpp: In member function 'std::auto_ptr model::mesh::get_tri_iterator() const': src/model.cpp:432:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] return std::auto_ptr(new triangle_iterator(indices)); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/model.cpp:434:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] return std::auto_ptr(new triangle_strip_iterator(indices)); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/model.cpp: In member function 'void model::mesh::compute_normals()': src/model.cpp:538:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tit(get_tri_iterator()); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/model.cpp:574:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tit(get_tri_iterator()); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/model.cpp: In member function 'bool model::mesh::intersects(const model::mesh&, const matrix4f&) const': src/model.cpp:809:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tit(get_tri_iterator()); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/model.cpp:819:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr otit(other.get_tri_iterator()); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/model.cpp: In member function 'void model::mesh::compile()': src/model.cpp:854:31: warning: variable 'has_texture_u1' set but not used [-Wunused-but-set-variable] bool has_texture_u0 = false, has_texture_u1 = false; ^~~~~~~~~~~~~~ src/model.cpp: In member function 'bool model::mesh::is_inside(const vector3f&) const': src/model.cpp:1098:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tit(get_tri_iterator()); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/model.cpp: In member function 'double model::mesh::compute_volume() const': src/model.cpp:1131:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tit(get_tri_iterator()); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/model.cpp:1143:11: warning: variable 'abcd' set but not used [-Wunused-but-set-variable] vector3 abcd = A + B + C + D; ^~~~ src/model.cpp: In member function 'vector3 model::mesh::compute_center_of_gravity() const': src/model.cpp:1162:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tit(get_tri_iterator()); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/model.cpp: In member function 'matrix3 model::mesh::compute_inertia_tensor(const matrix4f&) const': src/model.cpp:1285:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tit(get_tri_iterator()); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/model.cpp: In member function 'void model::mesh::compute_bv_tree()': src/model.cpp:1328:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tit(get_tri_iterator()); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/model.cpp: In member function 'void model::mesh::display(const texture*) const': src/model.cpp:1724:31: warning: variable 'has_texture_u1' set but not used [-Wunused-but-set-variable] bool has_texture_u0 = false, has_texture_u1 = false; ^~~~~~~~~~~~~~ src/model.cpp: In member function 'void model::read_dftd_model_file(const string&)': src/model.cpp:2367:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mat; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/model.cpp: In member function 'void model::read_off_file(const string&)': src/model.cpp:2300:59: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "OFF\n%u %u %u\n", &nr_vertices, &nr_faces, &i); ^ src/model.cpp:2308:38: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%f %f %f\n", &a, &b, &c); ^ src/model.cpp:2315:48: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%u %u %u %u\n", &j, &v0, &v1, &v2); ^ g++ -o build/linux/perlinnoise.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/perlinnoise.cpp g++ -o build/linux/primitives.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/primitives.cpp In file included from src/primitives.h:28:0, from src/primitives.cpp:23: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/shader.h:32, from src/primitives.h:28, from src/primitives.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/primitives.cpp:23: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/shader.h:32, from src/primitives.h:28, from src/primitives.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/primitives.cpp:23: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/shader.h:32, from src/primitives.h:28, from src/primitives.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/primitives.cpp:23: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/shader.h:32, from src/primitives.h:28, from src/primitives.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/shader.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/shader.cpp In file included from src/shader.cpp:23:0: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/shader.h:32, from src/shader.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/shader.cpp:23:0: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/shader.h:32, from src/shader.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/shader.cpp:23:0: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/shader.h:32, from src/shader.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/shader.cpp:23:0: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/shader.h:32, from src/shader.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/shader.cpp:25:0: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/shader.h:32, from src/shader.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/shader.cpp:49:6: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr glsl_shader_setup::default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/shader.h:32, from src/shader.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/shader.cpp:50:6: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr glsl_shader_setup::default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/shader.h:32, from src/shader.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/shader.cpp:51:6: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr glsl_shader_setup::default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/shader.h:32, from src/shader.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/shader.cpp:52:6: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr glsl_shader_setup::default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/shader.h:32, from src/shader.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/shader.cpp: In constructor 'glsl_shader::glsl_shader(const string&, glsl_shader::type, const defines_list&)': src/shader.cpp:165:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ifprg; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/shader.h:32, from src/shader.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/postprocessor.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/postprocessor.cpp In file included from src/postprocessor.cpp:23:0: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/shader.h:32, from src/postprocessor.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/postprocessor.cpp:23:0: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/shader.h:32, from src/postprocessor.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/postprocessor.cpp:23:0: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/shader.h:32, from src/postprocessor.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/postprocessor.cpp:23:0: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/shader.h:32, from src/postprocessor.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/postprocessor.cpp:24:0: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/shader.h:32, from src/postprocessor.cpp:23: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/system.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/system.cpp In file included from src/system.cpp:35:0: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/system.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/font.h:30:0, from src/system.cpp:36: src/ptrvector.h:69:22: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/system.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/font.h:30:0, from src/system.cpp:36: src/ptrvector.h: In member function 'void ptrvector::push_back(T*)': src/ptrvector.h:76:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/system.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/system.cpp:38: src/shader.h: At global scope: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/system.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/system.cpp:38: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/system.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/system.cpp:38: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/system.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/system.cpp:38: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/system.cpp:35: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/texture.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/texture.cpp In file included from src/texture.cpp:36:0: src/texture.h:92:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/texture.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/texture.cpp:37: src/shader.h:247:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_opaque; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/texture.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/texture.cpp:37: src/shader.h:248:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_col; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/texture.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/texture.cpp:37: src/shader.h:249:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_tex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/texture.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28:0, from src/texture.cpp:37: src/shader.h:250:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] static std::auto_ptr default_coltex; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from src/texture.h:44, from src/texture.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -o build/linux/vertexbufferobject.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/vertexbufferobject.cpp g++ -o build/linux/xml.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/xml.cpp ar rc build/linux/libdftdmedia.a build/linux/bv_tree.o build/linux/cfg.o build/linux/error.o build/linux/framebufferobject.o build/linux/font.o build/linux/fpsmeasure.o build/linux/geoclipmap.o build/linux/image.o build/linux/keys.o build/linux/make_mesh.o build/linux/model.o build/linux/perlinnoise.o build/linux/primitives.o build/linux/shader.o build/linux/postprocessor.o build/linux/system.o build/linux/texture.o build/linux/vertexbufferobject.o build/linux/xml.o ranlib build/linux/libdftdmedia.a g++ -o build/linux/tinyxml/tinyxml.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/tinyxml/tinyxml.cpp g++ -o build/linux/tinyxml/tinyxmlerror.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/tinyxml/tinyxmlerror.cpp g++ -o build/linux/tinyxml/tinyxmlparser.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/tinyxml/tinyxmlparser.cpp ar rc build/linux/libtinyxml.a build/linux/tinyxml/tinyxml.o build/linux/tinyxml/tinyxmlerror.o build/linux/tinyxml/tinyxmlparser.o ranlib build/linux/libtinyxml.a g++ -o build/linux/oglext/OglExt.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/oglext/OglExt.cpp g++ -o build/linux/oglext/RenderingContext.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=i686 -pipe -Wall -g -O2 -march=i586 -mtune=generic -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/oglext/RenderingContext.cpp ar rc build/linux/liboglext.a build/linux/oglext/OglExt.o build/linux/oglext/RenderingContext.o ranlib build/linux/liboglext.a g++ -o build/linux/dangerdeep `pkg-config --libs-only-L x11` build/linux/subsim.o build/linux/ai.o build/linux/airplane.o build/linux/bitstream.o build/linux/bzip.o build/linux/cfg.o build/linux/coastmap.o build/linux/convoy.o build/linux/countrycodes.o build/linux/credits.o build/linux/date.o build/linux/daysky.o build/linux/depth_charge.o build/linux/event.o build/linux/freeview_display.o build/linux/game.o build/linux/game_editor.o build/linux/gun_shell.o build/linux/height_generator_map.o build/linux/highscorelist.o build/linux/keys.o build/linux/logbook.o build/linux/logbook_display.o build/linux/map_display.o build/linux/message_queue.o build/linux/music.o build/linux/parser.o build/linux/particle.o build/linux/sea_object.o build/linux/sensors.o build/linux/ship.o build/linux/ships_sunk_display.o build/linux/sky.o build/linux/moon.o build/linux/simplex_noise.o build/linux/stars.o build/linux/sonar.o build/linux/sonar_operator.o build/linux/submarine.o build/linux/submarine_interface.o build/linux/sub_bg_display.o build/linux/sub_bridge_display.o build/linux/sub_captainscabin_display.o build/linux/sub_control_popup.o build/linux/sub_ecard_popup.o build/linux/sub_damage_display.o build/linux/sub_gauges_display.o build/linux/sub_ghg_display.o build/linux/sub_kdb_display.o build/linux/sub_periscope_display.o build/linux/sub_recogmanual_display.o build/linux/sub_soldbuch_display.o build/linux/sub_tdc_display.o build/linux/sub_tdc_popup.o build/linux/sub_torpedo_display.o build/linux/sub_torpsetup_display.o build/linux/sub_uzo_display.o build/linux/sub_valves_display.o build/linux/tdc.o build/linux/texts.o build/linux/tone_reproductor.o build/linux/torpedo.o build/linux/torpedo_camera_display.o build/linux/triangulate.o build/linux/user_interface.o build/linux/caustics.o build/linux/water.o build/linux/water_splash.o build/linux/dftdtester/tests.o build/linux/sub_recogmanual_popup.o build/linux/filehelper.o build/linux/widget.o build/linux/frustum.o build/linux/datadirs.o build/linux/global_data.o build/linux/thread.o build/linux/mutex.o build/linux/condvar.o build/linux/log.o -L/usr/lib -L/usr/lib/X11 -L/usr/X11R6/lib -Lbuild/linux -Lsrc -ldftdmedia -ltinyxml -loglext -lGL -lGLU -lSDL -lSDL_image -lSDL_mixer -lfftw3f -lbz2 build/linux/libdftdmedia.a(model.o): In function `std::vector >::insert(__gnu_cxx::__normal_iterator > >, unsigned int, unsigned int const&)': /usr/include/c++/6/bits/stl_vector.h:1055: undefined reference to `model::mesh::no_adjacency' /usr/include/c++/6/bits/stl_vector.h:1055: undefined reference to `model::mesh::no_adjacency' collect2: error: ld returned 1 exit status scons: *** [build/linux/dangerdeep] Error 1 scons: building terminated because of errors. error: Bad exit status from /usr/src/tmp/rpm-tmp.12524 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.12524 (%build) Command exited with non-zero status 1 286.26user 16.44system 4:56.70elapsed 102%CPU (0avgtext+0avgdata 300496maxresident)k 0inputs+0outputs (0major+4056292minor)pagefaults 0swaps hsh-rebuild: rebuild of `dangerdeep-0.4.0_pre3327-alt1.qa3.src.rpm' failed. Command exited with non-zero status 1 331.03user 26.16system 6:00.02elapsed 99%CPU (0avgtext+0avgdata 300496maxresident)k 72inputs+0outputs (0major+4678953minor)pagefaults 0swaps