>>> Building on sparc64-0c under games/dangerdeep BDEPENDS = [lang/gcc/8;devel/sdl-image;archivers/bzip2;devel/sdl-mixer;lang/gcc/8,-c++;archivers/unzip;lang/gcc/8,-libs;math/fftw3,float;devel/scons] DIST = [games/dangerdeep:dangerdeep-data-0.4.0_pre3327.zip;games/dangerdeep:dangerdeep-0.4.0_pre3327.tar.gz] FULLPKGNAME = dangerdeep-0.3.99.3327p5 RDEPENDS = [devel/sdl-image;lang/gcc/8,-libs;math/fftw3,float;devel/sdl-mixer;archivers/bzip2] (Junk lock obtained for sparc64-0c at 1749902101.08) >>> Running depends in games/dangerdeep at 1749902101.24 last junk was in graphics/sane-backends,snmp /usr/sbin/pkg_add -aI -Drepair scons-4.6.0p2 sdl-image-1.2.12p5 sdl-mixer-1.2.12p5 unzip-6.0p18 was: /usr/sbin/pkg_add -aI -Drepair bzip2-1.0.8p0 fftw3-float-3.3.10p0 g++-8.4.0p26 gcc-8.4.0p26 gcc-libs-8.4.0p26 scons-4.6.0p2 sdl-image-1.2.12p5 sdl-mixer-1.2.12p5 unzip-6.0p18 /usr/sbin/pkg_add -aI -Drepair scons-4.6.0p2 sdl-image-1.2.12p5 sdl-mixer-1.2.12p5 unzip-6.0p18 >>> Running show-prepare-results in games/dangerdeep at 1749902114.57 ===> games/dangerdeep ===> Building from scratch dangerdeep-0.3.99.3327p5 ===> dangerdeep-0.3.99.3327p5 depends on: scons-* -> scons-4.6.0p2 ===> dangerdeep-0.3.99.3327p5 depends on: gcc->=8,<9 -> gcc-8.4.0p26 ===> dangerdeep-0.3.99.3327p5 depends on: g++->=8,<9 -> g++-8.4.0p26 ===> dangerdeep-0.3.99.3327p5 depends on: unzip-* -> unzip-6.0p18 ===> dangerdeep-0.3.99.3327p5 depends on: bzip2-* -> bzip2-1.0.8p0 ===> dangerdeep-0.3.99.3327p5 depends on: sdl-image-* -> sdl-image-1.2.12p5 ===> dangerdeep-0.3.99.3327p5 depends on: sdl-mixer-* -> sdl-mixer-1.2.12p5 ===> dangerdeep-0.3.99.3327p5 depends on: fftw3-float-* -> fftw3-float-3.3.10p0 ===> dangerdeep-0.3.99.3327p5 depends on: gcc-libs->=8,<9 -> gcc-libs-8.4.0p26 ===> Verifying specs: GL GLU SDL SDL_image SDL_mixer bz2 c fftw3f m estdc++>=19 pthread pthread ===> found GL.19.2 GLU.9.0 SDL.8.0 SDL_image.3.1 SDL_mixer.5.0 bz2.10.4 c.100.3 fftw3f.7.1 m.10.1 estdc++.19.0 pthread.27.1 bzip2-1.0.8p0 fftw3-float-3.3.10p0 g++-8.4.0p26 gcc-8.4.0p26 gcc-libs-8.4.0p26 scons-4.6.0p2 sdl-image-1.2.12p5 sdl-mixer-1.2.12p5 unzip-6.0p18 Don't run junk because nojunk in math/py-h5py (Junk lock released for sparc64-0c at 1749902126.88) distfiles size=198999176 >>> Running extract in games/dangerdeep at 1749902127.02 ===> games/dangerdeep ===> Checking files for dangerdeep-0.3.99.3327p5 `/usr/ports/distfiles/dangerdeep-0.4.0_pre3327.tar.gz' is up to date. `/usr/ports/distfiles/dangerdeep-data-0.4.0_pre3327.zip' is up to date. >> (SHA256) all files: OK ===> Extracting for dangerdeep-0.3.99.3327p5 >>> Running patch in games/dangerdeep at 1749902165.50 ===> games/dangerdeep ===> Patching for dangerdeep-0.3.99.3327p5 ===> Applying OpenBSD patch patch-SConstruct Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |2to3 and additional fixes | |Index: SConstruct |--- SConstruct.orig |+++ SConstruct -------------------------- Patching file SConstruct using Plan A... Hunk #1 succeeded at 49. Hunk #2 succeeded at 68. Hunk #3 succeeded at 79. Hunk #4 succeeded at 99. Hunk #5 succeeded at 171. Hunk #6 succeeded at 192. Hunk #7 succeeded at 207. Hunk #8 succeeded at 218. Hunk #9 succeeded at 236. Hunk #10 succeeded at 249. Hunk #11 succeeded at 279. Hunk #12 succeeded at 300. Hunk #13 succeeded at 350. done ===> Applying OpenBSD patch patch-src_coastmap_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/coastmap.h |--- src/coastmap.h.orig |+++ src/coastmap.h -------------------------- Patching file src/coastmap.h using Plan A... Hunk #1 succeeded at 90. Hunk #2 succeeded at 148. Hunk #3 succeeded at 160. done ===> Applying OpenBSD patch patch-src_color_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- src/color.h.orig |+++ src/color.h -------------------------- Patching file src/color.h using Plan A... Hunk #1 succeeded at 36. done ===> Applying OpenBSD patch patch-src_condvar_cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- src/condvar.cpp.orig |+++ src/condvar.cpp -------------------------- Patching file src/condvar.cpp using Plan A... Hunk #1 succeeded at 24. done ===> Applying OpenBSD patch patch-src_condvar_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- src/condvar.h.orig |+++ src/condvar.h -------------------------- Patching file src/condvar.h using Plan A... Hunk #1 succeeded at 29. done ===> Applying OpenBSD patch patch-src_faulthandler_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- src/faulthandler.h.orig Sat Jun 1 11:11:17 2013 |+++ src/faulthandler.h Sat Jun 1 11:11:50 2013 -------------------------- Patching file src/faulthandler.h using Plan A... Hunk #1 succeeded at 27. done ===> Applying OpenBSD patch patch-src_freeview_display_cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/freeview_display.cpp |--- src/freeview_display.cpp.orig |+++ src/freeview_display.cpp -------------------------- Patching file src/freeview_display.cpp using Plan A... Hunk #1 succeeded at 386. done ===> Applying OpenBSD patch patch-src_game_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/game.h |--- src/game.h.orig |+++ src/game.h -------------------------- Patching file src/game.h using Plan A... Hunk #1 succeeded at 210. Hunk #2 succeeded at 230. done ===> Applying OpenBSD patch patch-src_global_data_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- src/global_data.h.orig |+++ src/global_data.h -------------------------- Patching file src/global_data.h using Plan A... Hunk #1 succeeded at 123. done ===> Applying OpenBSD patch patch-src_gun_shell_cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/gun_shell.cpp |--- src/gun_shell.cpp.orig |+++ src/gun_shell.cpp -------------------------- Patching file src/gun_shell.cpp using Plan A... Hunk #1 succeeded at 292. done ===> Applying OpenBSD patch patch-src_log_cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- src/log.cpp.orig |+++ src/log.cpp -------------------------- Patching file src/log.cpp using Plan A... Hunk #1 succeeded at 30. done ===> Applying OpenBSD patch patch-src_matrix3_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Fix missing header for ports-gcc |Index: src/matrix3.h |--- src/matrix3.h.orig |+++ src/matrix3.h -------------------------- Patching file src/matrix3.h using Plan A... Hunk #1 succeeded at 24. done ===> Applying OpenBSD patch patch-src_message_queue_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- src/message_queue.h.orig |+++ src/message_queue.h -------------------------- Patching file src/message_queue.h using Plan A... Hunk #1 succeeded at 73. done ===> Applying OpenBSD patch patch-src_model_cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- src/model.cpp.orig |+++ src/model.cpp -------------------------- Patching file src/model.cpp using Plan A... Hunk #1 succeeded at 49. done ===> Applying OpenBSD patch patch-src_modelmeasure_cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- src/modelmeasure.cpp.orig |+++ src/modelmeasure.cpp -------------------------- Patching file src/modelmeasure.cpp using Plan A... Hunk #1 succeeded at 42. done ===> Applying OpenBSD patch patch-src_mutex_cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- src/mutex.cpp.orig |+++ src/mutex.cpp -------------------------- Patching file src/mutex.cpp using Plan A... Hunk #1 succeeded at 24. Hunk #2 succeeded at 53. done ===> Applying OpenBSD patch patch-src_mutex_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- src/mutex.h.orig |+++ src/mutex.h -------------------------- Patching file src/mutex.h using Plan A... Hunk #1 succeeded at 26. Hunk #2 succeeded at 51. Hunk #3 succeeded at 61. done ===> Applying OpenBSD patch patch-src_sky_cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/sky.cpp |--- src/sky.cpp.orig |+++ src/sky.cpp -------------------------- Patching file src/sky.cpp using Plan A... Hunk #1 succeeded at 349. done ===> Applying OpenBSD patch patch-src_thread_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- src/thread.h.orig |+++ src/thread.h -------------------------- Patching file src/thread.h using Plan A... Hunk #1 succeeded at 25. Hunk #2 succeeded at 54. done ===> Applying OpenBSD patch patch-src_tone_reproductor_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- src/tone_reproductor.h.orig |+++ src/tone_reproductor.h -------------------------- Patching file src/tone_reproductor.h using Plan A... Hunk #1 succeeded at 74. done ===> Applying OpenBSD patch patch-src_widget_cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- src/widget.cpp.orig |+++ src/widget.cpp -------------------------- Patching file src/widget.cpp using Plan A... Hunk #1 succeeded at 284. done ===> Compiler link: gcc -> /usr/local/bin/egcc ===> Compiler link: cc -> /usr/local/bin/egcc ===> Compiler link: c++ -> /usr/local/bin/eg++ ===> Compiler link: g++ -> /usr/local/bin/eg++ >>> Running configure in games/dangerdeep at 1749902167.51 ===> games/dangerdeep ===> Generating configure for dangerdeep-0.3.99.3327p5 ===> Configuring for dangerdeep-0.3.99.3327p5 /usr/bin/perl /usr/ports/infrastructure/bin/pkg_subst -DARCH=sparc64 -DBASE_PKGPATH=games/dangerdeep -DFLAVOR_EXT= -DFULLPKGNAME=dangerdeep-0.3.99.3327p5 -DHOMEPAGE=https://dangerdeep.sourceforge.net/ -DLOCALBASE=/usr/local -DLOCALSTATEDIR=/var -DMACHINE_ARCH=sparc64 -DMAINTAINER=The\ OpenBSD\ ports\ mailing-list\ \ -DPREFIX=/usr/local -DRCDIR=/etc/rc.d -DSYSCONFDIR=/etc -DTRUEPREFIX=/usr/local -DX11BASE=/usr/X11R6 -DPKGSTEM=dangerdeep -i -B /usr/obj/ports/dangerdeep-0.3.99.3327 /usr/obj/ports/dangerdeep-0.3.99.3327/dangerdeep-0.4.0_pre3327/SConstruct >>> Running build in games/dangerdeep at 1749902169.83 ===> games/dangerdeep ===> Building for dangerdeep-0.3.99.3327p5 scons: Entering directory `/usr/obj/ports/dangerdeep-0.3.99.3327/dangerdeep-0.4.0_pre3327' scons: Reading SConscript files ... /usr/obj/ports/dangerdeep-0.3.99.3327/dangerdeep-0.4.0_pre3327/SConstruct:15: SyntaxWarning: invalid escape sequence '\L' gllibrary = 'C:\\Program Files\\Microsoft SDKs\\Windows\\v6.0A\Lib' Compiling for GNU/Linux Environment (openbsd7) Using architecture: sparc64 Found GL library "/usr/X11R6/lib/libGL.so" Install binary path: /usr/local/bin Using data dir: /usr/local/share/dangerdeep 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/obj/ports/dangerdeep-0.3.99.3327/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/obj/ports/dangerdeep-0.3.99.3327/dangerdeep-0.4.0_pre3327/src/SConscript", line 132, in scons: done reading SConscript files. scons: Building targets ... c++ -o src/subsim.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/subsim.cpp In file included from src/model.h:29, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:36: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:36: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:36: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:36: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:36: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:36: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:36: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:36: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:36: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:36: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:36: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:36: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:36: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:36: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:36: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:64, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:64, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:38: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:38: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:47: src/widget.h:97:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr backg; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:47: src/widget.h:98:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr skbackg; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:47: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:47: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:47: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:47: src/widget.h:102:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sbarbackg; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:47: src/widget.h:103:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sbarsurf; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:47: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:47: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:47: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:47: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:47: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:47: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:47: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:47: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:47: src/widget.h:528:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mdl; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:47: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:47: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:35, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:35, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:50: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:50: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:50: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:50: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:50: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:50: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/music.h:37, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/subsim.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/ai.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/ai.cpp In file included from src/game.h:64, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/ai.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:64, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/ai.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/ai.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/ai.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/ai.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/ai.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/ai.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/ai.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/ai.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/ai.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/ai.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/ai.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ai.cpp:25: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/ai.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ai.cpp:25: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/ai.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ai.cpp:26: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/ai.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/ai.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/ai.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/ai.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/ai.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ai.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/ai.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/ai.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/ai.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/ai.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/ai.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/airplane.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/airplane.cpp In file included from src/sea_object.h:27, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.h:27, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/airplane.h:26, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:29, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/airplane.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/airplane.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/airplane.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/airplane.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/airplane.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/airplane.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/airplane.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/airplane.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/airplane.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/airplane.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/airplane.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/airplane.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/airplane.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/airplane.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/airplane.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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); ^~~~ c++ -o src/bitstream.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/bitstream.cpp c++ -o src/bzip.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/bzip.cpp c++ -o src/cfg.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/cfg.cpp c++ -o src/coastmap.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/coastmap.cpp In file included from src/coastmap.h:29, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.cpp:38: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.cpp:38: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.cpp:38: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.cpp:38: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.cpp:38: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.cpp:38: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.cpp:38: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.cpp:38: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.cpp:38: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.cpp:38: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.cpp:38: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.cpp:38: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.cpp:38: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.cpp:38: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.cpp:38: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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); ^~~~~~ c++ -o src/convoy.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/convoy.cpp In file included from src/convoy.cpp:23: 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/local/include/c++/8.4.0/memory:80, from src/convoy.h:30, from src/convoy.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:64, 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/local/include/c++/8.4.0/memory:80, from src/convoy.h:30, from src/convoy.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:64, 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/local/include/c++/8.4.0/memory:80, from src/convoy.h:30, from src/convoy.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/convoy.h:30, from src/convoy.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/convoy.h:30, from src/convoy.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/convoy.h:30, from src/convoy.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/convoy.h:30, from src/convoy.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/convoy.h:30, from src/convoy.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/convoy.h:30, from src/convoy.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/convoy.h:30, from src/convoy.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/convoy.h:30, from src/convoy.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/convoy.h:30, from src/convoy.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/convoy.h:30, from src/convoy.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/convoy.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/convoy.h:30, from src/convoy.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/convoy.cpp:24: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/convoy.h:30, from src/convoy.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/convoy.h:30, from src/convoy.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/convoy.h:30, from src/convoy.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/convoy.h:30, from src/convoy.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/convoy.h:30, from src/convoy.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27, 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/local/include/c++/8.4.0/memory:80, from src/convoy.h:30, from src/convoy.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/convoy.h:30, from src/convoy.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/convoy.h:30, from src/convoy.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/convoy.h:30, from src/convoy.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/convoy.h:30, from src/convoy.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:29, 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/local/include/c++/8.4.0/memory:80, from src/convoy.h:30, from src/convoy.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/convoy.cpp:30: 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/local/include/c++/8.4.0/memory:80, from src/convoy.h:30, from src/convoy.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/convoy.cpp:30: 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/local/include/c++/8.4.0/memory:80, from src/convoy.h:30, from src/convoy.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/convoy.cpp:30: 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/local/include/c++/8.4.0/memory:80, from src/convoy.h:30, from src/convoy.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/convoy.cpp:30: 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/local/include/c++/8.4.0/memory:80, from src/convoy.h:30, from src/convoy.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/convoy.cpp:30: 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/local/include/c++/8.4.0/memory:80, from src/convoy.h:30, from src/convoy.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/convoy.cpp:30: 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/local/include/c++/8.4.0/memory:80, from src/convoy.h:30, from src/convoy.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/convoy.cpp:30: 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/local/include/c++/8.4.0/memory:80, from src/convoy.h:30, from src/convoy.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/convoy.cpp:30: 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/local/include/c++/8.4.0/memory:80, from src/convoy.h:30, from src/convoy.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/convoy.cpp:30: 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/local/include/c++/8.4.0/memory:80, from src/convoy.h:30, from src/convoy.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/convoy.cpp:30: 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/local/include/c++/8.4.0/memory:80, from src/convoy.h:30, from src/convoy.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/convoy.cpp:30: 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/local/include/c++/8.4.0/memory:80, from src/convoy.h:30, from src/convoy.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/convoy.cpp:30: 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/local/include/c++/8.4.0/memory:80, from src/convoy.h:30, from src/convoy.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/convoy.cpp:30: 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/local/include/c++/8.4.0/memory:80, from src/convoy.h:30, from src/convoy.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/convoy.cpp:30: 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/local/include/c++/8.4.0/memory:80, from src/convoy.h:30, from src/convoy.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/convoy.cpp:30: 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/local/include/c++/8.4.0/memory:80, from src/convoy.h:30, from src/convoy.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/countrycodes.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/countrycodes.cpp c++ -o src/credits.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/credits.cpp In file included from src/credits.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/credits.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/font.h:30, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/credits.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/font.h:30, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/credits.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/credits.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/credits.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/credits.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/credits.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/credits.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/credits.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/credits.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/credits.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/credits.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/credits.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/credits.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/credits.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/credits.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/credits.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/credits.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/credits.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/credits.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/credits.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/credits.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/credits.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/credits.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/credits.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/credits.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:35, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/credits.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.cpp:29: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/credits.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/credits.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/credits.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/credits.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/credits.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/credits.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/credits.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/credits.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/credits.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/credits.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/credits.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/credits.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/credits.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/date.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/date.cpp c++ -o src/daysky.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/daysky.cpp c++ -o src/depth_charge.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/depth_charge.cpp In file included from src/sea_object.h:27, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.h:27, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/depth_charge.h:26, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:29, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/depth_charge.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/depth_charge.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/depth_charge.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/depth_charge.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/depth_charge.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/depth_charge.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/depth_charge.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/depth_charge.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/depth_charge.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/depth_charge.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/depth_charge.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/depth_charge.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/depth_charge.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/depth_charge.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/depth_charge.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/depth_charge.cpp:27: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/depth_charge.cpp:27: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/event.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/event.cpp In file included from src/sea_object.h:27, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.h:27, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:29, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.h:29, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:35, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:35, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/event.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/event.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/event.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/event.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/event.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/event.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/music.h:37, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/freeview_display.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/freeview_display.cpp In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:26: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:26: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:29, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:35, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:35, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:35: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:35: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:35: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:35, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:37: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:38: src/water.h:56:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr reflectiontex; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:38: src/water.h:57:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr foamtex; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:38: src/water.h:58:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr foamamounttex; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:38: src/water.h:59:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr foamamounttrail; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:38: src/water.h:60:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr foamperimetertex; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:38: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:38: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:38: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:38: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:38: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:38: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:38: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/game.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/game.cpp In file included from src/game.h:64, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:64, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:40: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:40: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:47: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:47: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:47: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:29, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:48: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:48: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:48: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:48: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:48: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:48: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:48: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:48: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:48: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:48: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:48: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:48: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:48: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:48: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:48: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:35, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:35, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:50: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:50: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:50: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:50: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:50: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:50: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:51: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:55: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:62: src/water.h:56:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr reflectiontex; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:62: src/water.h:57:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr foamtex; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:62: src/water.h:58:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr foamamounttex; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:62: src/water.h:59:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr foamamounttrail; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:62: src/water.h:60:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr foamperimetertex; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:62: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:62: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:62: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:62: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:62: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:62: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:62: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:65: src/terrain.h:58:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr frac; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:65: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game.cpp:40: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/game_editor.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/game_editor.cpp In file included from src/game.h:64, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:64, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.h:26, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.h:26, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:42: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:42: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:42: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:29, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:43: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:43: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:43: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:43: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:43: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:43: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:43: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:43: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:43: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:43: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:43: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:43: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:43: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:43: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:43: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:35, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:35, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:45: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:45: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:45: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:45: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:45: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:45: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:46: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:50: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/game_editor.h:26, from src/game_editor.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/gun_shell.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/gun_shell.cpp In file included from src/sea_object.h:27, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.h:27, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.h:26, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:29, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.cpp:27: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.cpp:27: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.cpp:29: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.cpp:29: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.cpp:29: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/height_generator_map.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/height_generator_map.cpp In file included from src/height_generator.h:29, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/height_generator.h:31, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/height_generator.h:31, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/height_generator_map.h:25, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/highscorelist.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/highscorelist.cpp In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25: src/widget.h:97:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr backg; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25: src/widget.h:98:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr skbackg; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25: src/widget.h:102:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sbarbackg; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25: src/widget.h:103:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sbarsurf; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25: src/widget.h:528:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mdl; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/highscorelist.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/keys.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/keys.cpp c++ -o src/logbook.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/logbook.cpp c++ -o src/logbook_display.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/logbook_display.cpp In file included from src/game.h:64, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:64, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/logbook_display.cpp:27: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/logbook_display.cpp:27: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_display.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/logbook_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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/logbook_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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/logbook_display.cpp:30: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:29, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/logbook_display.cpp:35: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/logbook_display.cpp:35: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/logbook_display.cpp:35: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/logbook_display.cpp:35: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/logbook_display.cpp:35: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/logbook_display.cpp:35: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/logbook_display.cpp:27: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/map_display.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/map_display.cpp In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.cpp:26: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.cpp:26: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:26, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:26, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.cpp:29: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.cpp:29: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.cpp:29: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.cpp:29: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.cpp:29: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.cpp:29: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.cpp:29: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:29, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.cpp:38: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/message_queue.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/message_queue.cpp In file included from src/message_queue.cpp:23: 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/local/include/c++/8.4.0/memory:80, from src/message_queue.h:28, from src/message_queue.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/music.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/music.cpp In file included from src/music.h:37, 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/local/include/c++/8.4.0/memory:80, from src/message_queue.h:28, from src/music.h:37, from src/music.cpp:22: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/message_queue.h:28, from src/music.h:37, from src/music.cpp:22: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/message_queue.h:28, from src/music.h:37, from src/music.cpp:22: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/message_queue.h:28, from src/music.h:37, from src/music.cpp:22: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/message_queue.h:28, from src/music.h:37, from src/music.cpp:22: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/message_queue.h:28, from src/music.h:37, from src/music.cpp:22: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/message_queue.h:28, from src/music.h:37, from src/music.cpp:22: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/message_queue.h:28, from src/music.h:37, from src/music.cpp:22: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/message_queue.h:28, from src/music.h:37, from src/music.cpp:22: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/message_queue.h:28, from src/music.h:37, from src/music.cpp:22: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/message_queue.h:28, from src/music.h:37, from src/music.cpp:22: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/message_queue.h:28, from src/music.h:37, from src/music.cpp:22: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/message_queue.h:28, from src/music.h:37, from src/music.cpp:22: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/message_queue.h:28, from src/music.h:37, from src/music.cpp:22: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/message_queue.h:28, from src/music.h:37, from src/music.cpp:22: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/parser.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/parser.cpp c++ -o src/particle.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/particle.cpp In file included from src/game.h:64, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/particle.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:64, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/particle.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/particle.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/particle.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/particle.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/particle.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/particle.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/particle.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/particle.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/particle.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/particle.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/particle.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/particle.cpp:23: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/particle.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/particle.cpp:23: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/particle.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/particle.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/particle.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/particle.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/particle.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/particle.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/particle.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/sea_object.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/sea_object.cpp In file included from src/sea_object.h:27, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.h:27, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:29, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.cpp:31: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.cpp:31: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/sensors.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/sensors.cpp In file included from src/sea_object.h:27, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.h:27, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sensors.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sensors.cpp:26: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sensors.cpp:26: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/ship.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/ship.cpp In file included from src/sea_object.h:27, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.h:27, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:29, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.cpp:25: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.cpp:25: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/ships_sunk_display.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/ships_sunk_display.cpp In file included from src/model.h:29, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:64, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:64, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:26: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:26: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.h:26, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.h:26, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:29, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/ships_sunk_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/sky.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/sky.cpp In file included from src/model.h:29, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:35, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.cpp:32: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:64, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:64, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.cpp:39: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.cpp:39: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ 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 were 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; ^~ c++ -o src/moon.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/moon.cpp In file included from src/moon.h:25, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/moon.h:25, from src/moon.cpp:28: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/moon.h:26, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/moon.h:25, from src/moon.cpp:28: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/moon.h:26, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/moon.h:25, from src/moon.cpp:28: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/moon.h:26, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/moon.h:25, from src/moon.cpp:28: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/moon.h:26, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/moon.h:25, from src/moon.cpp:28: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/moon.cpp:28: 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/moon.h:25, from src/moon.cpp:28: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/simplex_noise.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/simplex_noise.cpp c++ -o src/stars.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/stars.cpp In file included from src/stars.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/local/include/c++/8.4.0/memory:80, from src/shader.h:32, from src/stars.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/stars.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/local/include/c++/8.4.0/memory:80, from src/shader.h:32, from src/stars.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/stars.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/local/include/c++/8.4.0/memory:80, from src/shader.h:32, from src/stars.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/stars.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/local/include/c++/8.4.0/memory:80, from src/shader.h:32, from src/stars.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/sonar.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/sonar.cpp In file included from src/game.h:64, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/sonar.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:64, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/sonar.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/sonar.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/sonar.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/sonar.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/sonar.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/sonar.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/sonar.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/sonar.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/sonar.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/sonar.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/sonar.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sonar.cpp:26: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/sonar.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sonar.cpp:26: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/sonar.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/sonar.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/sonar.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/sonar.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/sonar.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/sonar.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/sonar.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/sonar.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/sonar.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/game.h:64, from src/sonar.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/sonar_operator.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/sonar_operator.cpp In file included from src/sea_object.h:27, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.h:27, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sonar_operator.cpp:25: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sonar_operator.cpp:25: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53: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"); ^~ c++ -o src/submarine.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/submarine.cpp In file included from src/sea_object.h:27, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.h:27, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:29, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:24: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:24: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:24: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:24: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:24: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:24: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:24: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:24: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:24: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:24: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:24: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:24: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:24: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:24: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:24: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:25: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:25: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:35, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:35, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:32: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:32: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:32: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:32: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:32: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:32: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/submarine_interface.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/submarine_interface.cpp In file included 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: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included 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: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.h:29, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:35, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:35, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:37: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:39: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:39: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:42: src/widget.h:97:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr backg; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:42: src/widget.h:98:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr skbackg; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:42: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:42: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:42: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:42: src/widget.h:102:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sbarbackg; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:42: src/widget.h:103:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sbarsurf; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:42: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:42: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:42: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:42: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:42: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:42: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:42: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:42: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:42: src/widget.h:528:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mdl; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:42: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:42: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/music.h:37, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:50: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:50: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:50: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:50: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:50: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:50: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:50: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:50: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:51: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:51: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:54: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:54: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:54: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:54: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:54: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:54: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:54: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:55: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:55: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:55: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:55: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:55: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:55: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:55: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:55: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:55: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:55: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:55: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:55: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:55: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:55: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:55: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:55: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:55: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:55: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:55: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:55: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:55: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:56: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:56: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:57: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:59: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:59: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:59: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:59: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:59: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:60: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:60: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:60: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:60: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:60: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:60: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:60: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:60: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:61: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:61: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:62: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:62: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:63: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:63: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:64: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:65: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:65: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:65: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:65: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:66: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:67: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:71: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:71: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:72: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:72: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:73: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:73: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:74: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:74: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/sub_bg_display.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/sub_bg_display.cpp In file included from src/user_display.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_bg_display.h:26, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_bg_display.h:26, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_bg_display.cpp:23: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_bg_display.cpp:23: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_bg_display.cpp:27: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_bg_display.cpp:27: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_bg_display.cpp:28: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53: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; ^~ c++ -o src/sub_bridge_display.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/sub_bridge_display.cpp In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_bridge_display.cpp:26: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_bridge_display.cpp:26: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.h:26, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.h:26, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:29, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_bridge_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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_bridge_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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_bridge_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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_bridge_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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_bridge_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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_bridge_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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/sub_captainscabin_display.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/sub_captainscabin_display.cpp In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_captainscabin_display.cpp:26: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_captainscabin_display.cpp:26: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_captainscabin_display.h:26, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_captainscabin_display.h:26, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included 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/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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_captainscabin_display.cpp:28: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_captainscabin_display.cpp:31: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/sub_control_popup.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/sub_control_popup.cpp In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, from src/sub_control_popup.h:26, from src/sub_control_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, from src/sub_control_popup.h:26, from src/sub_control_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31, 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/local/include/c++/8.4.0/memory:80, from src/sub_control_popup.h:26, from src/sub_control_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_control_popup.cpp:23: 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/local/include/c++/8.4.0/memory:80, from src/sub_control_popup.h:26, from src/sub_control_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_control_popup.cpp:23: 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/local/include/c++/8.4.0/memory:80, from src/sub_control_popup.h:26, from src/sub_control_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/sub_control_popup.h:26, from src/sub_control_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/sub_control_popup.h:26, from src/sub_control_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/sub_control_popup.h:26, from src/sub_control_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/sub_control_popup.h:26, from src/sub_control_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/sub_control_popup.h:26, from src/sub_control_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/sub_control_popup.h:26, from src/sub_control_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/sub_control_popup.h:26, from src/sub_control_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/sub_control_popup.h:26, from src/sub_control_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/sub_control_popup.h:26, from src/sub_control_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/sub_control_popup.h:26, from src/sub_control_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_control_popup.cpp:26: 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/local/include/c++/8.4.0/memory:80, from src/sub_control_popup.h:26, from src/sub_control_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_control_popup.cpp:26: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/sub_control_popup.h:26, from src/sub_control_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/sub_ecard_popup.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/sub_ecard_popup.cpp In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, from src/sub_ecard_popup.h:26, from src/sub_ecard_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, from src/sub_ecard_popup.h:26, from src/sub_ecard_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31, 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/local/include/c++/8.4.0/memory:80, from src/sub_ecard_popup.h:26, from src/sub_ecard_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_ecard_popup.cpp:23: 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/local/include/c++/8.4.0/memory:80, from src/sub_ecard_popup.h:26, from src/sub_ecard_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_ecard_popup.cpp:23: 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/local/include/c++/8.4.0/memory:80, from src/sub_ecard_popup.h:26, from src/sub_ecard_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/sub_ecard_popup.h:26, from src/sub_ecard_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/sub_ecard_popup.h:26, from src/sub_ecard_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/sub_ecard_popup.h:26, from src/sub_ecard_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/sub_ecard_popup.h:26, from src/sub_ecard_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/sub_ecard_popup.h:26, from src/sub_ecard_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/sub_ecard_popup.h:26, from src/sub_ecard_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/sub_ecard_popup.h:26, from src/sub_ecard_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/sub_ecard_popup.h:26, from src/sub_ecard_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/sub_ecard_popup.h:26, from src/sub_ecard_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/sub_ecard_popup.h:26, from src/sub_ecard_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_ecard_popup.cpp:26: 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/local/include/c++/8.4.0/memory:80, from src/sub_ecard_popup.h:26, from src/sub_ecard_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_ecard_popup.cpp:26: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/sub_ecard_popup.h:26, from src/sub_ecard_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/sub_damage_display.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/sub_damage_display.cpp In file included from src/font.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/font.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_display.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_damage_display.cpp:31: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_damage_display.cpp:31: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:29, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_damage_display.cpp:32: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_damage_display.cpp:32: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_damage_display.cpp:32: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_damage_display.cpp:32: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_damage_display.cpp:32: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_damage_display.cpp:32: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_damage_display.cpp:33: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_damage_display.cpp:33: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_damage_display.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_damage_display.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/font.h:30, from src/sub_damage_display.cpp:29: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/sub_gauges_display.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/sub_gauges_display.cpp In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_display.cpp:26: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_display.cpp:26: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_display.h:26, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_display.h:26, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_display.cpp:28: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_display.cpp:28: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_display.cpp:28: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_display.cpp:28: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_display.cpp:28: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_display.cpp:28: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_display.cpp:28: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_display.cpp:28: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/sub_ghg_display.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/sub_ghg_display.cpp In file included from src/user_display.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_ghg_display.h:26, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_ghg_display.h:26, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_ghg_display.cpp:23: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_ghg_display.cpp:23: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_ghg_display.cpp:27: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_ghg_display.cpp:27: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_ghg_display.cpp:28: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53: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; ^~ c++ -o src/sub_kdb_display.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/sub_kdb_display.cpp In file included from src/user_display.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_kdb_display.h:26, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_kdb_display.h:26, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_kdb_display.cpp:23: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_kdb_display.cpp:23: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_kdb_display.cpp:27: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_kdb_display.cpp:27: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_kdb_display.cpp:28: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53: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); ^~~~ c++ -o src/sub_periscope_display.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/sub_periscope_display.cpp In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_periscope_display.cpp:26: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_periscope_display.cpp:26: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.h:26, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.h:26, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_periscope_display.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_periscope_display.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_periscope_display.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_periscope_display.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_periscope_display.cpp:27: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_periscope_display.cpp:27: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_periscope_display.cpp:28: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/sub_recogmanual_display.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/sub_recogmanual_display.cpp In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_display.cpp:24: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_display.cpp:24: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_display.h:26, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_display.h:26, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_display.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_display.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_display.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_display.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_display.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_display.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_display.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_display.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_display.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_display.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_display.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_display.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_display.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_display.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_display.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_display.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_display.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_display.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_display.cpp:26: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_display.cpp:27: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_recogmanual_display.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/sub_soldbuch_display.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/sub_soldbuch_display.cpp In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_soldbuch_display.cpp:26: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_soldbuch_display.cpp:26: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_soldbuch_display.h:26, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_soldbuch_display.h:26, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_soldbuch_display.cpp:28: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_soldbuch_display.cpp:28: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_soldbuch_display.cpp:28: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_soldbuch_display.cpp:28: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_soldbuch_display.cpp:30: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_soldbuch_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/sub_tdc_display.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/sub_tdc_display.cpp In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_tdc_display.cpp:26: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_tdc_display.cpp:26: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_tdc_display.h:26, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_tdc_display.h:26, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_tdc_display.cpp:27: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_tdc_display.cpp:27: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_tdc_display.cpp:27: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_tdc_display.cpp:27: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_tdc_display.cpp:27: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_tdc_display.cpp:28: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/sub_tdc_popup.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/sub_tdc_popup.cpp In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, from src/sub_tdc_popup.h:26, from src/sub_tdc_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, from src/sub_tdc_popup.h:26, from src/sub_tdc_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31, 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/local/include/c++/8.4.0/memory:80, from src/sub_tdc_popup.h:26, from src/sub_tdc_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_tdc_popup.cpp:23: 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/local/include/c++/8.4.0/memory:80, from src/sub_tdc_popup.h:26, from src/sub_tdc_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_tdc_popup.cpp:23: 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/local/include/c++/8.4.0/memory:80, from src/sub_tdc_popup.h:26, from src/sub_tdc_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/sub_tdc_popup.h:26, from src/sub_tdc_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/sub_tdc_popup.h:26, from src/sub_tdc_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/sub_tdc_popup.h:26, from src/sub_tdc_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/sub_tdc_popup.h:26, from src/sub_tdc_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/sub_tdc_popup.h:26, from src/sub_tdc_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/sub_tdc_popup.h:26, from src/sub_tdc_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/sub_tdc_popup.h:26, from src/sub_tdc_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/sub_tdc_popup.h:26, from src/sub_tdc_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/sub_tdc_popup.h:26, from src/sub_tdc_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/sub_tdc_popup.h:26, from src/sub_tdc_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_tdc_popup.cpp:26: 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/local/include/c++/8.4.0/memory:80, from src/sub_tdc_popup.h:26, from src/sub_tdc_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_tdc_popup.cpp:26: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/sub_tdc_popup.h:26, from src/sub_tdc_popup.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/sub_torpedo_display.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/sub_torpedo_display.cpp In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:26: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:26: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.h:26, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.h:26, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included 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/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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/sub_torpsetup_display.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/sub_torpsetup_display.cpp In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpsetup_display.cpp:25: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpsetup_display.cpp:25: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpsetup_display.h:26, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpsetup_display.h:26, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpsetup_display.cpp:26: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpsetup_display.cpp:26: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpsetup_display.cpp:26: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpsetup_display.cpp:26: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpsetup_display.cpp:26: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpsetup_display.cpp:26: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpsetup_display.cpp:26: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpsetup_display.cpp:26: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpsetup_display.cpp:27: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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; ^~ c++ -o src/sub_uzo_display.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/sub_uzo_display.cpp In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_uzo_display.cpp:26: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_uzo_display.cpp:26: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.h:26, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.h:26, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_uzo_display.cpp:29: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/sub_valves_display.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/sub_valves_display.cpp In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_valves_display.h:25, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_valves_display.h:25, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_valves_display.h:26, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_valves_display.h:26, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:29, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_valves_display.h:27, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_valves_display.h:27, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_valves_display.h:27, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_valves_display.h:27, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_valves_display.h:27, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_valves_display.h:27, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_valves_display.cpp:20: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/tdc.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/tdc.cpp c++ -o src/texts.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/global_data.h:60, from src/texts.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/tone_reproductor.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/tone_reproductor.cpp c++ -o src/torpedo.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/torpedo.cpp In file included from src/sea_object.h:27, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.h:27, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:29, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo.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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo.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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo.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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo.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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo.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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo.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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo.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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo.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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo.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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo.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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo.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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo.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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo.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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo.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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo.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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo.cpp:27: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo.cpp:27: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/torpedo_camera_display.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/torpedo_camera_display.cpp In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo_camera_display.cpp:26: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo_camera_display.cpp:26: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.h:26, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.h:26, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo_camera_display.cpp:29: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/triangulate.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/triangulate.cpp c++ -o src/user_interface.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/user_interface.cpp In file included from src/sea_object.h:27, 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.h:27, 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:29, 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.h:29, 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31, 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31, 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33, 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:35, 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:35, 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:35: 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:35: 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:35: 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:35: 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:35: 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:35: 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:37: 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:37: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:39: 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:39: 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:39: 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:39: 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:39: 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:39: 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:39: 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:39: 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:39: 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:39: 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:39: 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:39: 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:39: 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:39: 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:39: 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44: src/widget.h:97:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr backg; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44: src/widget.h:98:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr skbackg; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44: 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44: 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44: 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44: src/widget.h:102:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sbarbackg; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44: src/widget.h:103:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sbarsurf; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44: 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44: 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44: 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44: 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44: 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44: 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44: 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44: 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44: src/widget.h:528:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mdl; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44: 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44: 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:45: 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:35, 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:49: 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:51: src/water.h:56:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr reflectiontex; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:51: src/water.h:57:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr foamtex; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:51: src/water.h:58:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr foamamounttex; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:51: src/water.h:59:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr foamamounttrail; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:51: src/water.h:60:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr foamperimetertex; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:51: 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:51: 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:51: 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:51: 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:51: 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:51: 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:51: 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/music.h:37, 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/user_interface.cpp:34: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/caustics.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/caustics.cpp In file included from src/caustics.h:31, 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/caustics.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/caustics.h:31, 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/caustics.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/caustics.h:32, 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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/caustics.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/bits/locale_conv.h:41, from /usr/local/include/c++/8.4.0/locale:43, from /usr/local/include/c++/8.4.0/iomanip:43, from src/caustics.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/water.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/water.cpp In file included from src/water.h:36, 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/local/include/c++/8.4.0/memory:80, from src/water.h:32, from src/water.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.h:27, 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/local/include/c++/8.4.0/memory:80, from src/water.h:32, from src/water.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.h:27, 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/local/include/c++/8.4.0/memory:80, from src/water.h:32, from src/water.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/water.h:32, from src/water.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/water.h:32, from src/water.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/water.h:32, from src/water.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/water.h:32, from src/water.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27, 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/local/include/c++/8.4.0/memory:80, from src/water.h:32, from src/water.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/water.h:32, from src/water.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/water.h:32, from src/water.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/water.h:32, from src/water.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:28, 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/local/include/c++/8.4.0/memory:80, from src/water.h:32, from src/water.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water.cpp:32: src/water.h:56:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr reflectiontex; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/water.h:32, from src/water.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water.cpp:32: src/water.h:57:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr foamtex; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/water.h:32, from src/water.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water.cpp:32: src/water.h:58:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr foamamounttex; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/water.h:32, from src/water.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water.cpp:32: src/water.h:59:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr foamamounttrail; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/water.h:32, from src/water.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water.cpp:32: src/water.h:60:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr foamperimetertex; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/water.h:32, from src/water.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water.cpp:32: 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/local/include/c++/8.4.0/memory:80, from src/water.h:32, from src/water.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water.cpp:32: 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/local/include/c++/8.4.0/memory:80, from src/water.h:32, from src/water.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water.cpp:32: 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/local/include/c++/8.4.0/memory:80, from src/water.h:32, from src/water.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water.cpp:32: 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/local/include/c++/8.4.0/memory:80, from src/water.h:32, from src/water.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water.cpp:32: 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/local/include/c++/8.4.0/memory:80, from src/water.h:32, from src/water.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water.cpp:32: 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/local/include/c++/8.4.0/memory:80, from src/water.h:32, from src/water.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water.cpp:32: 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/local/include/c++/8.4.0/memory:80, from src/water.h:32, from src/water.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/water.h:32, from src/water.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/water.h:32, from src/water.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/water.h:32, from src/water.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/water.h:32, from src/water.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/water.h:32, from src/water.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/water.h:32, from src/water.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/water.h:32, from src/water.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/water.h:32, from src/water.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/water.h:32, from src/water.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/water.h:32, from src/water.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water.cpp:38: 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/local/include/c++/8.4.0/memory:80, from src/water.h:32, from src/water.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water.cpp:38: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/water.h:32, from src/water.cpp:32: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/water_splash.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/water_splash.cpp In file included from src/sea_object.h:27, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.h:27, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water_splash.h:25, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water_splash.cpp:22: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water_splash.cpp:22: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water_splash.cpp:22: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water_splash.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water_splash.cpp:25: 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water_splash.cpp:25: src/game.h:207:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr myheightgen; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/dftdtester/tests.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/dftdtester/tests.cpp c++ -o src/sub_recogmanual_popup.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/sub_recogmanual_popup.cpp In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:69, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_popup.h:26, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_popup.h:26, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_popup.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_popup.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_popup.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_popup.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_popup.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_popup.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_popup.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_popup.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_popup.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_popup.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_popup.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_popup.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_popup.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_popup.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_popup.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_popup.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_popup.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_popup.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_popup.cpp:20: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_recogmanual_popup.cpp:20: 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/filehelper.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/filehelper.cpp c++ -o src/widget.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/widget.cpp In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:33, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:31, from src/widget.cpp:26: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ src/widget.cpp: In constructor 'widget_text::widget_text(xml_elem&, widget*)': src/widget.cpp:108:23: warning: '*.widget_text::.widget::parent' is used uninitialized in this function [-Wuninitialized] : widget(elem, parent) ^ src/widget.cpp: In constructor 'widget_checkbox::widget_checkbox(xml_elem&, widget*)': src/widget.cpp:115:23: warning: '*.widget_checkbox::.widget::parent' is used uninitialized in this function [-Wuninitialized] : widget(elem, parent) ^ src/widget.cpp: In constructor 'widget_button::widget_button(xml_elem&, widget*)': src/widget.cpp:125:39: warning: '*.widget_button::.widget::parent' is used uninitialized in this function [-Wuninitialized] : widget(elem, parent), pressed(false) ^ c++ -o src/frustum.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/frustum.cpp In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, 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/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/datadirs.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -DDATADIR=\"/usr/local/share/dangerdeep/\" -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/datadirs.cpp c++ -o src/global_data.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -DVERSION=\"0.4.0_pre3327\" -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/global_data.cpp In file included from src/model.h:29, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/global_data.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/global_data.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/global_data.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/global_data.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/global_data.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/global_data.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/global_data.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/global_data.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/global_data.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/global_data.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/global_data.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/global_data.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/global_data.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/global_data.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/global_data.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/global_data.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/thread.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/thread.cpp c++ -o src/mutex.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/mutex.cpp c++ -o src/condvar.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/condvar.cpp c++ -o src/log.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/log.cpp c++ -o src/bv_tree.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/bv_tree.cpp In file included from src/bv_tree.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/local/include/c++/8.4.0/memory:80, from src/bv_tree.h:28, from src/bv_tree.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/bv_tree.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/local/include/c++/8.4.0/memory:80, from src/bv_tree.h:28, from src/bv_tree.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/bv_tree.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/local/include/c++/8.4.0/memory:80, from src/bv_tree.h:28, from src/bv_tree.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/bv_tree.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/local/include/c++/8.4.0/memory:80, from src/bv_tree.h:28, from src/bv_tree.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/bv_tree.h:28, from src/bv_tree.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/bv_tree.h:28, from src/bv_tree.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/bv_tree.h:28, from src/bv_tree.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/bv_tree.h:28, from src/bv_tree.cpp:24: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/error.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/error.cpp c++ -o src/framebufferobject.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/framebufferobject.cpp In file included from src/framebufferobject.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/framebufferobject.cpp:25: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/font.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/font.cpp In file included from src/font.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/font.h:30, from src/font.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/font.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/font.h:30, from src/font.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/font.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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/font.h:30, from src/font.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/font.h:30, from src/font.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/font.h:30, from src/font.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/font.h:30, from src/font.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/font.h:30, from src/font.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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]; ^~ c++ -o src/fpsmeasure.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/fpsmeasure.cpp c++ -o src/geoclipmap.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/geoclipmap.cpp In file included from src/geoclipmap.h:25, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/geoclipmap.h:25, from src/geoclipmap.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:26, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/geoclipmap.h:25, from src/geoclipmap.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:26, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/geoclipmap.h:25, from src/geoclipmap.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:26, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/geoclipmap.h:25, from src/geoclipmap.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:26, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/geoclipmap.h:25, from src/geoclipmap.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:28, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/geoclipmap.h:25, from src/geoclipmap.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:28, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/geoclipmap.h:25, from src/geoclipmap.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.h:31, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/geoclipmap.h:25, from src/geoclipmap.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/geoclipmap.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/geoclipmap.h:25, from src/geoclipmap.cpp:20: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/image.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/image.cpp In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/image.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/image.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31, 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/local/include/c++/8.4.0/memory:80, from src/ptrvector.h:28, from src/image.h:30, from src/image.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/make_mesh.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/make_mesh.cpp In file included from src/model.h:29, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/make_mesh.h:26, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/make_mesh.h:26, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/make_mesh.h:26, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/make_mesh.h:26, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/make_mesh.h:26, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/make_mesh.h:26, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/make_mesh.h:26, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/make_mesh.h:26, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/make_mesh.h:26, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/make_mesh.h:26, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/make_mesh.h:26, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/make_mesh.h:26, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/make_mesh.h:26, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/make_mesh.h:26, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/make_mesh.h:26, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/model.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/model.cpp In file included from src/model.h:29, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:31, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:33, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/caustics.h:31, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/caustics.h:31, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ src/model.cpp: At global scope: src/model.cpp:78:1: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr model::glsl_plastic; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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_specular; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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_caustic; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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_color_normal_specular_caustic; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ src/model.cpp:84:1: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr model::glsl_mirror_clip; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ src/model.cpp:429: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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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:433:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] return std::auto_ptr(new triangle_iterator(indices)); ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ src/model.cpp:435: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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ src/model.cpp: In member function 'void model::mesh::compute_normals()': src/model.cpp:539:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tit(get_tri_iterator()); ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ src/model.cpp:575:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tit(get_tri_iterator()); ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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:810:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tit(get_tri_iterator()); ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ src/model.cpp:820:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr otit(other.get_tri_iterator()); ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ src/model.cpp: In member function 'void model::mesh::compile()': src/model.cpp:855: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:1099:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tit(get_tri_iterator()); ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ src/model.cpp: In member function 'double model::mesh::compute_volume() const': src/model.cpp:1132:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tit(get_tri_iterator()); ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ src/model.cpp:1144: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:1163:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tit(get_tri_iterator()); ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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:1286:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tit(get_tri_iterator()); ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ src/model.cpp: In member function 'void model::mesh::compute_bv_tree()': src/model.cpp:1329:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tit(get_tri_iterator()); ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ src/model.cpp: In member function 'void model::mesh::display(const texture*) const': src/model.cpp:1725: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:2368:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mat; ^~~~~~~~ In file included from /usr/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/model.h:29, from src/model.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/perlinnoise.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/perlinnoise.cpp c++ -o src/primitives.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/primitives.cpp In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/shader.h:32, from src/primitives.h:28, from src/primitives.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/shader.h:32, from src/primitives.h:28, from src/primitives.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/shader.h:32, from src/primitives.h:28, from src/primitives.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/shader.h:32, from src/primitives.h:28, from src/primitives.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/shader.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/shader.cpp In file included from src/shader.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/local/include/c++/8.4.0/memory:80, from src/shader.h:32, from src/shader.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/shader.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/local/include/c++/8.4.0/memory:80, from src/shader.h:32, from src/shader.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/shader.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/local/include/c++/8.4.0/memory:80, from src/shader.h:32, from src/shader.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/shader.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/local/include/c++/8.4.0/memory:80, from src/shader.h:32, from src/shader.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/shader.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/local/include/c++/8.4.0/memory:80, from src/shader.h:32, from src/shader.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/shader.h:32, from src/shader.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/shader.h:32, from src/shader.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/shader.h:32, from src/shader.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/shader.h:32, from src/shader.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53: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/local/include/c++/8.4.0/memory:80, from src/shader.h:32, from src/shader.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/postprocessor.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/postprocessor.cpp In file included from src/postprocessor.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/local/include/c++/8.4.0/memory:80, from src/shader.h:32, from src/postprocessor.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/postprocessor.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/local/include/c++/8.4.0/memory:80, from src/shader.h:32, from src/postprocessor.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/postprocessor.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/local/include/c++/8.4.0/memory:80, from src/shader.h:32, from src/postprocessor.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/postprocessor.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/local/include/c++/8.4.0/memory:80, from src/shader.h:32, from src/postprocessor.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/postprocessor.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/local/include/c++/8.4.0/memory:80, from src/shader.h:32, from src/postprocessor.cpp:23: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/system.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/system.cpp In file included from src/system.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/system.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/font.h:30, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/system.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/font.h:30, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/system.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/system.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/system.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/system.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/system.cpp:35: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/texture.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/texture.cpp In file included from src/texture.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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/texture.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/texture.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/texture.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/texture.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/primitives.h:28, 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/local/include/c++/8.4.0/memory:80, from src/texture.h:44, from src/texture.cpp:36: /usr/local/include/c++/8.4.0/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ -o src/vertexbufferobject.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/vertexbufferobject.cpp c++ -o src/xml.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/xml.cpp ar rc src/libdftdmedia.a src/bv_tree.o src/cfg.o src/error.o src/framebufferobject.o src/font.o src/fpsmeasure.o src/geoclipmap.o src/image.o src/keys.o src/make_mesh.o src/model.o src/perlinnoise.o src/primitives.o src/shader.o src/postprocessor.o src/system.o src/texture.o src/vertexbufferobject.o src/xml.o ranlib src/libdftdmedia.a c++ -o src/tinyxml/tinyxml.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/tinyxml/tinyxml.cpp c++ -o src/tinyxml/tinyxmlerror.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/tinyxml/tinyxmlerror.cpp c++ -o src/tinyxml/tinyxmlparser.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/tinyxml/tinyxmlparser.cpp ar rc src/libtinyxml.a src/tinyxml/tinyxml.o src/tinyxml/tinyxmlerror.o src/tinyxml/tinyxmlparser.o ranlib src/libtinyxml.a c++ -o src/oglext/OglExt.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/oglext/OglExt.cpp In file included from src/oglext/glext.h:41, from src/oglext/OglExt.h:28, from src/oglext/OglExt.cpp:28: /usr/X11R6/include/GL/gl.h:50: warning: "GLAPI" redefined # define GLAPI __attribute__((visibility("default"))) src/oglext/OglExt.cpp:24: note: this is the location of the previous definition #define GLAPI c++ -o src/oglext/RenderingContext.o -c -O2 -pipe -Wall `sdl-config --cflags` `pkg-config --cflags x11` -DDEBUG -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL -I/usr/X11R6/include -I/usr/X11R6/include/GL src/oglext/RenderingContext.cpp ar rc src/liboglext.a src/oglext/OglExt.o src/oglext/RenderingContext.o ranlib src/liboglext.a c++ -o src/dangerdeep `pkg-config --libs-only-L x11` src/subsim.o src/ai.o src/airplane.o src/bitstream.o src/bzip.o src/cfg.o src/coastmap.o src/convoy.o src/countrycodes.o src/credits.o src/date.o src/daysky.o src/depth_charge.o src/event.o src/freeview_display.o src/game.o src/game_editor.o src/gun_shell.o src/height_generator_map.o src/highscorelist.o src/keys.o src/logbook.o src/logbook_display.o src/map_display.o src/message_queue.o src/music.o src/parser.o src/particle.o src/sea_object.o src/sensors.o src/ship.o src/ships_sunk_display.o src/sky.o src/moon.o src/simplex_noise.o src/stars.o src/sonar.o src/sonar_operator.o src/submarine.o src/submarine_interface.o src/sub_bg_display.o src/sub_bridge_display.o src/sub_captainscabin_display.o src/sub_control_popup.o src/sub_ecard_popup.o src/sub_damage_display.o src/sub_gauges_display.o src/sub_ghg_display.o src/sub_kdb_display.o src/sub_periscope_display.o src/sub_recogmanual_display.o src/sub_soldbuch_display.o src/sub_tdc_display.o src/sub_tdc_popup.o src/sub_torpedo_display.o src/sub_torpsetup_display.o src/sub_uzo_display.o src/sub_valves_display.o src/tdc.o src/texts.o src/tone_reproductor.o src/torpedo.o src/torpedo_camera_display.o src/triangulate.o src/user_interface.o src/caustics.o src/water.o src/water_splash.o src/dftdtester/tests.o src/sub_recogmanual_popup.o src/filehelper.o src/widget.o src/frustum.o src/datadirs.o src/global_data.o src/thread.o src/mutex.o src/condvar.o src/log.o -L/usr/lib -L/usr/lib/X11 -L/usr/X11R6/lib -Lbuild/linux -Lsrc -L/usr/local/lib -ldftdmedia -ltinyxml -loglext -lGL -lGLU -lSDL -lSDL_image -lSDL_mixer -lfftw3f -lbz2 src/subsim.o: In function `get_savegame_name_for(std::__cxx11::basic_string, std::allocator > const&, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > const, std::__cxx11::basic_string, std::allocator > > > >&)': subsim.cpp:(.text+0x2944): warning: sprintf() is often misused, please use snprintf() /usr/X11R6/lib/libGLU.so.9.0: warning: strcpy() is almost always misused, please use strlcpy() /usr/local/lib/libSDL_mixer.so.5.0: warning: strcat() is almost always misused, please use strlcat() /usr/X11R6/lib/libGL.so.19.2: warning: random() may return deterministic values, is that what you want? src/subsim.o: In function `create_convoy_mission()': subsim.cpp:(.text+0xbb00): warning: rand() may return deterministic values, is that what you want? /usr/X11R6/lib/libgallium_dri.so: warning: stpcpy() is dangerous; do not use it /usr/local/lib/libsmpeg.so.2.0: warning: vsprintf() is often misused, please use vsnprintf() /usr/bin/ld: warning: libLLVM.so.9.0, needed by /usr/X11R6/lib/libgallium_dri.so, not found (try using -rpath or -rpath-link) /usr/X11R6/lib/libgallium_dri.so: undefined reference to `llvm::ObjectCache::anchor()' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildFence' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `llvm::EngineBuilder::~EngineBuilder()' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMGetLastInstruction' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMSetAlignment' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `llvm::SectionMemoryManager::SectionMemoryManager(llvm::SectionMemoryManager::MemoryMapper*)' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMDisposePassBuilderOptions' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMInitializeSparcDisassembler' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `llvm::Triple::Triple(llvm::Twine const&)' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildFPTrunc' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildIntCast2' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMGetInsertBlock' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMStructTypeInContext' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMStartMultithreaded' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildAtomicCmpXchg' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMGetFirstParam' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMTokenTypeInContext' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMConstArray' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMGetValueName' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMAddCase' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildInsertElement' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMPositionBuilderBefore' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMPrintModuleToString' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `non-virtual thunk to llvm::RTDyldMemoryManager::anchor()' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMContextCreate' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildSExt' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMIsMultithreaded' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `llvm::LegacyJITSymbolResolver::lookup(std::__1::set, std::__1::allocator > const&, llvm::unique_function, std::__1::allocator > > >)>)' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMGetFirstFunction' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMArrayType' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMAppendBasicBlockInContext' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMAddAttributeAtIndex' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMIsAFunction' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `llvm::Module::addModuleFlag(llvm::Module::ModFlagBehavior, llvm::StringRef, unsigned int)' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMAddGlobalMapping' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildSelect' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMInitializeSparcTarget' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMSetVisibility' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildZExt' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildCondBr' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMSetGlobalConstant' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMGetNextInstruction' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildPointerCast' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMGetTypeKind' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMSetFunctionCallConv' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMConstReal' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMInt16TypeInContext' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMGetIntrinsicID' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMContextDispose' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `llvm::Module::setOverrideStackAlignment(unsigned int)' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMHalfTypeInContext' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildExtractElement' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildCall2' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildOr' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMConstNot' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMGetPointerToGlobal' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `llvm::EngineBuilder::setMCJITMemoryManager(std::__1::unique_ptr >)' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildFDiv' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMConstBitCast' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMConstNull' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMConstPointerNull' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildTrunc' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMInitializeSparcTargetInfo' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildIntCast' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMGetUndef' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildLShr' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildAggregateRet' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildPtrToInt' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `llvm::RTDyldMemoryManager::getSymbolAddressInProcess(std::__1::basic_string, std::__1::allocator > const&)' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMGetEntryBasicBlock' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMAddGlobal' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMSetDataLayout' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMDisposeModule' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMIsDeclaration' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMLinkInMCJIT' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMDisposeMessage' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMGetCalledValue' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildRet' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildFAdd' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMDoubleTypeInContext' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMConstVector' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `llvm::TargetLibraryInfoImpl::TargetLibraryInfoImpl(llvm::Triple const&)' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildSDiv' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMInt8TypeInContext' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildSRem' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildBr' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMDisasmInstruction' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMInsertBasicBlockInContext' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildAShr' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMSetInstructionCallConv' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMGetModuleContext' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMDisposeTargetData' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildUDiv' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMIsConstant' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMGetParam' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMInt32TypeInContext' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMGetNamedFunction' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildNot' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildICmp' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildUIToFP' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildNeg' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `llvm::EngineBuilder::create(llvm::TargetMachine*)' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMGetArrayLength' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMCreatePassBuilderOptions' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMCreateEnumAttribute' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildAnd' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildStore' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `llvm::EngineBuilder::EngineBuilder(std::__1::unique_ptr >)' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMConstInt' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `llvm::SmallVectorBase::mallocForGrow(void*, unsigned long, unsigned long, unsigned long&)' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMTypeOf' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMVoidTypeInContext' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildLoad2' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `llvm::SDNode::getValueTypeList(llvm::EVT)' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `llvm::RTDyldMemoryManager::anchor()' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMDisasmDispose' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMPositionBuilderAtEnd' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildAdd' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMGetElementType' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMAddFunction' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMIntTypeInContext' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMCreateDisasm' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildPhi' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMAddCallSiteAttribute' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildFPExt' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMGetFirstBasicBlock' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMConstStringInContext' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMGetFirstInstruction' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMPointerType' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMDisposeBuilder' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMSetLinkage' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMGetNextBasicBlock' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMGetIntTypeWidth' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMGetVectorSize' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMCreateBuilderInContext' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildFMul' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `llvm::Module::~Module()' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildIntToPtr' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMGetBasicBlockParent' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMCopyStringRepOfTargetData' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildXor' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildRetVoid' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMWriteBitcodeToFile' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMStructGetTypeAtIndex' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildSwitch' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMCreateTargetData' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMVectorType' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMInt64TypeInContext' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMFloatTypeInContext' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMAddIncoming' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `llvm::DisableABIBreakingChecks' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMModuleCreateWithNameInContext' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildFRem' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildFPToSI' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildArrayAlloca' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMInitializeSparcTargetMC' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMPrintValueToString' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildInsertValue' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildFPToUI' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMGetValueKind' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildFNeg' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMGetEnumAttributeKindForName' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `llvm::RuntimeDyld::MemoryManager::allocateTLSSection(unsigned long, unsigned int, unsigned int, llvm::StringRef)' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMGetInstructionParent' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMIsUndef' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildBitCast' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMFunctionType' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildSub' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `llvm::sys::getHostCPUName()' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `llvm::EngineBuilder::selectTarget()' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMGetExecutionEngineTargetMachine' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMSetInitializer' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildFCmp' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMGetInstructionOpcode' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMGetLastParam' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildURem' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `llvm::LegacyJITSymbolResolver::getResponsibilitySet(std::__1::set, std::__1::allocator > const&)' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMGetParamTypes' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildAtomicRMW' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMGetNextFunction' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildAlloca' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `llvm::MemoryBuffer::getMemBuffer(llvm::StringRef, llvm::StringRef, bool)' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMGetGlobalParent' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMConstIntGetZExtValue' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildFreeze' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMInitializeSparcAsmPrinter' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildShuffleVector' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildSIToFP' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMGetNextParam' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildMul' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `llvm::MCTargetOptions::MCTargetOptions()' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildFSub' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildShl' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMDisposeExecutionEngine' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMInt1TypeInContext' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMConstAllOnes' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `llvm::RTDyldMemoryManager::~RTDyldMemoryManager()' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildGEP2' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMRunPasses' /usr/X11R6/lib/libgallium_dri.so: undefined reference to `LLVMBuildExtractValue' collect2: error: ld returned 1 exit status scons: *** [src/dangerdeep] Error 1 scons: building terminated because of errors. *** Error 2 in games/dangerdeep (/usr/ports/devel/scons/scons.port.mk:32 'do-build': @/usr/bin/env -i X11BASE="/usr/X11R6" CC="cc" CXX="c+...) *** Error 2 in games/dangerdeep (/usr/ports/infrastructure/mk/bsd.port.mk:3065 '/usr/obj/ports/dangerdeep-0.3.99.3327/.build_done': @cd /usr...) *** Error 2 in games/dangerdeep (/usr/ports/infrastructure/mk/bsd.port.mk:2712 'build': @lock=dangerdeep-0.3.99.3327p5; export _LOCKS_HELD=...) ===> Exiting games/dangerdeep with an error *** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:144 'build': @: ${echo_msg:=echo}; : ${target:=build}; for i in ; do eval...) >>> Ended at 1749904349.88 max_stuck=71.13/depends=13.39/show-prepare-results=12.40/extract=38.49/patch=2.01/configure=2.26/build=2180.22 Error: job failed with 512 on sparc64-0c at 1749904349