* Package: games-simulation/dangerdeep-0.3.0 * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 amd64 cpu_flags_x86_sse elibc_glibc kernel_linux userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking dangerdeep-0.3.0.tar.gz to /var/tmp/portage/games-simulation/dangerdeep-0.3.0/work >>> Unpacking dangerdeep-data-0.3.0.zip to /var/tmp/portage/games-simulation/dangerdeep-0.3.0/work >>> Source unpacked in /var/tmp/portage/games-simulation/dangerdeep-0.3.0/work >>> Preparing source in /var/tmp/portage/games-simulation/dangerdeep-0.3.0/work/dangerdeep-0.3.0 ... * Applying dangerdeep-0.3.0-build.patch ... [ ok ] * Applying dangerdeep-0.3.0-gcc43.patch ... [ ok ] * Applying dangerdeep-0.3.0-gcc47.patch ... [ ok ] * Applying dangerdeep-0.3.0-gcc44.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-simulation/dangerdeep-0.3.0/work/dangerdeep-0.3.0 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/games-simulation/dangerdeep-0.3.0/work/dangerdeep-0.3.0 ... scons -j1 usex86sse=3 datadir=/usr/share/games/dangerdeep debug=0 scons: Reading SConscript files ... Compiling for Unix/Posix/Linux Environment Using x86 SSE/MMX optimizations with GCC intrinsics ALWAYS WITHOUT DETECTION! Found GL library "/usr/lib/libGL.so" Install binary path: /usr/local/bin Using data dir: /usr/share/games/dangerdeep Checking for C library GL... yes Checking for C library GLU... yes Checking for C library SDL... yes Checking for C library SDL_image... yes Checking for C library SDL_net... yes Checking for C library SDL_mixer... yes Checking for C library fftw3... yes Checking for C library fftw3f... yes fftw3 library supports float type. Using it... scons: warning: The build_dir keyword has been deprecated; use the variant_dir keyword instead. File "/var/tmp/portage/games-simulation/dangerdeep-0.3.0/work/dangerdeep-0.3.0/SConstruct", line 280, in scons: warning: BuildDir() and the build_dir keyword have been deprecated; use VariantDir() and the variant_dir keyword instead. File "/var/tmp/portage/games-simulation/dangerdeep-0.3.0/work/dangerdeep-0.3.0/SConstruct", line 282, in scons: done reading SConscript files. scons: Building targets ... x86_64-pc-linux-gnu-g++ -o build/linux/subsim.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/subsim.cpp In file included from src/model.h:29:0, from src/subsim.cpp:40: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:40:0: src/model.h:44:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:40:0: src/model.h:63: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:40:0: src/model.h:101: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:40:0: src/model.h:102: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:40:0: src/model.h:103: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:40:0: src/model.h:152:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:40:0: src/model.h:262:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:40:0: src/model.h:263:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:40:0: src/model.h:264:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/subsim.cpp:42: 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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/subsim.cpp:42: 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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/subsim.cpp:42: 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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/subsim.cpp:42: 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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.h:27:0, from src/ship.h:27, from src/subsim.cpp:44: src/ptrvector.h: At global scope: 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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27:0, from src/subsim.cpp:44: src/sea_object.h:233: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:52:0: src/widget.h:93:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr backg; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:52:0: src/widget.h:94:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr skbackg; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:52:0: src/widget.h:95:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr frame[8]; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:52:0: src/widget.h:96:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr frameinv[8]; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:52:0: src/widget.h:97:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr icons[4]; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:52:0: src/widget.h:98:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr sbarbackg; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:52:0: src/widget.h:99:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr sbarsurf; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:52:0: src/widget.h:109:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr globaltheme; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:52:0: src/widget.h:119: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:52:0: src/widget.h:121: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:52:0: src/widget.h:121: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:52:0: src/widget.h:463:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr mdl; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:52:0: src/widget.h:478: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:52:0: src/widget.h:480:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void set_model(std::auto_ptr mdl_); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/subsim.cpp:55: src/coastmap.h:132:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33:0, from src/subsim.cpp:55: 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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33:0, from src/subsim.cpp:55: 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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:55:0: src/user_interface.h:57:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:55:0: src/user_interface.h:61:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:55:0: src/user_interface.h:65:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:55:0: src/user_interface.h:72:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:55:0: src/user_interface.h:96: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:55:0: src/user_interface.h:97:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; // the ocean water ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/music.h:37:0, from src/subsim.cpp:58: 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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp: In member function ‘void loadsavequit_dialogue::load()’: src/subsim.cpp:206:2: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] auto_ptr w(create_dialogue_ok(texts::get(185), texts::get(180) + gamename->get_text() + texts::get(181))); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp: In member function ‘void loadsavequit_dialogue::save()’: src/subsim.cpp:217:3: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] auto_ptr w(create_dialogue_ok_cancel(texts::get(182), texts::get(183) + gamename->get_text() + texts::get(184))); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp:224:2: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] auto_ptr w(create_dialogue_ok(texts::get(186), texts::get(180) + gamename->get_text() + texts::get(187))); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp: In member function ‘void loadsavequit_dialogue::erase()’: src/subsim.cpp:231:2: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] auto_ptr w(create_dialogue_ok_cancel(texts::get(182), texts::get(188) + gamename->get_text() + texts::get(189))); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp: In member function ‘void loadsavequit_dialogue::quit()’: src/subsim.cpp:248:3: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] auto_ptr w(create_dialogue_ok_cancel(texts::get(182), texts::get(190))); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp: At global scope: src/subsim.cpp:457:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void run_game(auto_ptr gm) ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp: In function ‘void run_game(std::auto_ptr)’: src/subsim.cpp:462: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp:466:2: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] auto_ptr tmp = widget::replace_theme(gametheme); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp:467:2: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] auto_ptr ui(user_interface::create(*gm)); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp: At global scope: src/subsim.cpp:538:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void run_game_editor(auto_ptr gm) ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp: In function ‘void run_game_editor(std::auto_ptr)’: src/subsim.cpp:543: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp:547:2: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] auto_ptr tmp = widget::replace_theme(gametheme); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp:548:2: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] auto_ptr ui(user_interface::create(*gm)); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp: In function ‘void create_convoy_mission()’: src/subsim.cpp:659:12: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] run_game(auto_ptr(new game(st, ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp: In function ‘void choose_historical_mission()’: src/subsim.cpp:754:3: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] auto_ptr gm; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp: In function ‘void choose_saved_game()’: src/subsim.cpp:781: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp: In function ‘void create_network_game(Uint16)’: src/subsim.cpp:899:2: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] auto_ptr gm(new game("submarine_VIIc", 1, 1, 1, 1)); // fixme ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp: In function ‘void join_network_game(const string&, Uint16, network_connection&)’: src/subsim.cpp:982:2: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] auto_ptr gm; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp: In function ‘void menu_mission_editor()’: src/subsim.cpp:1119:19: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] run_game_editor(auto_ptr(new game_editor(/*st*/))); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp: At global scope: src/subsim.cpp:1341:2: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] auto_ptr load_model() { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp: In member function ‘std::auto_ptr vessel_view::load_model()’: src/subsim.cpp:1345: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp: In function ‘int mymain(std::__cxx11::list >&)’: src/subsim.cpp:1719:2: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] auto_ptr mysys(new class system(1.0, 30000.0+500.0, res_x, res_y, fullscreen)); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp:1743:2: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] auto_ptr gbd(new global_data()); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp:1758: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp:1764: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp:1807:19: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] run_game_editor(auto_ptr(new game_editor(/*st*/))); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp:1810:3: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] auto_ptr gm; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/subsim.cpp:1863: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/subsim.cpp:40: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/subsim.cpp:59:0: src/faulthandler.h: In function ‘void print_stack_trace()’: src/faulthandler.h:118:22: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(tmp, 127, f); ^ x86_64-pc-linux-gnu-g++ -o build/linux/ai.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/ai.cpp In file included from src/game.h:61:0, from src/ai.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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/ai.cpp:25: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/ai.cpp:25: src/ptrlist.h:58:23: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/ai.cpp:25: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/ai.cpp:25: src/ptrlist.h: In member function ‘void ptrlist::push_back(T*)’: src/ptrlist.h:63:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/ai.cpp:25: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/ai.cpp:25: src/ptrlist.h: In member function ‘void ptrlist::push_front(T*)’: src/ptrlist.h:67:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/ai.cpp:25: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ai.cpp:26:0: src/convoy.h: At global scope: 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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/ai.cpp:25: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.h:27:0, from src/ai.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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/ai.cpp:25: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ai.cpp:27:0: src/sea_object.h:233: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/ai.cpp:25: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -o build/linux/airplane.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/airplane.cpp In file included from src/sea_object.h:27:0, from src/airplane.h:26, from src/airplane.cpp:23: src/ptrvector.h:69:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/airplane.h:26:0, from src/airplane.cpp:23: src/sea_object.h:233: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:29:0, from src/airplane.cpp:24: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/airplane.cpp:24:0: src/model.h:44:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/airplane.cpp:24:0: src/model.h:63: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/airplane.cpp:24:0: src/model.h:101: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/airplane.cpp:24:0: src/model.h:102: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/airplane.cpp:24:0: src/model.h:103: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/airplane.cpp:24:0: src/model.h:152:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/airplane.cpp:24:0: src/model.h:262:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/airplane.cpp:24:0: src/model.h:263:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/airplane.cpp:24:0: src/model.h:264:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/airplane.h:26, from src/airplane.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/airplane.cpp: In member function ‘virtual void airplane::simulate(double)’: src/airplane.cpp:63:10: warning: variable ‘locx’ set but not used [-Wunused-but-set-variable] vector3 locx = orientation.rotate(1, 0, 0); ^~~~ x86_64-pc-linux-gnu-g++ -o build/linux/cfg.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/cfg.cpp x86_64-pc-linux-gnu-g++ -o build/linux/coastmap.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/coastmap.cpp In file included from src/coastmap.h:29:0, from src/coastmap.cpp:29: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.cpp:29:0: src/coastmap.h:132:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.cpp:38:0: src/model.h:44:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.cpp:38:0: src/model.h:63: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.cpp:38:0: src/model.h:101: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.cpp:38:0: src/model.h:102: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.cpp:38:0: src/model.h:103: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.cpp:38:0: src/model.h:152:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.cpp:38:0: src/model.h:262:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.cpp:38:0: src/model.h:263:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.cpp:38:0: src/model.h:264:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/coastmap.h:29, from src/coastmap.cpp:29: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/coastmap.cpp: In member function ‘void coastsegment::segcl::render(const coastmap&, int, int, const vector2&, int) const’: src/coastmap.cpp:237:11: warning: variable ‘p0’ set but not used [-Wunused-but-set-variable] vector3 p0 = (points2[i] + n * beachdepth).xyz(beachbottom); ^~ src/coastmap.cpp:287:11: warning: variable ‘p0’ set but not used [-Wunused-but-set-variable] vector3 p0 = (points2[i] + n * beachdepth).xyz(beachbottom); ^~ src/coastmap.cpp:288:11: warning: variable ‘p1’ set but not used [-Wunused-but-set-variable] vector3 p1 = points2[i].xyz(beachheight); ^~ src/coastmap.cpp: In member function ‘void coastmap::divide_and_distribute_cl(const std::vector >&, bool)’: src/coastmap.cpp:1008: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:1242: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); ^~~~~~ x86_64-pc-linux-gnu-g++ -o build/linux/condvar.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/condvar.cpp x86_64-pc-linux-gnu-g++ -o build/linux/convoy.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/convoy.cpp In file included from src/convoy.cpp:23:0: src/convoy.h:49:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // fixme: maybe one ship should act for the convoy, ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/convoy.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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/convoy.cpp:24: src/ptrlist.h:58:23: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/convoy.cpp:24: src/ptrlist.h: In member function ‘void ptrlist::push_back(T*)’: src/ptrlist.h:63:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/convoy.cpp:24: src/ptrlist.h: In member function ‘void ptrlist::push_front(T*)’: src/ptrlist.h:67:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.h:27:0, from src/ship.h:27, from src/convoy.cpp:27: src/ptrvector.h: At global scope: 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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27:0, from src/convoy.cpp:27: src/sea_object.h:233: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:29:0, from src/convoy.cpp:30: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/convoy.cpp:30:0: src/model.h:44:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/convoy.cpp:30:0: src/model.h:63: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/convoy.cpp:30:0: src/model.h:101: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/convoy.cpp:30:0: src/model.h:102: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/convoy.cpp:30:0: src/model.h:103: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/convoy.cpp:30:0: src/model.h:152:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/convoy.cpp:30:0: src/model.h:262:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/convoy.cpp:30:0: src/model.h:263:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/convoy.cpp:30:0: src/model.h:264:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/convoy.h:30, from src/convoy.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -o build/linux/countrycodes.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/countrycodes.cpp x86_64-pc-linux-gnu-g++ -o build/linux/credits.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/credits.cpp In file included from src/credits.cpp:20:0: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/credits.cpp:20: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.cpp:25:0: src/model.h:44:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/credits.cpp:20: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.cpp:25:0: src/model.h:63: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/credits.cpp:20: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.cpp:25:0: src/model.h:101: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/credits.cpp:20: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.cpp:25:0: src/model.h:102: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/credits.cpp:20: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.cpp:25:0: src/model.h:103: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/credits.cpp:20: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.cpp:25:0: src/model.h:152:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/credits.cpp:20: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.cpp:25:0: src/model.h:262:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/credits.cpp:20: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.cpp:25:0: src/model.h:263:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/credits.cpp:20: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/credits.cpp:25:0: src/model.h:264:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/credits.cpp:20: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/credits.cpp: In function ‘void show_credits()’: src/credits.cpp:161:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr sph; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/credits.cpp:20: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/credits.cpp:168:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr bkg; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/credits.cpp:20: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/credits.cpp:169:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr glss; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/credits.cpp:20: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -o build/linux/date.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/date.cpp x86_64-pc-linux-gnu-g++ -o build/linux/daysky.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/daysky.cpp x86_64-pc-linux-gnu-g++ -o build/linux/depth_charge.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/depth_charge.cpp In file included from src/sea_object.h:27:0, from src/depth_charge.h:26, from src/depth_charge.cpp:23: src/ptrvector.h:69:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/depth_charge.h:26:0, from src/depth_charge.cpp:23: src/sea_object.h:233: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:29:0, from src/depth_charge.cpp:25: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/depth_charge.cpp:25:0: src/model.h:44:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/depth_charge.cpp:25:0: src/model.h:63: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/depth_charge.cpp:25:0: src/model.h:101: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/depth_charge.cpp:25:0: src/model.h:102: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/depth_charge.cpp:25:0: src/model.h:103: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/depth_charge.cpp:25:0: src/model.h:152:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/depth_charge.cpp:25:0: src/model.h:262:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/depth_charge.cpp:25:0: src/model.h:263:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/depth_charge.cpp:25:0: src/model.h:264:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/depth_charge.cpp:27: src/ptrlist.h:54:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/depth_charge.cpp:27: src/ptrlist.h:58:23: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/depth_charge.cpp:27: src/ptrlist.h: In member function ‘void ptrlist::push_back(T*)’: src/ptrlist.h:63:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/depth_charge.cpp:27: src/ptrlist.h: In member function ‘void ptrlist::push_front(T*)’: src/ptrlist.h:67:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/depth_charge.h:26, from src/depth_charge.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -o build/linux/event.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/event.cpp In file included from src/sea_object.h:27:0, from src/user_interface.h:29, from src/event.cpp:24: src/ptrvector.h:69:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:29:0, from src/event.cpp:24: src/sea_object.h:233: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.h:29:0, from src/user_interface.h:31, from src/event.cpp:24: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/event.cpp:24: src/coastmap.h:132:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33:0, from src/event.cpp:24: src/user_display.h:54:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33:0, from src/event.cpp:24: src/user_display.h:83:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/event.cpp:24:0: src/user_interface.h:57:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/event.cpp:24:0: src/user_interface.h:61:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/event.cpp:24:0: src/user_interface.h:65:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/event.cpp:24:0: src/user_interface.h:72:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/event.cpp:24:0: src/user_interface.h:96: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/event.cpp:24:0: src/user_interface.h:97:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; // the ocean water ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/music.h:37:0, from src/event.cpp:26: src/message_queue.h:34:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/user_interface.h:29, from src/event.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -o build/linux/freeview_display.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/freeview_display.cpp In file included from src/image.h:30:0, from src/freeview_display.cpp:24: src/ptrvector.h:69:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31:0, from src/freeview_display.cpp:24: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/freeview_display.cpp:26: src/ptrlist.h:54:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/freeview_display.cpp:26: src/ptrlist.h:58:23: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/freeview_display.cpp:26: src/ptrlist.h: In member function ‘void ptrlist::push_back(T*)’: src/ptrlist.h:63:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/freeview_display.cpp:26: src/ptrlist.h: In member function ‘void ptrlist::push_front(T*)’: src/ptrlist.h:67:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:29:0, from src/freeview_display.cpp:27: src/sea_object.h: At global scope: src/sea_object.h:233: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/freeview_display.cpp:27: src/coastmap.h:132:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33:0, from src/freeview_display.cpp:27: src/user_display.h:54:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33:0, from src/freeview_display.cpp:27: src/user_display.h:83:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:27:0: src/user_interface.h:57:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:27:0: src/user_interface.h:61:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:27:0: src/user_interface.h:65:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:27:0: src/user_interface.h:72:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:27:0: src/user_interface.h:96: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:27:0: src/user_interface.h:97:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; // the ocean water ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:35:0: src/water_splash.h:41:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr bradius_top; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:35:0: src/water_splash.h:42:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr bradius_bottom; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:35:0: src/water_splash.h:43:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr balpha; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34:0, from src/freeview_display.cpp:37: src/model.h:44:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34:0, from src/freeview_display.cpp:37: src/model.h:63: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34:0, from src/freeview_display.cpp:37: src/model.h:101: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34:0, from src/freeview_display.cpp:37: src/model.h:102: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34:0, from src/freeview_display.cpp:37: src/model.h:103: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34:0, from src/freeview_display.cpp:37: src/model.h:152:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34:0, from src/freeview_display.cpp:37: src/model.h:262:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34:0, from src/freeview_display.cpp:37: src/model.h:263:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34:0, from src/freeview_display.cpp:37: src/model.h:264:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:38:0: src/water.h:56:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr reflectiontex; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:38:0: src/water.h:57:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr foamtex; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:38:0: src/water.h:58:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr foamamounttex; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:38:0: src/water.h:59:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr foamamounttrail; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:38:0: src/water.h:60:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr foamperimetertex; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:38:0: src/water.h:61:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr fresnelcolortex; // texture for fresnel values and water color ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:38:0: src/water.h:63:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr reflectiontex_fbo; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:38:0: src/water.h:64:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr foamamounttex_fbo; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:38:0: src/water.h:66:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr waterspecularlookup; // lookup 1d texture map for water specular term ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:38:0: src/water.h:120:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr water_bumpmap; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:38:0: src/water.h:127:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr glsl_water; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.cpp:38:0: src/water.h:128:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr glsl_under_water; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/freeview_display.cpp: In constructor ‘freeview_display::freeview_display(user_interface&)’: src/freeview_display.cpp:116: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_TO_EDGE)); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/freeview_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/freeview_display.cpp: In member function ‘virtual void freeview_display::draw_view(game&, const vector3&) const’: src/freeview_display.cpp:344:34: warning: narrowing conversion of ‘sundir.vector3t::x’ from ‘double’ to ‘GLfloat {aka float}’ inside { } [-Wnarrowing] GLfloat lposition[4] = { sundir.x, sundir.y, sundir.z, 0.0f }; ~~~~~~~^ src/freeview_display.cpp:344:44: warning: narrowing conversion of ‘sundir.vector3t::y’ from ‘double’ to ‘GLfloat {aka float}’ inside { } [-Wnarrowing] GLfloat lposition[4] = { sundir.x, sundir.y, sundir.z, 0.0f }; ~~~~~~~^ src/freeview_display.cpp:344:54: warning: narrowing conversion of ‘sundir.vector3t::z’ from ‘double’ to ‘GLfloat {aka float}’ inside { } [-Wnarrowing] GLfloat lposition[4] = { sundir.x, sundir.y, sundir.z, 0.0f }; ~~~~~~~^ src/freeview_display.cpp:656:11: warning: variable ‘conntowerpos’ set but not used [-Wunused-but-set-variable] vector3 conntowerpos = player->get_pos() - viewpos; ^~~~~~~~~~~~ x86_64-pc-linux-gnu-g++ -o build/linux/game.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/game.cpp In file included from src/game.h:61:0, from src/game.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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/game.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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/game.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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/game.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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.h:27:0, from src/ship.h:27, from src/game.cpp:40: src/ptrvector.h: At global scope: 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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27:0, from src/game.cpp:40: src/sea_object.h:233: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:46:0: src/water_splash.h:41:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr bradius_top; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:46:0: src/water_splash.h:42:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr bradius_bottom; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:46:0: src/water_splash.h:43:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr balpha; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:29:0, from src/game.cpp:47: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:47:0: src/model.h:44:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:47:0: src/model.h:63: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:47:0: src/model.h:101: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:47:0: src/model.h:102: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:47:0: src/model.h:103: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:47:0: src/model.h:152:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:47:0: src/model.h:262:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:47:0: src/model.h:263:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:47:0: src/model.h:264:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/game.cpp:49: src/coastmap.h:132:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33:0, from src/game.cpp:49: 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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33:0, from src/game.cpp:49: 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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:49:0: src/user_interface.h:57:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:49:0: src/user_interface.h:61:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:49:0: src/user_interface.h:65:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:49:0: src/user_interface.h:72:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:49:0: src/user_interface.h:96: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:49:0: src/user_interface.h:97:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; // the ocean water ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:50:0: src/submarine_interface.h:84:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torpedo_cam_view; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.cpp:54:0: src/convoy.h:49:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // fixme: maybe one ship should act for the convoy, ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -o build/linux/game_editor.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/game_editor.cpp In file included from src/game.h:61:0, from src/game_editor.h:26, from src/game_editor.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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game_editor.h:26, from src/game_editor.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/game_editor.h:26, from src/game_editor.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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game_editor.h:26, from src/game_editor.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/game_editor.h:26, from src/game_editor.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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game_editor.h:26, from src/game_editor.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/game_editor.h:26, from src/game_editor.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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game_editor.h:26, from src/game_editor.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.h:27:0, from src/ship.h:27, from src/game_editor.cpp:40: src/ptrvector.h: At global scope: 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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game_editor.h:26, from src/game_editor.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27:0, from src/game_editor.cpp:40: src/sea_object.h:233: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game_editor.h:26, from src/game_editor.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:46:0: src/water_splash.h:41:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr bradius_top; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game_editor.h:26, from src/game_editor.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:46:0: src/water_splash.h:42:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr bradius_bottom; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game_editor.h:26, from src/game_editor.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:46:0: src/water_splash.h:43:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr balpha; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game_editor.h:26, from src/game_editor.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:29:0, from src/game_editor.cpp:47: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game_editor.h:26, from src/game_editor.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:47:0: src/model.h:44:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game_editor.h:26, from src/game_editor.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:47:0: src/model.h:63: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game_editor.h:26, from src/game_editor.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:47:0: src/model.h:101: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game_editor.h:26, from src/game_editor.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:47:0: src/model.h:102: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game_editor.h:26, from src/game_editor.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:47:0: src/model.h:103: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game_editor.h:26, from src/game_editor.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:47:0: src/model.h:152:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game_editor.h:26, from src/game_editor.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:47:0: src/model.h:262:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game_editor.h:26, from src/game_editor.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:47:0: src/model.h:263:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game_editor.h:26, from src/game_editor.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:47:0: src/model.h:264:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game_editor.h:26, from src/game_editor.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/game_editor.cpp:49: src/coastmap.h:132:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game_editor.h:26, from src/game_editor.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33:0, from src/game_editor.cpp:49: 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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game_editor.h:26, from src/game_editor.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33:0, from src/game_editor.cpp:49: 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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game_editor.h:26, from src/game_editor.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:49:0: src/user_interface.h:57:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game_editor.h:26, from src/game_editor.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:49:0: src/user_interface.h:61:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game_editor.h:26, from src/game_editor.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:49:0: src/user_interface.h:65:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game_editor.h:26, from src/game_editor.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:49:0: src/user_interface.h:72:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game_editor.h:26, from src/game_editor.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:49:0: src/user_interface.h:96: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game_editor.h:26, from src/game_editor.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:49:0: src/user_interface.h:97:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; // the ocean water ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game_editor.h:26, from src/game_editor.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:50:0: src/submarine_interface.h:84:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torpedo_cam_view; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game_editor.h:26, from src/game_editor.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game_editor.cpp:54:0: src/convoy.h:49:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // fixme: maybe one ship should act for the convoy, ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/game_editor.h:26, from src/game_editor.cpp:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -o build/linux/gun_shell.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/gun_shell.cpp In file included from src/sea_object.h:27:0, from src/gun_shell.h:26, from src/gun_shell.cpp:23: src/ptrvector.h:69:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.h:26:0, from src/gun_shell.cpp:23: src/sea_object.h:233: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:29:0, from src/gun_shell.cpp:25: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.cpp:25:0: src/model.h:44:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.cpp:25:0: src/model.h:63: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.cpp:25:0: src/model.h:101: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.cpp:25:0: src/model.h:102: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.cpp:25:0: src/model.h:103: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.cpp:25:0: src/model.h:152:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.cpp:25:0: src/model.h:262:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.cpp:25:0: src/model.h:263:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/gun_shell.cpp:25:0: src/model.h:264:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/gun_shell.cpp:27: src/ptrlist.h:54:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/gun_shell.cpp:27: src/ptrlist.h:58:23: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/gun_shell.cpp:27: src/ptrlist.h: In member function ‘void ptrlist::push_back(T*)’: src/ptrlist.h:63:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/gun_shell.cpp:27: src/ptrlist.h: In member function ‘void ptrlist::push_front(T*)’: src/ptrlist.h:67:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/gun_shell.h:26, from src/gun_shell.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/gun_shell.cpp: In member function ‘virtual void gun_shell::display() const’: src/gun_shell.cpp:92:23: warning: narrowing conversion of ‘side.vector3t::x’ from ‘double’ to ‘float’ inside { } [-Wnarrowing] float m[16] = { side.x, side.y, side.z, 0, ~~~~~^ src/gun_shell.cpp:92:31: warning: narrowing conversion of ‘side.vector3t::y’ from ‘double’ to ‘float’ inside { } [-Wnarrowing] float m[16] = { side.x, side.y, side.z, 0, ~~~~~^ src/gun_shell.cpp:92:39: warning: narrowing conversion of ‘side.vector3t::z’ from ‘double’ to ‘float’ inside { } [-Wnarrowing] float m[16] = { side.x, side.y, side.z, 0, ~~~~~^ src/gun_shell.cpp:93:7: warning: narrowing conversion of ‘vn.vector3t::x’ from ‘double’ to ‘float’ inside { } [-Wnarrowing] vn.x, vn.y, vn.z, 0, ~~~^ src/gun_shell.cpp:93:13: warning: narrowing conversion of ‘vn.vector3t::y’ from ‘double’ to ‘float’ inside { } [-Wnarrowing] vn.x, vn.y, vn.z, 0, ~~~^ src/gun_shell.cpp:93:19: warning: narrowing conversion of ‘vn.vector3t::z’ from ‘double’ to ‘float’ inside { } [-Wnarrowing] vn.x, vn.y, vn.z, 0, ~~~^ src/gun_shell.cpp:94:7: warning: narrowing conversion of ‘up.vector3t::x’ from ‘double’ to ‘float’ inside { } [-Wnarrowing] up.x, up.y, up.z, 0, ~~~^ src/gun_shell.cpp:94:13: warning: narrowing conversion of ‘up.vector3t::y’ from ‘double’ to ‘float’ inside { } [-Wnarrowing] up.x, up.y, up.z, 0, ~~~^ src/gun_shell.cpp:94:19: warning: narrowing conversion of ‘up.vector3t::z’ from ‘double’ to ‘float’ inside { } [-Wnarrowing] up.x, up.y, up.z, 0, ~~~^ x86_64-pc-linux-gnu-g++ -o build/linux/highscorelist.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/highscorelist.cpp In file included from src/image.h:30:0, from src/widget.h:30, 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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/highscorelist.cpp:25: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31:0, from src/widget.h:30, from src/highscorelist.cpp:25: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/highscorelist.cpp:25: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:32:0, from src/highscorelist.cpp:25: src/model.h:44:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/highscorelist.cpp:25: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:32:0, from src/highscorelist.cpp:25: src/model.h:63: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/highscorelist.cpp:25: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:32:0, from src/highscorelist.cpp:25: src/model.h:101: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/highscorelist.cpp:25: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:32:0, from src/highscorelist.cpp:25: src/model.h:102: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/highscorelist.cpp:25: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:32:0, from src/highscorelist.cpp:25: src/model.h:103: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/highscorelist.cpp:25: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:32:0, from src/highscorelist.cpp:25: src/model.h:152:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/highscorelist.cpp:25: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:32:0, from src/highscorelist.cpp:25: src/model.h:262:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/highscorelist.cpp:25: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:32:0, from src/highscorelist.cpp:25: src/model.h:263:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/highscorelist.cpp:25: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:32:0, from src/highscorelist.cpp:25: src/model.h:264:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/highscorelist.cpp:25: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25:0: src/widget.h:93:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr backg; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/highscorelist.cpp:25: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25:0: src/widget.h:94:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr skbackg; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/highscorelist.cpp:25: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25:0: src/widget.h:95:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr frame[8]; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/highscorelist.cpp:25: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25:0: src/widget.h:96:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr frameinv[8]; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/highscorelist.cpp:25: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25:0: src/widget.h:97:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr icons[4]; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/highscorelist.cpp:25: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25:0: src/widget.h:98:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr sbarbackg; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/highscorelist.cpp:25: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25:0: src/widget.h:99:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr sbarsurf; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/highscorelist.cpp:25: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25:0: src/widget.h:109:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr globaltheme; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/highscorelist.cpp:25: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25:0: src/widget.h:119: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/highscorelist.cpp:25: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25:0: src/widget.h:121: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/highscorelist.cpp:25: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25:0: src/widget.h:121: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/highscorelist.cpp:25: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25:0: src/widget.h:463:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr mdl; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/highscorelist.cpp:25: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25:0: src/widget.h:478: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/highscorelist.cpp:25: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/highscorelist.cpp:25:0: src/widget.h:480:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void set_model(std::auto_ptr mdl_); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/highscorelist.cpp:25: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -o build/linux/keys.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/keys.cpp x86_64-pc-linux-gnu-g++ -o build/linux/logbook.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/logbook.cpp x86_64-pc-linux-gnu-g++ -o build/linux/logbook_display.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/logbook_display.cpp In file included from src/game.h:61:0, from src/logbook_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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/logbook_display.cpp:27: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/logbook_display.cpp:27: src/ptrlist.h:58:23: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/logbook_display.cpp:27: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/logbook_display.cpp:27: src/ptrlist.h: In member function ‘void ptrlist::push_back(T*)’: src/ptrlist.h:63:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/logbook_display.cpp:27: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/logbook_display.cpp:27: src/ptrlist.h: In member function ‘void ptrlist::push_front(T*)’: src/ptrlist.h:67:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/logbook_display.cpp:27: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_display.h:28:0, from src/logbook_display.cpp:29: src/texture.h: At global scope: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/logbook_display.cpp:27: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/logbook_display.cpp:29:0: src/user_display.h:54:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/logbook_display.cpp:27: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/logbook_display.cpp:29:0: src/user_display.h:83:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/logbook_display.cpp:27: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/logbook_display.cpp:30:0: src/logbook_display.h:34:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr background; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/logbook_display.cpp:27: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30:0, from src/logbook_display.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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/logbook_display.cpp:27: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:29:0, from src/logbook_display.cpp:35: src/sea_object.h:233: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/logbook_display.cpp:27: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/logbook_display.cpp:35: src/coastmap.h:132:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/logbook_display.cpp:27: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/logbook_display.cpp:35:0: src/user_interface.h:57:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/logbook_display.cpp:27: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/logbook_display.cpp:35:0: src/user_interface.h:61:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/logbook_display.cpp:27: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/logbook_display.cpp:35:0: src/user_interface.h:65:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/logbook_display.cpp:27: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/logbook_display.cpp:35:0: src/user_interface.h:72:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/logbook_display.cpp:27: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/logbook_display.cpp:35:0: src/user_interface.h:96: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/logbook_display.cpp:27: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/logbook_display.cpp:35:0: src/user_interface.h:97:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; // the ocean water ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/logbook_display.cpp:27: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -o build/linux/map_display.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/map_display.cpp In file included from src/image.h:30:0, from src/map_display.cpp:24: src/ptrvector.h:69:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31:0, from src/map_display.cpp:24: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/map_display.cpp:26: src/ptrlist.h:54:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/map_display.cpp:26: src/ptrlist.h:58:23: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/map_display.cpp:26: src/ptrlist.h: In member function ‘void ptrlist::push_back(T*)’: src/ptrlist.h:63:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/map_display.cpp:26: src/ptrlist.h: In member function ‘void ptrlist::push_front(T*)’: src/ptrlist.h:67:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.cpp:28:0: src/coastmap.h: At global scope: src/coastmap.h:132:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:26:0, from src/map_display.cpp:29: src/user_display.h:54:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:26:0, from src/map_display.cpp:29: src/user_display.h:83:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:32:0, from src/map_display.h:29, from src/map_display.cpp:29: src/model.h:44:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:32:0, from src/map_display.h:29, from src/map_display.cpp:29: src/model.h:63: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:32:0, from src/map_display.h:29, from src/map_display.cpp:29: src/model.h:101: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:32:0, from src/map_display.h:29, from src/map_display.cpp:29: src/model.h:102: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:32:0, from src/map_display.h:29, from src/map_display.cpp:29: src/model.h:103: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:32:0, from src/map_display.h:29, from src/map_display.cpp:29: src/model.h:152:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:32:0, from src/map_display.h:29, from src/map_display.cpp:29: src/model.h:262:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:32:0, from src/map_display.h:29, from src/map_display.cpp:29: src/model.h:263:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:32:0, from src/map_display.h:29, from src/map_display.cpp:29: src/model.h:264:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29:0, from src/map_display.cpp:29: src/widget.h:93:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr backg; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29:0, from src/map_display.cpp:29: src/widget.h:94:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr skbackg; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29:0, from src/map_display.cpp:29: src/widget.h:95:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr frame[8]; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29:0, from src/map_display.cpp:29: src/widget.h:96:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr frameinv[8]; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29:0, from src/map_display.cpp:29: src/widget.h:97:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr icons[4]; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29:0, from src/map_display.cpp:29: src/widget.h:98:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr sbarbackg; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29:0, from src/map_display.cpp:29: src/widget.h:99:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr sbarsurf; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29:0, from src/map_display.cpp:29: src/widget.h:109:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr globaltheme; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29:0, from src/map_display.cpp:29: src/widget.h:119: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29:0, from src/map_display.cpp:29: src/widget.h:121: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29:0, from src/map_display.cpp:29: src/widget.h:121: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29:0, from src/map_display.cpp:29: src/widget.h:463:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr mdl; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29:0, from src/map_display.cpp:29: src/widget.h:478: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.h:29:0, from src/map_display.cpp:29: src/widget.h:480:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void set_model(std::auto_ptr mdl_); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.cpp:29:0: src/map_display.h:57:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr edit_panel; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.cpp:29:0: src/map_display.h:58:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr edit_panel_add; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.cpp:29:0: src/map_display.h:59:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr edit_panel_chgmot; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.cpp:29:0: src/map_display.h:60:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr edit_panel_time; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.cpp:29:0: src/map_display.h:61:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr edit_panel_descr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.cpp:29:0: src/map_display.h:62:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr edit_panel_help; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.cpp:29:0: src/map_display.h:63:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr edit_panel_convoy; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:29:0, from src/map_display.cpp:30: src/sea_object.h:233: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.cpp:30:0: src/user_interface.h:57:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.cpp:30:0: src/user_interface.h:61:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.cpp:30:0: src/user_interface.h:65:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.cpp:30:0: src/user_interface.h:72:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.cpp:30:0: src/user_interface.h:96: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.cpp:30:0: src/user_interface.h:97:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; // the ocean water ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/map_display.cpp:38:0: src/convoy.h:49:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr myai; // fixme: maybe one ship should act for the convoy, ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/map_display.cpp: In member function ‘virtual void map_display::process_input(game&, const SDL_Event&)’: src/map_display.cpp:852: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/map_display.cpp:894: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/map_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -o build/linux/message_queue.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/message_queue.cpp In file included from src/message_queue.cpp:23:0: src/message_queue.h:34:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/message_queue.h:28, from src/message_queue.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -o build/linux/music.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/music.cpp In file included from src/music.h:37:0, from src/music.cpp:22: src/message_queue.h:34:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/message_queue.h:28, from src/music.h:37, from src/music.cpp:22: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/music.cpp: In member function ‘bool music::append_track(const string&)’: src/music.cpp:247: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/message_queue.h:28, from src/music.h:37, from src/music.cpp:22: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/music.cpp: In member function ‘bool music::set_playback_mode(music::playback_mode)’: src/music.cpp:253: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/message_queue.h:28, from src/music.h:37, from src/music.cpp:22: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/music.cpp: In member function ‘bool music::play(unsigned int)’: src/music.cpp:259: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/message_queue.h:28, from src/music.h:37, from src/music.cpp:22: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/music.cpp: In member function ‘bool music::stop(unsigned int)’: src/music.cpp:265: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/message_queue.h:28, from src/music.h:37, from src/music.cpp:22: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/music.cpp: In member function ‘bool music::pause()’: src/music.cpp:271: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/message_queue.h:28, from src/music.h:37, from src/music.cpp:22: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/music.cpp: In member function ‘bool music::resume()’: src/music.cpp:277: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/message_queue.h:28, from src/music.h:37, from src/music.cpp:22: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/music.cpp: In member function ‘bool music::play_track(unsigned int, unsigned int, unsigned int)’: src/music.cpp:283: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/message_queue.h:28, from src/music.h:37, from src/music.cpp:22: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/music.cpp: In member function ‘bool music::track_finished()’: src/music.cpp:289: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/message_queue.h:28, from src/music.h:37, from src/music.cpp:22: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/music.cpp: In member function ‘std::vector > music::get_playlist()’: src/music.cpp:296: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/message_queue.h:28, from src/music.h:37, from src/music.cpp:22: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/music.cpp: In member function ‘unsigned int music::get_current_track()’: src/music.cpp:304: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/message_queue.h:28, from src/music.h:37, from src/music.cpp:22: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/music.cpp: In member function ‘bool music::is_playing()’: src/music.cpp:312: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/message_queue.h:28, from src/music.h:37, from src/music.cpp:22: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/music.cpp: In member function ‘bool music::play_sfx(const string&, const vector3&, angle, const vector3&)’: src/music.cpp:319: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/message_queue.h:28, from src/music.h:37, from src/music.cpp:22: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/music.cpp: In member function ‘bool music::play_sfx_machine(const string&, unsigned int)’: src/music.cpp:325: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/message_queue.h:28, from src/music.h:37, from src/music.cpp:22: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/music.cpp: In member function ‘bool music::pause_sfx(bool)’: src/music.cpp:330: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/message_queue.h:28, from src/music.h:37, from src/music.cpp:22: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -o build/linux/mutex.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/mutex.cpp x86_64-pc-linux-gnu-g++ -o build/linux/network.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/network.cpp x86_64-pc-linux-gnu-g++ -o build/linux/parser.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/parser.cpp x86_64-pc-linux-gnu-g++ -o build/linux/particle.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/particle.cpp In file included from src/game.h:61:0, from src/particle.cpp:23: 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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/particle.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/particle.cpp:23: src/ptrlist.h:58:23: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/particle.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/particle.cpp:23: src/ptrlist.h: In member function ‘void ptrlist::push_back(T*)’: src/ptrlist.h:63:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/particle.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/particle.cpp:23: src/ptrlist.h: In member function ‘void ptrlist::push_front(T*)’: src/ptrlist.h:67:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/particle.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/particle.cpp:24:0: src/texture.h: At global scope: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/particle.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -o build/linux/physics.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/physics.cpp x86_64-pc-linux-gnu-g++ -o build/linux/environment.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/environment.cpp x86_64-pc-linux-gnu-g++ -o build/linux/perlinnoise.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/perlinnoise.cpp x86_64-pc-linux-gnu-g++ -o build/linux/sea_object.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sea_object.cpp In file included from src/sea_object.h:27:0, from src/sea_object.cpp:23: src/ptrvector.h:69:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.cpp:23:0: src/sea_object.h:233: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:29:0, from src/sea_object.cpp:26: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.cpp:26:0: src/model.h:44:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.cpp:26:0: src/model.h:63: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.cpp:26:0: src/model.h:101: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.cpp:26:0: src/model.h:102: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.cpp:26:0: src/model.h:103: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.cpp:26:0: src/model.h:152:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.cpp:26:0: src/model.h:262:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.cpp:26:0: src/model.h:263:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.cpp:26:0: src/model.h:264:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sea_object.cpp:31: src/ptrlist.h:54:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sea_object.cpp:31: src/ptrlist.h:58:23: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sea_object.cpp:31: src/ptrlist.h: In member function ‘void ptrlist::push_back(T*)’: src/ptrlist.h:63:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sea_object.cpp:31: src/ptrlist.h: In member function ‘void ptrlist::push_front(T*)’: src/ptrlist.h:67:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sea_object.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/sea_object.cpp: In member function ‘virtual void sea_object::simulate(double)’: src/sea_object.cpp:568:8: warning: variable ‘hdg_by_orient’ set but not used [-Wunused-but-set-variable] angle hdg_by_orient = angle(abo_dir); ^~~~~~~~~~~~~ x86_64-pc-linux-gnu-g++ -o build/linux/sensors.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sensors.cpp In file included from src/sea_object.h:27:0, from src/sensors.cpp:23: src/ptrvector.h:69:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sensors.cpp:23:0: src/sea_object.h:233: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sensors.cpp:26: src/ptrlist.h:54:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sensors.cpp:26: src/ptrlist.h:58:23: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sensors.cpp:26: src/ptrlist.h: In member function ‘void ptrlist::push_back(T*)’: src/ptrlist.h:63:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sensors.cpp:26: src/ptrlist.h: In member function ‘void ptrlist::push_front(T*)’: src/ptrlist.h:67:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/sensors.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/sensors.cpp: In member function ‘virtual bool radar_sensor::is_detected(const game*, const sea_object*, const sea_object*) const’: src/sensors.cpp:329:15: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if ( dsub && !dsub->is_submerged () || !dsub) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-g++ -o build/linux/ship.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/ship.cpp In file included from src/sea_object.h:27:0, from src/ship.h:27, from src/ship.cpp:23: src/ptrvector.h:69:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27:0, from src/ship.cpp:23: src/sea_object.h:233: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:29:0, from src/ship.cpp:24: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.cpp:24:0: src/model.h:44:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.cpp:24:0: src/model.h:63: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.cpp:24:0: src/model.h:101: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.cpp:24:0: src/model.h:102: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.cpp:24:0: src/model.h:103: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.cpp:24:0: src/model.h:152:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.cpp:24:0: src/model.h:262:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.cpp:24:0: src/model.h:263:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.cpp:24:0: src/model.h:264:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/ship.cpp:25: src/ptrlist.h:54:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/ship.cpp:25: src/ptrlist.h:58:23: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/ship.cpp:25: src/ptrlist.h: In member function ‘void ptrlist::push_back(T*)’: src/ptrlist.h:63:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/ship.cpp:25: src/ptrlist.h: In member function ‘void ptrlist::push_front(T*)’: src/ptrlist.h:67:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/ship.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -o build/linux/ships_sunk_display.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/ships_sunk_display.cpp In file included from src/model.h:29:0, from src/ships_sunk_display.cpp:28: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/ships_sunk_display.cpp:28: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:28:0: src/model.h:44:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/ships_sunk_display.cpp:28: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:28:0: src/model.h:63: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/ships_sunk_display.cpp:28: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:28:0: src/model.h:101: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/ships_sunk_display.cpp:28: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:28:0: src/model.h:102: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/ships_sunk_display.cpp:28: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:28:0: src/model.h:103: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/ships_sunk_display.cpp:28: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:28:0: src/model.h:152:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/ships_sunk_display.cpp:28: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:28:0: src/model.h:262:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/ships_sunk_display.cpp:28: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:28:0: src/model.h:263:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/ships_sunk_display.cpp:28: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:28:0: src/model.h:264:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/ships_sunk_display.cpp:28: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/ships_sunk_display.cpp:30: 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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/ships_sunk_display.cpp:28: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/ships_sunk_display.cpp:30: 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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/ships_sunk_display.cpp:28: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/ships_sunk_display.cpp:30: 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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/ships_sunk_display.cpp:28: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/ships_sunk_display.cpp:30: 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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/ships_sunk_display.cpp:28: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.h:26:0, from src/ships_sunk_display.cpp:33: src/user_display.h: At global scope: 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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/ships_sunk_display.cpp:28: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.h:26:0, from src/ships_sunk_display.cpp:33: 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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/ships_sunk_display.cpp:28: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.h:27:0, from src/user_interface.h:29, from src/ships_sunk_display.cpp:34: 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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/ships_sunk_display.cpp:28: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:29:0, from src/ships_sunk_display.cpp:34: src/sea_object.h:233: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/ships_sunk_display.cpp:28: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/ships_sunk_display.cpp:34: src/coastmap.h:132:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/ships_sunk_display.cpp:28: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:34:0: src/user_interface.h:57:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/ships_sunk_display.cpp:28: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:34:0: src/user_interface.h:61:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/ships_sunk_display.cpp:28: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:34:0: src/user_interface.h:65:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/ships_sunk_display.cpp:28: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:34:0: src/user_interface.h:72:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/ships_sunk_display.cpp:28: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:34:0: src/user_interface.h:96: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/ships_sunk_display.cpp:28: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ships_sunk_display.cpp:34:0: src/user_interface.h:97:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; // the ocean water ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/ships_sunk_display.cpp:28: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -o build/linux/sky.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sky.cpp In file included from src/model.h:29:0, from src/sky.h:34, from src/sky.cpp:32: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34:0, from src/sky.cpp:32: src/model.h:44:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34:0, from src/sky.cpp:32: src/model.h:63: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34:0, from src/sky.cpp:32: src/model.h:101: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34:0, from src/sky.cpp:32: src/model.h:102: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34:0, from src/sky.cpp:32: src/model.h:103: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34:0, from src/sky.cpp:32: src/model.h:152:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34:0, from src/sky.cpp:32: src/model.h:262:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34:0, from src/sky.cpp:32: src/model.h:263:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sky.h:34:0, from src/sky.cpp:32: src/model.h:264:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sky.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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sky.cpp:39: src/ptrlist.h:58:23: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sky.cpp:39: src/ptrlist.h: In member function ‘void ptrlist::push_back(T*)’: src/ptrlist.h:63:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sky.cpp:39: src/ptrlist.h: In member function ‘void ptrlist::push_front(T*)’: src/ptrlist.h:67:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/sky.h:34, from src/sky.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/sky.cpp: In member function ‘void sky::display(const game&, const vector3&, double, bool) const’: src/sky.cpp:409:34: warning: narrowing conversion of ‘sunpos.vector3t::x’ from ‘double’ to ‘GLfloat {aka float}’ inside { } [-Wnarrowing] GLfloat lightpos[4] = { sunpos.x, sunpos.y, sunpos.z, 0.0f }; ~~~~~~~^ src/sky.cpp:409:44: warning: narrowing conversion of ‘sunpos.vector3t::y’ from ‘double’ to ‘GLfloat {aka float}’ inside { } [-Wnarrowing] GLfloat lightpos[4] = { sunpos.x, sunpos.y, sunpos.z, 0.0f }; ~~~~~~~^ src/sky.cpp:409:54: warning: narrowing conversion of ‘sunpos.vector3t::z’ from ‘double’ to ‘GLfloat {aka float}’ inside { } [-Wnarrowing] GLfloat lightpos[4] = { sunpos.x, sunpos.y, sunpos.z, 0.0f }; ~~~~~~~^ src/sky.cpp:414:35: warning: narrowing conversion of ‘moonpos.vector3t::x’ from ‘double’ to ‘GLfloat {aka float}’ inside { } [-Wnarrowing] GLfloat lightpos[4] = { moonpos.x, moonpos.y, moonpos.z, 0.0f }; ~~~~~~~~^ src/sky.cpp:414:46: warning: narrowing conversion of ‘moonpos.vector3t::y’ from ‘double’ to ‘GLfloat {aka float}’ inside { } [-Wnarrowing] GLfloat lightpos[4] = { moonpos.x, moonpos.y, moonpos.z, 0.0f }; ~~~~~~~~^ src/sky.cpp:414:57: warning: narrowing conversion of ‘moonpos.vector3t::z’ from ‘double’ to ‘GLfloat {aka float}’ inside { } [-Wnarrowing] GLfloat lightpos[4] = { moonpos.x, moonpos.y, moonpos.z, 0.0f }; ~~~~~~~~^ src/sky.cpp: In member function ‘void sky::rebuild_colors(const game&, const vector3&) const’: src/sky.cpp:591: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:591:25: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ if(c.r>1.0) c.r=1.0; if(c.g>1.0) c.g=1.0; if(c.b>1.0) c.b=1.0; ^~ x86_64-pc-linux-gnu-g++ -o build/linux/moon.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/moon.cpp In file included from src/moon.h:27:0, from src/moon.cpp:28: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/moon.h:27, from src/moon.cpp:28: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -o build/linux/stars.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/stars.cpp x86_64-pc-linux-gnu-g++ -o build/linux/sonar.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sonar.cpp In file included from src/game.h:61:0, from src/sonar.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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/sonar.cpp:26: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sonar.cpp:26: src/ptrlist.h:58:23: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/sonar.cpp:26: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sonar.cpp:26: src/ptrlist.h: In member function ‘void ptrlist::push_back(T*)’: src/ptrlist.h:63:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/sonar.cpp:26: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sonar.cpp:26: src/ptrlist.h: In member function ‘void ptrlist::push_front(T*)’: src/ptrlist.h:67:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/sonar.cpp:26: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.h:27:0, from src/ship.h:27, from src/submarine.h:26, from src/sonar.cpp:29: src/ptrvector.h: At global scope: 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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/sonar.cpp:26: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27:0, from src/submarine.h:26, from src/sonar.cpp:29: src/sea_object.h:233: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrlist.h:28, from src/game.h:61, from src/sonar.cpp:26: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -o build/linux/sonar_operator.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sonar_operator.cpp In file included from src/sea_object.h:27:0, from src/ship.h:27, from src/submarine.h:26, from src/sonar_operator.cpp:24: src/ptrvector.h:69:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/sonar_operator.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27:0, from src/submarine.h:26, from src/sonar_operator.cpp:24: src/sea_object.h:233: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/sonar_operator.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sonar_operator.cpp:25: src/ptrlist.h:54:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/sonar_operator.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sonar_operator.cpp:25: src/ptrlist.h:58:23: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/sonar_operator.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sonar_operator.cpp:25: src/ptrlist.h: In member function ‘void ptrlist::push_back(T*)’: src/ptrlist.h:63:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/sonar_operator.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sonar_operator.cpp:25: src/ptrlist.h: In member function ‘void ptrlist::push_front(T*)’: src/ptrlist.h:67:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/sonar_operator.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/sonar_operator.cpp: In member function ‘void sonar_operator::save(xml_elem&) const’: src/sonar_operator.cpp:248:11: warning: variable ‘so’ set but not used [-Wunused-but-set-variable] xml_elem so = parent.add_child("sonar_operator"); ^~ x86_64-pc-linux-gnu-g++ -o build/linux/submarine.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/submarine.cpp In file included from src/sea_object.h:27:0, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: src/ptrvector.h:69:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27:0, from src/submarine.h:26, from src/submarine.cpp:23: src/sea_object.h:233: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:29:0, from src/submarine.cpp:24: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:24:0: src/model.h:44:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:24:0: src/model.h:63: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:24:0: src/model.h:101: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:24:0: src/model.h:102: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:24:0: src/model.h:103: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:24:0: src/model.h:152:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:24:0: src/model.h:262:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:24:0: src/model.h:263:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:24:0: src/model.h:264:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/submarine.cpp:25: src/ptrlist.h:54:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/submarine.cpp:25: src/ptrlist.h:58:23: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/submarine.cpp:25: src/ptrlist.h: In member function ‘void ptrlist::push_back(T*)’: src/ptrlist.h:63:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/submarine.cpp:25: src/ptrlist.h: In member function ‘void ptrlist::push_front(T*)’: src/ptrlist.h:67:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/submarine.cpp:32: src/coastmap.h: At global scope: src/coastmap.h:132:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33:0, from src/submarine.cpp:32: src/user_display.h:54:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33:0, from src/submarine.cpp:32: src/user_display.h:83:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:32:0: src/user_interface.h:57:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:32:0: src/user_interface.h:61:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:32:0: src/user_interface.h:65:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:32:0: src/user_interface.h:72:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:32:0: src/user_interface.h:96: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine.cpp:32:0: src/user_interface.h:97:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; // the ocean water ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -o build/linux/submarine_interface.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/submarine_interface.cpp In file included from src/sea_object.h:27:0, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: 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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27:0, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: src/sea_object.h:233: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.h:29:0, from src/user_interface.h:31, from src/submarine_interface.h:30, from src/submarine_interface.cpp:41: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/submarine_interface.h:30, from src/submarine_interface.cpp:41: src/coastmap.h:132:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33:0, from src/submarine_interface.h:30, from src/submarine_interface.cpp:41: 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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33:0, from src/submarine_interface.h:30, from src/submarine_interface.cpp:41: 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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/submarine_interface.cpp:41: src/user_interface.h:57:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/submarine_interface.cpp:41: src/user_interface.h:61:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/submarine_interface.cpp:41: src/user_interface.h:65:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/submarine_interface.cpp:41: src/user_interface.h:72:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/submarine_interface.cpp:41: src/user_interface.h:96: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/submarine_interface.cpp:41: src/user_interface.h:97:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; // the ocean water ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:41:0: src/submarine_interface.h:84:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torpedo_cam_view; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/submarine_interface.cpp:43: 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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/submarine_interface.cpp:43: 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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/submarine_interface.cpp:43: 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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/submarine_interface.cpp:43: 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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:32:0, from src/submarine_interface.cpp:46: src/model.h: At global scope: src/model.h:44:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:32:0, from src/submarine_interface.cpp:46: src/model.h:63: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:32:0, from src/submarine_interface.cpp:46: src/model.h:101: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:32:0, from src/submarine_interface.cpp:46: src/model.h:102: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:32:0, from src/submarine_interface.cpp:46: src/model.h:103: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:32:0, from src/submarine_interface.cpp:46: src/model.h:152:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:32:0, from src/submarine_interface.cpp:46: src/model.h:262:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:32:0, from src/submarine_interface.cpp:46: src/model.h:263:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:32:0, from src/submarine_interface.cpp:46: src/model.h:264:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:46:0: src/widget.h:93:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr backg; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:46:0: src/widget.h:94:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr skbackg; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:46:0: src/widget.h:95:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr frame[8]; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:46:0: src/widget.h:96:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr frameinv[8]; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:46:0: src/widget.h:97:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr icons[4]; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:46:0: src/widget.h:98:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr sbarbackg; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:46:0: src/widget.h:99:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr sbarsurf; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:46:0: src/widget.h:109:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr globaltheme; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:46:0: src/widget.h:119: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:46:0: src/widget.h:121: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:46:0: src/widget.h:121: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:46:0: src/widget.h:463:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr mdl; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:46:0: src/widget.h:478: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:46:0: src/widget.h:480:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void set_model(std::auto_ptr mdl_); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/music.h:37:0, from src/submarine_interface.cpp:50: 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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:53:0: src/sub_gauges_display.h:46:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr controlscreen; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:53:0: src/sub_gauges_display.h:48:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr indicator_compass; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:53:0: src/sub_gauges_display.h:49:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr indicator_bow_depth_rudder; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:53:0: src/sub_gauges_display.h:50:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr indicator_stern_depth_rudder; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:53:0: src/sub_gauges_display.h:51:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr indicator_depth; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:53:0: src/sub_gauges_display.h:52:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr indicator_knots; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:53:0: src/sub_gauges_display.h:53:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr indicator_main_rudder; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:53:0: src/sub_gauges_display.h:54:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr indicator_mt; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:54:0: src/sub_periscope_display.h:38:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr background; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:54:0: src/sub_periscope_display.h:49:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr glsl_blurview; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:57:0: src/map_display.h:57:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr edit_panel; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:57:0: src/map_display.h:58:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr edit_panel_add; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:57:0: src/map_display.h:59:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr edit_panel_chgmot; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:57:0: src/map_display.h:60:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr edit_panel_time; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:57:0: src/map_display.h:61:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr edit_panel_descr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:57:0: src/map_display.h:62:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr edit_panel_help; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:57:0: src/map_display.h:63:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr edit_panel_convoy; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:58:0: src/sub_torpedo_display.h:38:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torpempty; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:58:0: src/sub_torpedo_display.h:39:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torpload; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:58:0: src/sub_torpedo_display.h:40:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torpunload; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:58:0: src/sub_torpedo_display.h:41:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torp1fat1; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:58:0: src/sub_torpedo_display.h:42:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torp1lut1; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:58:0: src/sub_torpedo_display.h:43:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torp1lut2; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:58:0: src/sub_torpedo_display.h:44:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torp1; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:58:0: src/sub_torpedo_display.h:45:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torp1practice; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:58:0: src/sub_torpedo_display.h:46:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torp2; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:58:0: src/sub_torpedo_display.h:47:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torp3afat2; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:58:0: src/sub_torpedo_display.h:48:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torp3alut1; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:58:0: src/sub_torpedo_display.h:49:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torp3alut2; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:58:0: src/sub_torpedo_display.h:50:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torp3fat2; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:58:0: src/sub_torpedo_display.h:51:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torp3; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:58:0: src/sub_torpedo_display.h:52:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torp4; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:58:0: src/sub_torpedo_display.h:53:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torp5b; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:58:0: src/sub_torpedo_display.h:54:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torp5; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:58:0: src/sub_torpedo_display.h:55:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torp6lut1; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:58:0: src/sub_torpedo_display.h:57:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr submodelVIIc; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:58:0: src/sub_torpedo_display.h:58:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr background; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:58:0: src/sub_torpedo_display.h:59:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr subtopsideview; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:59:0: src/sub_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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:59:0: src/sub_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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:60:0: src/logbook_display.h:34:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr background; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:63:0: src/sub_tdc_display.h:34:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr background; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:63:0: src/sub_tdc_display.h:39:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr firesolution; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:63:0: src/sub_tdc_display.h:56:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr background; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:63:0: src/sub_tdc_display.h:78:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr myscheme1; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:63:0: src/sub_tdc_display.h:79:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr myscheme2; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:64:0: src/sub_torpsetup_display.h:34:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr background; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:64:0: src/sub_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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:64:0: src/sub_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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:64:0: src/sub_torpsetup_display.h:45:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr secondaryrange[2]; // 800/1600m ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:64:0: src/sub_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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:64:0: src/sub_torpsetup_display.h:47:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr temperaturescale; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:64:0: src/sub_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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:64:0: src/sub_torpsetup_display.h:74:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr myscheme; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:65:0: src/sub_kdb_display.h:35:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr background; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:65:0: src/sub_kdb_display.h:53:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr myscheme; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:66:0: src/sub_ghg_display.h:34:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr background; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:66:0: src/sub_ghg_display.h:53:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr myscheme; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:67:0: src/sub_bg_display.h:34:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr background; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:67:0: src/sub_bg_display.h:50:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr myscheme; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:68:0: src/sub_captainscabin_display.h:35:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr background; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:72:0: src/sub_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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:72:0: src/sub_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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:73:0: src/sub_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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:73:0: src/sub_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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:74:0: src/sub_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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.cpp:74:0: src/sub_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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/submarine.h:26, from src/submarine_interface.h:28, from src/submarine_interface.cpp:41: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -o build/linux/sub_bg_display.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_bg_display.cpp In file included from src/user_display.h:28:0, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_bg_display.h:26:0, from src/sub_bg_display.cpp:23: src/user_display.h:54:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_bg_display.h:26:0, from src/sub_bg_display.cpp:23: src/user_display.h:83:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30:0, from src/sub_bg_display.h:27, from src/sub_bg_display.cpp:23: src/ptrvector.h:69:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_bg_display.cpp:23:0: src/sub_bg_display.h:34:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr background; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_bg_display.cpp:23:0: src/sub_bg_display.h:50:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr myscheme; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_bg_display.cpp:27: src/ptrlist.h:54:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_bg_display.cpp:27: src/ptrlist.h:58:23: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_bg_display.cpp:27: src/ptrlist.h: In member function ‘void ptrlist::push_back(T*)’: src/ptrlist.h:63:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_bg_display.cpp:27: src/ptrlist.h: In member function ‘void ptrlist::push_front(T*)’: src/ptrlist.h:67:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27:0, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_bg_display.cpp:28: src/sea_object.h: At global scope: src/sea_object.h:233: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/submarine_interface.h:30, from src/sub_bg_display.cpp:28: src/coastmap.h:132:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_bg_display.cpp:28: src/user_interface.h:57:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_bg_display.cpp:28: src/user_interface.h:61:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_bg_display.cpp:28: src/user_interface.h:65:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_bg_display.cpp:28: src/user_interface.h:72:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_bg_display.cpp:28: src/user_interface.h:96: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_bg_display.cpp:28: src/user_interface.h:97:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; // the ocean water ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_bg_display.cpp:28:0: src/submarine_interface.h:84:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torpedo_cam_view; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_bg_display.h:26, from src/sub_bg_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/sub_bg_display.cpp: In member function ‘virtual void sub_bg_display::process_input(game&, const SDL_Event&)’: src/sub_bg_display.cpp:60:14: warning: variable ‘mb’ set but not used [-Wunused-but-set-variable] int mx, my, mb; ^~ x86_64-pc-linux-gnu-g++ -o build/linux/sub_bridge_display.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_bridge_display.cpp In file included from src/image.h:30:0, from src/sub_bridge_display.cpp:24: src/ptrvector.h:69:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31:0, from src/sub_bridge_display.cpp:24: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_bridge_display.cpp:26: src/ptrlist.h:54:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_bridge_display.cpp:26: src/ptrlist.h:58:23: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_bridge_display.cpp:26: src/ptrlist.h: In member function ‘void ptrlist::push_back(T*)’: src/ptrlist.h:63:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_bridge_display.cpp:26: src/ptrlist.h: In member function ‘void ptrlist::push_front(T*)’: src/ptrlist.h:67:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.h:26:0, from src/sub_bridge_display.h:26, from src/sub_bridge_display.cpp:27: src/user_display.h: At global scope: 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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.h:26:0, from src/sub_bridge_display.h:26, from src/sub_bridge_display.cpp:27: src/user_display.h:83:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:29:0, from src/sub_bridge_display.cpp:28: src/sea_object.h:233: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/sub_bridge_display.cpp:28: src/coastmap.h:132:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_bridge_display.cpp:28:0: src/user_interface.h:57:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_bridge_display.cpp:28:0: src/user_interface.h:61:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_bridge_display.cpp:28:0: src/user_interface.h:65:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_bridge_display.cpp:28:0: src/user_interface.h:72:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_bridge_display.cpp:28:0: src/user_interface.h:96: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_bridge_display.cpp:28:0: src/user_interface.h:97:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; // the ocean water ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_bridge_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -o build/linux/sub_captainscabin_display.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_captainscabin_display.cpp In file included from src/image.h:30:0, from src/sub_captainscabin_display.cpp:24: src/ptrvector.h:69:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31:0, from src/sub_captainscabin_display.cpp:24: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_captainscabin_display.cpp:26: src/ptrlist.h:54:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_captainscabin_display.cpp:26: src/ptrlist.h:58:23: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_captainscabin_display.cpp:26: src/ptrlist.h: In member function ‘void ptrlist::push_back(T*)’: src/ptrlist.h:63:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_captainscabin_display.cpp:26: src/ptrlist.h: In member function ‘void ptrlist::push_front(T*)’: src/ptrlist.h:67:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_captainscabin_display.h:26:0, from src/sub_captainscabin_display.cpp:28: src/user_display.h: At global scope: 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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_captainscabin_display.h:26:0, from src/sub_captainscabin_display.cpp:28: src/user_display.h:83:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27:0, from src/submarine.h:26, from src/sub_captainscabin_display.h:27, from src/sub_captainscabin_display.cpp:28: src/sea_object.h:233: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_captainscabin_display.cpp:28:0: src/sub_captainscabin_display.h:35:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr background; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/submarine_interface.h:30, from src/sub_captainscabin_display.cpp:31: src/coastmap.h:132:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_captainscabin_display.cpp:31: src/user_interface.h:57:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_captainscabin_display.cpp:31: src/user_interface.h:61:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_captainscabin_display.cpp:31: src/user_interface.h:65:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_captainscabin_display.cpp:31: src/user_interface.h:72:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_captainscabin_display.cpp:31: src/user_interface.h:96: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_captainscabin_display.cpp:31: src/user_interface.h:97:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; // the ocean water ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_captainscabin_display.cpp:31:0: src/submarine_interface.h:84:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torpedo_cam_view; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_captainscabin_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -o build/linux/sub_control_popup.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_control_popup.cpp In file included from src/image.h:30:0, from src/sub_control_popup.h:28, from src/sub_control_popup.cpp:23: src/ptrvector.h:69:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/sub_control_popup.h:26, from src/sub_control_popup.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31:0, from src/sub_control_popup.h:28, from src/sub_control_popup.cpp:23: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/sub_control_popup.h:26, from src/sub_control_popup.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_control_popup.cpp:23:0: src/sub_control_popup.h:33:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr background_daylight; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/sub_control_popup.h:26, from src/sub_control_popup.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_control_popup.cpp:23:0: src/sub_control_popup.h:34:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr background_nightlight; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/sub_control_popup.h:26, from src/sub_control_popup.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_control_popup.cpp:26: src/ptrlist.h:54:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/sub_control_popup.h:26, from src/sub_control_popup.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_control_popup.cpp:26: src/ptrlist.h:58:23: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/sub_control_popup.h:26, from src/sub_control_popup.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_control_popup.cpp:26: src/ptrlist.h: In member function ‘void ptrlist::push_back(T*)’: src/ptrlist.h:63:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/sub_control_popup.h:26, from src/sub_control_popup.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_control_popup.cpp:26: src/ptrlist.h: In member function ‘void ptrlist::push_front(T*)’: src/ptrlist.h:67:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/sub_control_popup.h:26, from src/sub_control_popup.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -o build/linux/sub_ecard_popup.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_ecard_popup.cpp In file included from src/image.h:30:0, from src/sub_ecard_popup.h:28, from src/sub_ecard_popup.cpp:23: src/ptrvector.h:69:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/sub_ecard_popup.h:26, from src/sub_ecard_popup.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31:0, from src/sub_ecard_popup.h:28, from src/sub_ecard_popup.cpp:23: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/sub_ecard_popup.h:26, from src/sub_ecard_popup.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_ecard_popup.cpp:23:0: src/sub_ecard_popup.h:33:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr background_daylight; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/sub_ecard_popup.h:26, from src/sub_ecard_popup.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_ecard_popup.cpp:23:0: src/sub_ecard_popup.h:34:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr background_nightlight; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/sub_ecard_popup.h:26, from src/sub_ecard_popup.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_ecard_popup.cpp:26: src/ptrlist.h:54:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/sub_ecard_popup.h:26, from src/sub_ecard_popup.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_ecard_popup.cpp:26: src/ptrlist.h:58:23: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/sub_ecard_popup.h:26, from src/sub_ecard_popup.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_ecard_popup.cpp:26: src/ptrlist.h: In member function ‘void ptrlist::push_back(T*)’: src/ptrlist.h:63:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/sub_ecard_popup.h:26, from src/sub_ecard_popup.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_ecard_popup.cpp:26: src/ptrlist.h: In member function ‘void ptrlist::push_front(T*)’: src/ptrlist.h:67:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/sub_ecard_popup.h:26, from src/sub_ecard_popup.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -o build/linux/sub_damage_display.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_damage_display.cpp In file included from src/user_display.h:28:0, from src/sub_damage_display.cpp:31: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/global_data.h:60, from src/sub_damage_display.cpp:30: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_damage_display.cpp:31:0: src/user_display.h:54:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/global_data.h:60, from src/sub_damage_display.cpp:30: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_damage_display.cpp:31:0: src/user_display.h:83:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/global_data.h:60, from src/sub_damage_display.cpp:30: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.h:27:0, from src/user_interface.h:29, from src/sub_damage_display.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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/global_data.h:60, from src/sub_damage_display.cpp:30: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:29:0, from src/sub_damage_display.cpp:32: src/sea_object.h:233: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/global_data.h:60, from src/sub_damage_display.cpp:30: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/sub_damage_display.cpp:32: src/coastmap.h:132:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/global_data.h:60, from src/sub_damage_display.cpp:30: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_damage_display.cpp:32:0: src/user_interface.h:57:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/global_data.h:60, from src/sub_damage_display.cpp:30: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_damage_display.cpp:32:0: src/user_interface.h:61:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/global_data.h:60, from src/sub_damage_display.cpp:30: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_damage_display.cpp:32:0: src/user_interface.h:65:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/global_data.h:60, from src/sub_damage_display.cpp:30: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_damage_display.cpp:32:0: src/user_interface.h:72:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/global_data.h:60, from src/sub_damage_display.cpp:30: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_damage_display.cpp:32:0: src/user_interface.h:96: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/global_data.h:60, from src/sub_damage_display.cpp:30: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_damage_display.cpp:32:0: src/user_interface.h:97:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; // the ocean water ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/global_data.h:60, from src/sub_damage_display.cpp:30: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_damage_display.cpp:33:0: src/sub_damage_display.h:34:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr damage_screen_background; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/global_data.h:60, from src/sub_damage_display.cpp:30: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_damage_display.cpp:33:0: src/sub_damage_display.h:35:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr sub_damage_scheme_all; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/global_data.h:60, from src/sub_damage_display.cpp:30: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_damage_display.cpp:35: src/ptrlist.h:54:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/global_data.h:60, from src/sub_damage_display.cpp:30: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_damage_display.cpp:35: src/ptrlist.h:58:23: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/global_data.h:60, from src/sub_damage_display.cpp:30: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_damage_display.cpp:35: src/ptrlist.h: In member function ‘void ptrlist::push_back(T*)’: src/ptrlist.h:63:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/global_data.h:60, from src/sub_damage_display.cpp:30: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_damage_display.cpp:35: src/ptrlist.h: In member function ‘void ptrlist::push_front(T*)’: src/ptrlist.h:67:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/global_data.h:60, from src/sub_damage_display.cpp:30: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -o build/linux/sub_gauges_display.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_gauges_display.cpp In file included from src/image.h:30:0, from src/sub_gauges_display.cpp:24: src/ptrvector.h:69:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31:0, from src/sub_gauges_display.cpp:24: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_gauges_display.cpp:26: src/ptrlist.h:54:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_gauges_display.cpp:26: src/ptrlist.h:58:23: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_gauges_display.cpp:26: src/ptrlist.h: In member function ‘void ptrlist::push_back(T*)’: src/ptrlist.h:63:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_gauges_display.cpp:26: src/ptrlist.h: In member function ‘void ptrlist::push_front(T*)’: src/ptrlist.h:67:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27:0, from src/submarine.h:26, from src/sub_gauges_display.cpp:27: src/sea_object.h: At global scope: src/sea_object.h:233: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_display.h:26:0, from src/sub_gauges_display.cpp:28: src/user_display.h:54:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_display.h:26:0, from src/sub_gauges_display.cpp:28: src/user_display.h:83:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_display.cpp:28:0: src/sub_gauges_display.h:46:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr controlscreen; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_display.cpp:28:0: src/sub_gauges_display.h:48:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr indicator_compass; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_display.cpp:28:0: src/sub_gauges_display.h:49:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr indicator_bow_depth_rudder; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_display.cpp:28:0: src/sub_gauges_display.h:50:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr indicator_stern_depth_rudder; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_display.cpp:28:0: src/sub_gauges_display.h:51:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr indicator_depth; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_display.cpp:28:0: src/sub_gauges_display.h:52:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr indicator_knots; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_display.cpp:28:0: src/sub_gauges_display.h:53:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr indicator_main_rudder; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_display.cpp:28:0: src/sub_gauges_display.h:54:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr indicator_mt; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/sub_gauges_display.cpp:29: src/coastmap.h:132:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_display.cpp:29:0: src/user_interface.h:57:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_display.cpp:29:0: src/user_interface.h:61:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_display.cpp:29:0: src/user_interface.h:65:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_display.cpp:29:0: src/user_interface.h:72:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_display.cpp:29:0: src/user_interface.h:96: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_gauges_display.cpp:29:0: src/user_interface.h:97:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; // the ocean water ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_gauges_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -o build/linux/sub_ghg_display.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_ghg_display.cpp In file included from src/user_display.h:28:0, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_ghg_display.h:26:0, from src/sub_ghg_display.cpp:23: src/user_display.h:54:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_ghg_display.h:26:0, from src/sub_ghg_display.cpp:23: src/user_display.h:83:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30:0, from src/sub_ghg_display.h:27, from src/sub_ghg_display.cpp:23: src/ptrvector.h:69:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_ghg_display.cpp:23:0: src/sub_ghg_display.h:34:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr background; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_ghg_display.cpp:23:0: src/sub_ghg_display.h:53:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr myscheme; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_ghg_display.cpp:27: src/ptrlist.h:54:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_ghg_display.cpp:27: src/ptrlist.h:58:23: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_ghg_display.cpp:27: src/ptrlist.h: In member function ‘void ptrlist::push_back(T*)’: src/ptrlist.h:63:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_ghg_display.cpp:27: src/ptrlist.h: In member function ‘void ptrlist::push_front(T*)’: src/ptrlist.h:67:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27:0, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_ghg_display.cpp:28: src/sea_object.h: At global scope: src/sea_object.h:233: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/submarine_interface.h:30, from src/sub_ghg_display.cpp:28: src/coastmap.h:132:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_ghg_display.cpp:28: src/user_interface.h:57:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_ghg_display.cpp:28: src/user_interface.h:61:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_ghg_display.cpp:28: src/user_interface.h:65:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_ghg_display.cpp:28: src/user_interface.h:72:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_ghg_display.cpp:28: src/user_interface.h:96: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_ghg_display.cpp:28: src/user_interface.h:97:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; // the ocean water ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_ghg_display.cpp:28:0: src/submarine_interface.h:84:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torpedo_cam_view; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_ghg_display.h:26, from src/sub_ghg_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/sub_ghg_display.cpp: In member function ‘virtual void sub_ghg_display::process_input(game&, const SDL_Event&)’: src/sub_ghg_display.cpp:59:14: warning: variable ‘mb’ set but not used [-Wunused-but-set-variable] int mx, my, mb; ^~ x86_64-pc-linux-gnu-g++ -o build/linux/sub_kdb_display.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_kdb_display.cpp In file included from src/user_display.h:28:0, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_kdb_display.h:26:0, from src/sub_kdb_display.cpp:23: src/user_display.h:54:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_kdb_display.h:26:0, from src/sub_kdb_display.cpp:23: src/user_display.h:83:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30:0, from src/sub_kdb_display.h:27, from src/sub_kdb_display.cpp:23: src/ptrvector.h:69:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_kdb_display.cpp:23:0: src/sub_kdb_display.h:35:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr background; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_kdb_display.cpp:23:0: src/sub_kdb_display.h:53:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr myscheme; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_kdb_display.cpp:27: src/ptrlist.h:54:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_kdb_display.cpp:27: src/ptrlist.h:58:23: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_kdb_display.cpp:27: src/ptrlist.h: In member function ‘void ptrlist::push_back(T*)’: src/ptrlist.h:63:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_kdb_display.cpp:27: src/ptrlist.h: In member function ‘void ptrlist::push_front(T*)’: src/ptrlist.h:67:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27:0, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_kdb_display.cpp:28: src/sea_object.h: At global scope: src/sea_object.h:233: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/submarine_interface.h:30, from src/sub_kdb_display.cpp:28: src/coastmap.h:132:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_kdb_display.cpp:28: src/user_interface.h:57:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_kdb_display.cpp:28: src/user_interface.h:61:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_kdb_display.cpp:28: src/user_interface.h:65:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_kdb_display.cpp:28: src/user_interface.h:72:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_kdb_display.cpp:28: src/user_interface.h:96: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_kdb_display.cpp:28: src/user_interface.h:97:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; // the ocean water ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_kdb_display.cpp:28:0: src/submarine_interface.h:84:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torpedo_cam_view; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/user_display.h:28, from src/sub_kdb_display.h:26, from src/sub_kdb_display.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/sub_kdb_display.cpp: In member function ‘virtual void sub_kdb_display::process_input(game&, const SDL_Event&)’: src/sub_kdb_display.cpp:64:14: warning: variable ‘mb’ set but not used [-Wunused-but-set-variable] int mx, my, mb; ^~ src/sub_kdb_display.cpp: In member function ‘virtual void sub_kdb_display::display(game&) const’: src/sub_kdb_display.cpp:208:22: warning: variable ‘nstr’ set but not used [-Wunused-but-set-variable] pair nstr = gm.sonar_listen_ships(player, app_ang); ^~~~ x86_64-pc-linux-gnu-g++ -o build/linux/sub_periscope_display.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_periscope_display.cpp In file included from src/image.h:30:0, from src/sub_periscope_display.cpp:24: src/ptrvector.h:69:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31:0, from src/sub_periscope_display.cpp:24: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_periscope_display.cpp:26: src/ptrlist.h:54:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_periscope_display.cpp:26: src/ptrlist.h:58:23: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_periscope_display.cpp:26: src/ptrlist.h: In member function ‘void ptrlist::push_back(T*)’: src/ptrlist.h:63:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_periscope_display.cpp:26: src/ptrlist.h: In member function ‘void ptrlist::push_front(T*)’: src/ptrlist.h:67:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.h:26:0, from src/sub_periscope_display.h:26, from src/sub_periscope_display.cpp:27: src/user_display.h: At global scope: 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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.h:26:0, from src/sub_periscope_display.h:26, from src/sub_periscope_display.cpp:27: src/user_display.h:83:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_periscope_display.cpp:27:0: src/sub_periscope_display.h:38:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr background; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_periscope_display.cpp:27:0: src/sub_periscope_display.h:49:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr glsl_blurview; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27:0, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_periscope_display.cpp:28: src/sea_object.h:233: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/submarine_interface.h:30, from src/sub_periscope_display.cpp:28: src/coastmap.h:132:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_periscope_display.cpp:28: src/user_interface.h:57:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_periscope_display.cpp:28: src/user_interface.h:61:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_periscope_display.cpp:28: src/user_interface.h:65:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_periscope_display.cpp:28: src/user_interface.h:72:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_periscope_display.cpp:28: src/user_interface.h:96: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_periscope_display.cpp:28: src/user_interface.h:97:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; // the ocean water ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_periscope_display.cpp:28:0: src/submarine_interface.h:84:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torpedo_cam_view; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_periscope_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -o build/linux/sub_tdc_display.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_tdc_display.cpp In file included from src/image.h:30:0, from src/sub_tdc_display.cpp:24: src/ptrvector.h:69:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31:0, from src/sub_tdc_display.cpp:24: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_tdc_display.cpp:26: src/ptrlist.h:54:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_tdc_display.cpp:26: src/ptrlist.h:58:23: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_tdc_display.cpp:26: src/ptrlist.h: In member function ‘void ptrlist::push_back(T*)’: src/ptrlist.h:63:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_tdc_display.cpp:26: src/ptrlist.h: In member function ‘void ptrlist::push_front(T*)’: src/ptrlist.h:67:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_tdc_display.h:26:0, from src/sub_tdc_display.cpp:27: src/user_display.h: At global scope: 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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_tdc_display.h:26:0, from src/sub_tdc_display.cpp:27: src/user_display.h:83:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_tdc_display.cpp:27:0: src/sub_tdc_display.h:34:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr background; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_tdc_display.cpp:27:0: src/sub_tdc_display.h:39:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr firesolution; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_tdc_display.cpp:27:0: src/sub_tdc_display.h:56:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr background; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_tdc_display.cpp:27:0: src/sub_tdc_display.h:78:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr myscheme1; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_tdc_display.cpp:27:0: src/sub_tdc_display.h:79:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr myscheme2; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27:0, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_tdc_display.cpp:28: src/sea_object.h:233: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/submarine_interface.h:30, from src/sub_tdc_display.cpp:28: src/coastmap.h:132:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_tdc_display.cpp:28: src/user_interface.h:57:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_tdc_display.cpp:28: src/user_interface.h:61:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_tdc_display.cpp:28: src/user_interface.h:65:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_tdc_display.cpp:28: src/user_interface.h:72:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_tdc_display.cpp:28: src/user_interface.h:96: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_tdc_display.cpp:28: src/user_interface.h:97:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; // the ocean water ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_tdc_display.cpp:28:0: src/submarine_interface.h:84:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torpedo_cam_view; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_tdc_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -o build/linux/sub_tdc_popup.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_tdc_popup.cpp In file included from src/image.h:30:0, from src/sub_tdc_popup.h:28, from src/sub_tdc_popup.cpp:23: src/ptrvector.h:69:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/sub_tdc_popup.h:26, from src/sub_tdc_popup.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31:0, from src/sub_tdc_popup.h:28, from src/sub_tdc_popup.cpp:23: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/sub_tdc_popup.h:26, from src/sub_tdc_popup.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_tdc_popup.cpp:23:0: src/sub_tdc_popup.h:33:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr background_daylight; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/sub_tdc_popup.h:26, from src/sub_tdc_popup.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_tdc_popup.cpp:23:0: src/sub_tdc_popup.h:34:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr background_nightlight; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/sub_tdc_popup.h:26, from src/sub_tdc_popup.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_tdc_popup.cpp:26: src/ptrlist.h:54:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/sub_tdc_popup.h:26, from src/sub_tdc_popup.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_tdc_popup.cpp:26: src/ptrlist.h:58:23: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/sub_tdc_popup.h:26, from src/sub_tdc_popup.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_tdc_popup.cpp:26: src/ptrlist.h: In member function ‘void ptrlist::push_back(T*)’: src/ptrlist.h:63:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/sub_tdc_popup.h:26, from src/sub_tdc_popup.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_tdc_popup.cpp:26: src/ptrlist.h: In member function ‘void ptrlist::push_front(T*)’: src/ptrlist.h:67:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/sub_tdc_popup.h:26, from src/sub_tdc_popup.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -o build/linux/sub_torpedo_display.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_torpedo_display.cpp In file included from src/image.h:30:0, from src/sub_torpedo_display.cpp:24: src/ptrvector.h:69:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31:0, from src/sub_torpedo_display.cpp:24: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_torpedo_display.cpp:26: src/ptrlist.h:54:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_torpedo_display.cpp:26: src/ptrlist.h:58:23: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_torpedo_display.cpp:26: src/ptrlist.h: In member function ‘void ptrlist::push_back(T*)’: src/ptrlist.h:63:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_torpedo_display.cpp:26: src/ptrlist.h: In member function ‘void ptrlist::push_front(T*)’: src/ptrlist.h:67:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.h:26:0, from src/sub_torpedo_display.cpp:28: src/user_display.h: At global scope: 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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.h:26:0, from src/sub_torpedo_display.cpp:28: src/user_display.h:83:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27:0, from src/submarine.h:26, from src/sub_torpedo_display.h:27, from src/sub_torpedo_display.cpp:28: src/sea_object.h:233: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28:0: src/sub_torpedo_display.h:38:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torpempty; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28:0: src/sub_torpedo_display.h:39:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torpload; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28:0: src/sub_torpedo_display.h:40:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torpunload; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28:0: src/sub_torpedo_display.h:41:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torp1fat1; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28:0: src/sub_torpedo_display.h:42:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torp1lut1; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28:0: src/sub_torpedo_display.h:43:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torp1lut2; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28:0: src/sub_torpedo_display.h:44:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torp1; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28:0: src/sub_torpedo_display.h:45:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torp1practice; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28:0: src/sub_torpedo_display.h:46:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torp2; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28:0: src/sub_torpedo_display.h:47:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torp3afat2; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28:0: src/sub_torpedo_display.h:48:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torp3alut1; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28:0: src/sub_torpedo_display.h:49:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torp3alut2; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28:0: src/sub_torpedo_display.h:50:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torp3fat2; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28:0: src/sub_torpedo_display.h:51:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torp3; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28:0: src/sub_torpedo_display.h:52:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torp4; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28:0: src/sub_torpedo_display.h:53:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torp5b; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28:0: src/sub_torpedo_display.h:54:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torp5; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28:0: src/sub_torpedo_display.h:55:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torp6lut1; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28:0: src/sub_torpedo_display.h:57:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr submodelVIIc; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28:0: src/sub_torpedo_display.h:58:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr background; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:28:0: src/sub_torpedo_display.h:59:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr subtopsideview; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/sub_torpedo_display.cpp:31: src/coastmap.h:132:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:31:0: src/user_interface.h:57:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:31:0: src/user_interface.h:61:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:31:0: src/user_interface.h:65:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:31:0: src/user_interface.h:72:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:31:0: src/user_interface.h:96: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpedo_display.cpp:31:0: src/user_interface.h:97:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; // the ocean water ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpedo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -o build/linux/sub_torpsetup_display.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_torpsetup_display.cpp In file included from src/image.h:30:0, from src/sub_torpsetup_display.cpp:24: src/ptrvector.h:69:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31:0, from src/sub_torpsetup_display.cpp:24: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_torpsetup_display.cpp:25: src/ptrlist.h:54:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_torpsetup_display.cpp:25: src/ptrlist.h:58:23: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_torpsetup_display.cpp:25: src/ptrlist.h: In member function ‘void ptrlist::push_back(T*)’: src/ptrlist.h:63:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_torpsetup_display.cpp:25: src/ptrlist.h: In member function ‘void ptrlist::push_front(T*)’: src/ptrlist.h:67:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpsetup_display.h:26:0, from src/sub_torpsetup_display.cpp:26: src/user_display.h: At global scope: 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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpsetup_display.h:26:0, from src/sub_torpsetup_display.cpp:26: src/user_display.h:83:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpsetup_display.cpp:26:0: src/sub_torpsetup_display.h:34:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr background; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpsetup_display.cpp:26:0: src/sub_torpsetup_display.h:43:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torpspeed[3]; // slow/medium/fast ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpsetup_display.cpp:26:0: src/sub_torpsetup_display.h:44:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr firstturn[2]; // left/right ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpsetup_display.cpp:26:0: src/sub_torpsetup_display.h:45:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr secondaryrange[2]; // 800/1600m ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpsetup_display.cpp:26:0: src/sub_torpsetup_display.h:46:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr preheating[2]; // on/off ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpsetup_display.cpp:26:0: src/sub_torpsetup_display.h:47:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr temperaturescale; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpsetup_display.cpp:26:0: src/sub_torpsetup_display.h:51:27: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] bool is_over(const std::auto_ptr& tex, const vector2i& pos, ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpsetup_display.cpp:26:0: src/sub_torpsetup_display.h:74:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr myscheme; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27:0, from src/submarine.h:26, from src/submarine_interface.h:28, from src/sub_torpsetup_display.cpp:27: src/sea_object.h:233: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/submarine_interface.h:30, from src/sub_torpsetup_display.cpp:27: src/coastmap.h:132:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_torpsetup_display.cpp:27: src/user_interface.h:57:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_torpsetup_display.cpp:27: src/user_interface.h:61:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_torpsetup_display.cpp:27: src/user_interface.h:65:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_torpsetup_display.cpp:27: src/user_interface.h:72:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_torpsetup_display.cpp:27: src/user_interface.h:96: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_torpsetup_display.cpp:27: src/user_interface.h:97:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; // the ocean water ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_torpsetup_display.cpp:27:0: src/submarine_interface.h:84:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torpedo_cam_view; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_torpsetup_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/sub_torpsetup_display.cpp: In member function ‘virtual void sub_torpsetup_display::process_input(game&, const SDL_Event&)’: src/sub_torpsetup_display.cpp:106:14: warning: variable ‘mb’ set but not used [-Wunused-but-set-variable] int mx, my, mb; ^~ x86_64-pc-linux-gnu-g++ -o build/linux/sub_uzo_display.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_uzo_display.cpp In file included from src/image.h:30:0, from src/sub_uzo_display.cpp:24: src/ptrvector.h:69:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31:0, from src/sub_uzo_display.cpp:24: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_uzo_display.cpp:26: src/ptrlist.h:54:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_uzo_display.cpp:26: src/ptrlist.h:58:23: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_uzo_display.cpp:26: src/ptrlist.h: In member function ‘void ptrlist::push_back(T*)’: src/ptrlist.h:63:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/sub_uzo_display.cpp:26: src/ptrlist.h: In member function ‘void ptrlist::push_front(T*)’: src/ptrlist.h:67:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27:0, from src/submarine.h:26, from src/sub_uzo_display.cpp:27: src/sea_object.h: At global scope: src/sea_object.h:233: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.h:26:0, from src/sub_uzo_display.h:26, from src/sub_uzo_display.cpp:28: src/user_display.h:54:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.h:26:0, from src/sub_uzo_display.h:26, from src/sub_uzo_display.cpp:28: src/user_display.h:83:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/submarine_interface.h:30, from src/sub_uzo_display.cpp:29: src/coastmap.h:132:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_uzo_display.cpp:29: src/user_interface.h:57:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_uzo_display.cpp:29: src/user_interface.h:61:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_uzo_display.cpp:29: src/user_interface.h:65:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_uzo_display.cpp:29: src/user_interface.h:72:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_uzo_display.cpp:29: src/user_interface.h:96: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/sub_uzo_display.cpp:29: src/user_interface.h:97:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; // the ocean water ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sub_uzo_display.cpp:29:0: src/submarine_interface.h:84:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torpedo_cam_view; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/sub_uzo_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -o build/linux/tdc.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/tdc.cpp x86_64-pc-linux-gnu-g++ -o build/linux/texts.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/texts.cpp src/texts.cpp:40:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] }; ^ src/texts.cpp:40:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] src/texts.cpp:40:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/global_data.h:60, from src/texts.cpp:26: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -o build/linux/thread.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/thread.cpp x86_64-pc-linux-gnu-g++ -o build/linux/tone_reproductor.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/tone_reproductor.cpp x86_64-pc-linux-gnu-g++ -o build/linux/torpedo.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/torpedo.cpp In file included from src/sea_object.h:27:0, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: src/ptrvector.h:69:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27:0, from src/torpedo.h:26, from src/torpedo.cpp:23: src/sea_object.h:233: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.h:29:0, from src/torpedo.cpp:25: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo.cpp:25:0: src/model.h:44:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo.cpp:25:0: src/model.h:63: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo.cpp:25:0: src/model.h:101: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo.cpp:25:0: src/model.h:102: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo.cpp:25:0: src/model.h:103: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo.cpp:25:0: src/model.h:152:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo.cpp:25:0: src/model.h:262:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo.cpp:25:0: src/model.h:263:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo.cpp:25:0: src/model.h:264:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/torpedo.cpp:27: src/ptrlist.h:54:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/torpedo.cpp:27: src/ptrlist.h:58:23: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/torpedo.cpp:27: src/ptrlist.h: In member function ‘void ptrlist::push_back(T*)’: src/ptrlist.h:63:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/torpedo.cpp:27: src/ptrlist.h: In member function ‘void ptrlist::push_front(T*)’: src/ptrlist.h:67:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/ship.h:27, from src/torpedo.h:26, from src/torpedo.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/torpedo.cpp: In constructor ‘torpedo::torpedo(game&, const xml_elem&)’: src/torpedo.cpp:275:11: warning: variable ‘epower’ set but not used [-Wunused-but-set-variable] xml_elem epower = parent.child("power"); ^~~~~~ x86_64-pc-linux-gnu-g++ -o build/linux/torpedo_camera_display.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/torpedo_camera_display.cpp In file included from src/image.h:30:0, from src/torpedo_camera_display.cpp:24: src/ptrvector.h:69:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31:0, from src/torpedo_camera_display.cpp:24: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/torpedo_camera_display.cpp:26: src/ptrlist.h:54:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/torpedo_camera_display.cpp:26: src/ptrlist.h:58:23: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/torpedo_camera_display.cpp:26: src/ptrlist.h: In member function ‘void ptrlist::push_back(T*)’: src/ptrlist.h:63:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/torpedo_camera_display.cpp:26: src/ptrlist.h: In member function ‘void ptrlist::push_front(T*)’: src/ptrlist.h:67:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27:0, from src/torpedo.h:26, from src/torpedo_camera_display.cpp:27: src/sea_object.h: At global scope: src/sea_object.h:233: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.h:26:0, from src/torpedo_camera_display.h:26, from src/torpedo_camera_display.cpp:28: src/user_display.h:54:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/freeview_display.h:26:0, from src/torpedo_camera_display.h:26, from src/torpedo_camera_display.cpp:28: src/user_display.h:83:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/submarine_interface.h:30, from src/torpedo_camera_display.cpp:29: src/coastmap.h:132:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/torpedo_camera_display.cpp:29: src/user_interface.h:57:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/torpedo_camera_display.cpp:29: src/user_interface.h:61:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/torpedo_camera_display.cpp:29: src/user_interface.h:65:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/torpedo_camera_display.cpp:29: src/user_interface.h:72:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/torpedo_camera_display.cpp:29: src/user_interface.h:96: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/submarine_interface.h:30:0, from src/torpedo_camera_display.cpp:29: src/user_interface.h:97:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; // the ocean water ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/torpedo_camera_display.cpp:29:0: src/submarine_interface.h:84:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torpedo_cam_view; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/torpedo_camera_display.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -o build/linux/triangulate.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/triangulate.cpp x86_64-pc-linux-gnu-g++ -o build/linux/user_interface.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/user_interface.cpp In file included from src/sea_object.h:27:0, from src/user_interface.h:29, from src/user_interface.cpp:35: src/ptrvector.h:69:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:29:0, from src/user_interface.cpp:35: src/sea_object.h:233: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/coastmap.h:29:0, from src/user_interface.h:31, from src/user_interface.cpp:35: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:31:0, from src/user_interface.cpp:35: src/coastmap.h:132:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr atlanticmap; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33:0, from src/user_interface.cpp:35: src/user_display.h:54:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.h:33:0, from src/user_interface.cpp:35: src/user_display.h:83:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr tex; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:35:0: src/user_interface.h:57:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr panel; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:35:0: src/user_interface.h:61:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr screen_selector; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:35:0: src/user_interface.h:65:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr music_playlist; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:35:0: src/user_interface.h:72:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr main_menu; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:35:0: src/user_interface.h:96: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:35:0: src/user_interface.h:97:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr mywater; // the ocean water ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/user_interface.cpp:37: src/ptrlist.h:54:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/user_interface.cpp:37: src/ptrlist.h:58:23: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/user_interface.cpp:37: src/ptrlist.h: In member function ‘void ptrlist::push_back(T*)’: src/ptrlist.h:63:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/user_interface.cpp:37: src/ptrlist.h: In member function ‘void ptrlist::push_front(T*)’: src/ptrlist.h:67:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:39:0: src/model.h: At global scope: src/model.h:44:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:39:0: src/model.h:63: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:39:0: src/model.h:101: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:39:0: src/model.h:102: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:39:0: src/model.h:103: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:39:0: src/model.h:152:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:39:0: src/model.h:262:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:39:0: src/model.h:263:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:39:0: src/model.h:264:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44:0: src/widget.h:93:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr backg; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44:0: src/widget.h:94:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr skbackg; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44:0: src/widget.h:95:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr frame[8]; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44:0: src/widget.h:96:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr frameinv[8]; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44:0: src/widget.h:97:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr icons[4]; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44:0: src/widget.h:98:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr sbarbackg; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44:0: src/widget.h:99:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr sbarsurf; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44:0: src/widget.h:109:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr globaltheme; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44:0: src/widget.h:119: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44:0: src/widget.h:121: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44:0: src/widget.h:121: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44:0: src/widget.h:463:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr mdl; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44:0: src/widget.h:478: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:44:0: src/widget.h:480:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void set_model(std::auto_ptr mdl_); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:45:0: src/submarine_interface.h:84:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr torpedo_cam_view; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:51:0: src/water.h:56:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr reflectiontex; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:51:0: src/water.h:57:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr foamtex; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:51:0: src/water.h:58:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr foamamounttex; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:51:0: src/water.h:59:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr foamamounttrail; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:51:0: src/water.h:60:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr foamperimetertex; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:51:0: src/water.h:61:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr fresnelcolortex; // texture for fresnel values and water color ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:51:0: src/water.h:63:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr reflectiontex_fbo; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:51:0: src/water.h:64:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr foamamounttex_fbo; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:51:0: src/water.h:66:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr waterspecularlookup; // lookup 1d texture map for water specular term ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:51:0: src/water.h:120:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr water_bumpmap; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:51:0: src/water.h:127:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr glsl_water; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/user_interface.cpp:51:0: src/water.h:128:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr glsl_under_water; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/music.h:37:0, from src/user_interface.cpp:56: src/message_queue.h:34:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/iomanip:43, from src/user_interface.cpp:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -o build/linux/water.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/water.cpp In file included from src/water.h:36:0, from src/water.cpp:32: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/sea_object.h:27:0, from src/ship.h:27, from src/water.h:38, from src/water.cpp:32: src/ptrvector.h:69:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/ship.h:27:0, from src/water.h:38, from src/water.cpp:32: src/sea_object.h:233: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water.cpp:32:0: src/water.h:56:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr reflectiontex; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water.cpp:32:0: src/water.h:57:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr foamtex; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water.cpp:32:0: src/water.h:58:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr foamamounttex; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water.cpp:32:0: src/water.h:59:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr foamamounttrail; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water.cpp:32:0: src/water.h:60:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr foamperimetertex; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water.cpp:32:0: src/water.h:61:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr fresnelcolortex; // texture for fresnel values and water color ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water.cpp:32:0: src/water.h:63:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr reflectiontex_fbo; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water.cpp:32:0: src/water.h:64:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr foamamounttex_fbo; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water.cpp:32:0: src/water.h:66:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr waterspecularlookup; // lookup 1d texture map for water specular term ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water.cpp:32:0: src/water.h:120:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr water_bumpmap; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water.cpp:32:0: src/water.h:127:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr glsl_water; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water.cpp:32:0: src/water.h:128:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr glsl_under_water; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/water.cpp:38: src/ptrlist.h:54:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/water.cpp:38: src/ptrlist.h:58:23: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/water.cpp:38: src/ptrlist.h: In member function ‘void ptrlist::push_back(T*)’: src/ptrlist.h:63:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/water.cpp:38: src/ptrlist.h: In member function ‘void ptrlist::push_front(T*)’: src/ptrlist.h:67:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/water.h:32, from src/water.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -o build/linux/water_splash.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/water_splash.cpp In file included from src/sea_object.h:27:0, from src/water_splash.h:25, from src/water_splash.cpp:22: src/ptrvector.h:69:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water_splash.h:25:0, from src/water_splash.cpp:22: src/sea_object.h:233: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water_splash.cpp:22:0: src/water_splash.h:41:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr bradius_top; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water_splash.cpp:22:0: src/water_splash.h:42:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr bradius_bottom; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water_splash.cpp:22:0: src/water_splash.h:43:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr balpha; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/water_splash.cpp:24:0: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/water_splash.cpp:25: src/ptrlist.h:54:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/water_splash.cpp:25: src/ptrlist.h:58:23: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_front(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/water_splash.cpp:25: src/ptrlist.h: In member function ‘void ptrlist::push_back(T*)’: src/ptrlist.h:63:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/game.h:61:0, from src/water_splash.cpp:25: src/ptrlist.h: In member function ‘void ptrlist::push_front(T*)’: src/ptrlist.h:67:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr p(ptr); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/sea_object.h:27, from src/water_splash.h:25, from src/water_splash.cpp:22: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -o build/linux/filehelper.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/filehelper.cpp x86_64-pc-linux-gnu-g++ -o build/linux/widget.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/widget.cpp In file included from src/image.h:30:0, from src/widget.h:30, 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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/widget.cpp:26: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31:0, from src/widget.h:30, from src/widget.cpp:26: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/widget.cpp:26: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:32:0, from src/widget.cpp:26: src/model.h:44:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/widget.cpp:26: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:32:0, from src/widget.cpp:26: src/model.h:63: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/widget.cpp:26: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:32:0, from src/widget.cpp:26: src/model.h:101: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/widget.cpp:26: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:32:0, from src/widget.cpp:26: src/model.h:102: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/widget.cpp:26: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:32:0, from src/widget.cpp:26: src/model.h:103: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/widget.cpp:26: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:32:0, from src/widget.cpp:26: src/model.h:152:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/widget.cpp:26: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:32:0, from src/widget.cpp:26: src/model.h:262:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/widget.cpp:26: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:32:0, from src/widget.cpp:26: src/model.h:263:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/widget.cpp:26: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.h:32:0, from src/widget.cpp:26: src/model.h:264:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/widget.cpp:26: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.cpp:26:0: src/widget.h:93:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr backg; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/widget.cpp:26: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.cpp:26:0: src/widget.h:94:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr skbackg; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/widget.cpp:26: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.cpp:26:0: src/widget.h:95:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr frame[8]; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/widget.cpp:26: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.cpp:26:0: src/widget.h:96:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr frameinv[8]; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/widget.cpp:26: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.cpp:26:0: src/widget.h:97:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr icons[4]; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/widget.cpp:26: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.cpp:26:0: src/widget.h:98:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr sbarbackg; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/widget.cpp:26: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.cpp:26:0: src/widget.h:99:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr sbarsurf; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/widget.cpp:26: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.cpp:26:0: src/widget.h:109:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr globaltheme; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/widget.cpp:26: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.cpp:26:0: src/widget.h:119: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/widget.cpp:26: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.cpp:26:0: src/widget.h:121: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/widget.cpp:26: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.cpp:26:0: src/widget.h:121: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/widget.cpp:26: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.cpp:26:0: src/widget.h:463:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr mdl; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/widget.cpp:26: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.cpp:26:0: src/widget.h:478: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/widget.cpp:26: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/widget.cpp:26:0: src/widget.h:480:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void set_model(std::auto_ptr mdl_); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/widget.cpp:26: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/widget.cpp:44:6: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr widget::globaltheme; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/widget.cpp:26: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/widget.cpp:130: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/widget.cpp:26: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/widget.cpp:130: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/widget.cpp:26: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/widget.cpp: In static member function ‘static std::auto_ptr widget::replace_theme(std::auto_ptr)’: src/widget.cpp:132:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr r = globaltheme; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/widget.cpp:26: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/widget.cpp: In static member function ‘static void widget::draw_frame(int, int, int, int, bool)’: src/widget.cpp:357: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/widget.cpp:26: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/widget.cpp: At global scope: src/widget.cpp:1265: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/widget.cpp:26: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/widget.cpp:1277: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/widget.h:30, from src/widget.cpp:26: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -o build/linux/frustum.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/frustum.cpp x86_64-pc-linux-gnu-g++ -o build/linux/datadirs.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DDATADIR=\"/usr/share/games/dangerdeep/\" -I/usr/include/SDL -I/usr/include/GL src/datadirs.cpp x86_64-pc-linux-gnu-g++ -o build/linux/global_data.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DVERSION=\"0.3.0\" -I/usr/include/SDL -I/usr/include/GL src/global_data.cpp In file included from src/model.h:29:0, from src/global_data.cpp:23: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/global_data.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/global_data.cpp:23:0: src/model.h:44:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/global_data.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/global_data.cpp:23:0: src/model.h:63: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/global_data.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/global_data.cpp:23:0: src/model.h:101: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/global_data.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/global_data.cpp:23:0: src/model.h:102: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/global_data.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/global_data.cpp:23:0: src/model.h:103: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/global_data.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/global_data.cpp:23:0: src/model.h:152:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/global_data.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/global_data.cpp:23:0: src/model.h:262:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/global_data.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/global_data.cpp:23:0: src/model.h:263:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/global_data.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/global_data.cpp:23:0: src/model.h:264:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/global_data.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:30:0, from src/global_data.cpp:25: src/ptrvector.h:69:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/global_data.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -o build/linux/error.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/error.cpp x86_64-pc-linux-gnu-g++ -o build/linux/framebufferobject.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/framebufferobject.cpp In file included from src/framebufferobject.cpp:25:0: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/framebufferobject.cpp:25: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -o build/linux/font.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/font.cpp In file included from src/font.cpp:24:0: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/font.cpp:24: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/font.cpp: In member function ‘vector2i font::get_size(const string&) const’: src/font.cpp:295:13: warning: variable ‘nr’ set but not used [-Wunused-but-set-variable] unsigned nr[6]; ^~ x86_64-pc-linux-gnu-g++ -o build/linux/image.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/image.cpp In file included from src/image.h:30:0, from src/image.cpp:23: src/ptrvector.h:69:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void push_back(std::auto_ptr ptr) { ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/image.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/image.h:31:0, from src/image.cpp:23: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/ptrvector.h:28, from src/image.h:30, from src/image.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -o build/linux/make_mesh.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/make_mesh.cpp In file included from src/model.h:29:0, from src/make_mesh.h:26, from src/make_mesh.cpp:23: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/make_mesh.h:26:0, from src/make_mesh.cpp:23: src/model.h:44:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/make_mesh.h:26:0, from src/make_mesh.cpp:23: src/model.h:63: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/make_mesh.h:26:0, from src/make_mesh.cpp:23: src/model.h:101: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/make_mesh.h:26:0, from src/make_mesh.cpp:23: src/model.h:102: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/make_mesh.h:26:0, from src/make_mesh.cpp:23: src/model.h:103: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/make_mesh.h:26:0, from src/make_mesh.cpp:23: src/model.h:152:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/make_mesh.h:26:0, from src/make_mesh.cpp:23: src/model.h:262:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/make_mesh.h:26:0, from src/make_mesh.cpp:23: src/model.h:263:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/make_mesh.h:26:0, from src/make_mesh.cpp:23: src/model.h:264:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/make_mesh.h:26, from src/make_mesh.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -o build/linux/model.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/model.cpp In file included from src/model.h:29:0, from src/model.cpp:23: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/model.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.cpp:23:0: src/model.h:44:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/model.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.cpp:23:0: src/model.h:63: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/model.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.cpp:23:0: src/model.h:101: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/model.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.cpp:23:0: src/model.h:102: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/model.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.cpp:23:0: src/model.h:103: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/model.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.cpp:23:0: src/model.h:152:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr get_tri_iterator() const; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/model.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.cpp:23:0: src/model.h:262:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/model.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.cpp:23:0: src/model.h:263:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/model.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/model.cpp:23:0: src/model.h:264:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] static std::auto_ptr glsl_mirror_clip; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/model.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/model.cpp:62:1: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] auto_ptr model::glsl_color_normal; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/model.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/model.cpp:63:1: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] auto_ptr model::glsl_color_normal_specular; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/model.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/model.cpp:64:1: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] auto_ptr model::glsl_mirror_clip; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/model.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/model.cpp:298: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/model.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/model.cpp: In member function ‘std::auto_ptr model::mesh::get_tri_iterator() const’: src/model.cpp:302:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] return std::auto_ptr(new triangle_iterator(indices)); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/model.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/model.cpp:304: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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/model.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/model.cpp: In member function ‘void model::mesh::compute_normals()’: src/model.cpp:400:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr tit(get_tri_iterator()); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/model.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/model.cpp:435:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr tit(get_tri_iterator()); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/model.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/model.cpp: In member function ‘void model::mesh::write_off_file(const string&) const’: src/model.cpp:598:68: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘std::vector >::size_type {aka long unsigned int}’ [-Wformat=] fprintf(f, "OFF\n%u %u %u\n", vertices.size(), indices.size()/3, 0); ^ src/model.cpp:598:68: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘std::vector::size_type {aka long unsigned int}’ [-Wformat=] src/model.cpp: In member function ‘bool model::mesh::is_inside(const vector3f&) const’: src/model.cpp:773:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr tit(get_tri_iterator()); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/model.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/model.cpp: In member function ‘vector3 model::mesh::compute_center_of_gravity() 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/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/model.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/model.cpp: In member function ‘matrix3 model::mesh::compute_inertia_tensor() const’: src/model.cpp:863:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr tit(get_tri_iterator()); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/model.h:29, from src/model.cpp:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/model.cpp: In member function ‘void model::read_off_file(const string&)’: src/model.cpp:2269:59: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "OFF\n%u %u %u\n", &nr_vertices, &nr_faces, &i); ^ src/model.cpp:2277:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%f %f %f\n", &a, &b, &c); ^ src/model.cpp:2284:48: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%u %u %u %u\n", &j, &v0, &v1, &v2); ^ x86_64-pc-linux-gnu-g++ -o build/linux/shader.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/shader.cpp In file included from src/shader.cpp:26:0: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/shader.cpp:26: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -o build/linux/system.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11`-Werror=terminate -O2 -pipe -march=native -DUSE_SSE -DUSE_SSE_ALWAYS -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/system.cpp In file included from src/system.cpp:42:0: src/texture.h:88:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] typedef std::auto_ptr ptr; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from src/texture.h:45, from src/system.cpp:42: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/system.cpp: In destructor ‘system::~system()’: src/system.cpp:185:70: error: throw will always call terminate() [-Werror=terminate] throw sdl_error("system destruction: system instance doesn't exist"); ^ src/system.cpp:185:70: note: in C++11 destructors default to noexcept src/system.cpp: In member function ‘void system::myassert(bool, const string&)’: src/system.cpp:374:11: warning: nonnull argument ‘this’ compared to NULL [-Wnonnull-compare] if (this == 0 && !cond) { ~~~~~^~~~ src/system.cpp: In member function ‘void system::error(const string&)’: src/system.cpp:407:2: warning: nonnull argument ‘this’ compared to NULL [-Wnonnull-compare] if (!this) { ^~ cc1plus: some warnings being treated as errors scons: *** [build/linux/system.o] Error 1 scons: building terminated because of errors. * ERROR: games-simulation/dangerdeep-0.3.0::gentoo failed (compile phase): * escons failed. * * Call stack: * ebuild.sh, line 115: Called src_compile * environment, line 2900: Called escons 'usex86sse=3' 'datadir=/usr/share/games/dangerdeep' 'debug=0' * environment, line 1403: Called die * The specific snippet of code: * die "escons failed." * * If you need support, post the output of `emerge --info '=games-simulation/dangerdeep-0.3.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-simulation/dangerdeep-0.3.0::gentoo'`. * The complete build log is located at '/var/log/portage/games-simulation:dangerdeep-0.3.0:20170222-233752.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-simulation/dangerdeep-0.3.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-simulation/dangerdeep-0.3.0/temp/environment'. * Working directory: '/var/tmp/portage/games-simulation/dangerdeep-0.3.0/work/dangerdeep-0.3.0' * S: '/var/tmp/portage/games-simulation/dangerdeep-0.3.0/work/dangerdeep-0.3.0'