+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/lincity-ng-2.0nb20/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/lincity-ng-2.0nb20/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for lincity-ng-2.0nb20 cd /home/pbulk/build/games/lincity-ng/work/lincity-ng-2.0 && env USETOOLS=no PTHREAD_CFLAGS=\ -pthread\ PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS=-lpthread\ -lrt PTHREADBASE=/usr CC=cc CFLAGS=-pipe\ -O2\ -I/usr/pkg/include/SDL\ -I/usr/pkg/include\ -I/usr/pkg/include/libdrm\ -I/usr/include\ -I/usr/pkg/include/freetype2\ -I/usr/pkg/include/ncurses CPPFLAGS=-I/usr/pkg/include/SDL\ -I/usr/pkg/include\ -I/usr/pkg/include/libdrm\ -I/usr/include\ -I/usr/pkg/include/freetype2\ -I/usr/pkg/include/ncurses CXX=c++ CXXFLAGS=-pipe\ -O2\ -I/usr/pkg/include/SDL\ -I/usr/pkg/include\ -I/usr/pkg/include/libdrm\ -I/usr/include\ -I/usr/pkg/include/freetype2\ -I/usr/pkg/include/ncurses COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-Wl,-zrelro\ -L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib\ -L/usr/lib64\ -Wl,-R/usr/lib64 LINKER_RPATH_FLAG=-R PATH=/home/pbulk/build/games/lincity-ng/work/.cwrapper/bin:/home/pbulk/build/games/lincity-ng/work/.buildlink/bin:/home/pbulk/build/games/lincity-ng/work/.gcc/bin:/home/pbulk/build/games/lincity-ng/work/.tools/bin:/usr/pkg/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/pkg/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= ftp_proxy=downloads-forbidden-except-during-fetch http_proxy=downloads-forbidden-except-during-fetch https_proxy=downloads-forbidden-except-during-fetch no_proxy= PKG_SYSCONFDIR=/usr/pkg/etc HOME=/home/pbulk/build/games/lincity-ng/work/.home CWRAPPERS_CONFIG_DIR=/home/pbulk/build/games/lincity-ng/work/.cwrapper/config CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/pkg PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/bin/install\ -c\ -s\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT=/bin/install\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB=/bin/install\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA=/bin/install\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL_MAN=/bin/install\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL=/bin/install BSD_INSTALL_PROGRAM_DIR=/bin/install\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/bin/install\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB_DIR=/bin/install\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA_DIR=/bin/install\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_MAN_DIR=/bin/install\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_GAME=/bin/install\ -c\ -s\ -o\ pbulk\ -g\ pbulk\ -m\ 2555 BSD_INSTALL_GAME_DATA=/bin/install\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 664 BSD_INSTALL_GAME_DIR=/bin/install\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 775 INSTALL_INFO= MAKEINFO=/home/pbulk/build/games/lincity-ng/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/home/pbulk/build/games/lincity-ng/work/.tools/bin/itstool GDBUS_CODEGEN=/home/pbulk/build/games/lincity-ng/work/.tools/bin/gdbus-codegen PKG_CONFIG=/home/pbulk/build/games/lincity-ng/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/home/pbulk/build/games/lincity-ng/work/.buildlink/lib64/pkgconfig:/home/pbulk/build/games/lincity-ng/work/.buildlink/lib/pkgconfig:/home/pbulk/build/games/lincity-ng/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/home/pbulk/build/games/lincity-ng/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/home/pbulk/build/games/lincity-ng/work/.cwrapper/config jam ...found 778 target(s)... ...updating 130 target(s)... MkDir1 ./build/x86_64-redhat-linux-gnu/optimize/src/gui C++ ./build/x86_64-redhat-linux-gnu/optimize/src/gui/Panel.o In file included from src/gui/Panel.cpp:34: src/gui/Panel.cpp: In member function 'virtual Component* INTERN_PanelFactory::createComponent(XmlReader&)': src/gui/ComponentFactory.hpp:73:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 73 | std::auto_ptr component (new CLASS()); \ | ^~~~~~~~ src/gui/ComponentFactory.hpp:79:1: note: in expansion of macro 'DECLARE_COMPONENT_FACTORY' 79 | DECLARE_COMPONENT_FACTORY(CLASS) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/gui/Panel.cpp:135:1: note: in expansion of macro 'IMPLEMENT_COMPONENT_FACTORY' 135 | IMPLEMENT_COMPONENT_FACTORY(Panel); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/11/memory:76, from src/gui/Panel.hpp:27, from src/gui/Panel.cpp:26: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ C++ ./build/x86_64-redhat-linux-gnu/optimize/src/gui/Paragraph.o In file included from src/gui/Paragraph.cpp:41: src/gui/Paragraph.cpp: In member function 'virtual Component* INTERN_ParagraphFactory::createComponent(XmlReader&)': src/gui/ComponentFactory.hpp:73:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 73 | std::auto_ptr component (new CLASS()); \ | ^~~~~~~~ src/gui/ComponentFactory.hpp:79:1: note: in expansion of macro 'DECLARE_COMPONENT_FACTORY' 79 | DECLARE_COMPONENT_FACTORY(CLASS) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/gui/Paragraph.cpp:536:1: note: in expansion of macro 'IMPLEMENT_COMPONENT_FACTORY' 536 | IMPLEMENT_COMPONENT_FACTORY(Paragraph); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/11/memory:76, from src/gui/ComponentFactory.hpp:29, from src/gui/Paragraph.cpp:41: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ C++ ./build/x86_64-redhat-linux-gnu/optimize/src/gui/Gradient.o In file included from src/gui/Gradient.cpp:31: src/gui/Gradient.hpp:54:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 54 | std::auto_ptr texture; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from src/gui/Gradient.hpp:28, from src/gui/Gradient.cpp:31: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from src/gui/Gradient.cpp:35: src/gui/Gradient.cpp: In member function 'virtual Component* INTERN_GradientFactory::createComponent(XmlReader&)': src/gui/ComponentFactory.hpp:73:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 73 | std::auto_ptr component (new CLASS()); \ | ^~~~~~~~ src/gui/ComponentFactory.hpp:79:1: note: in expansion of macro 'DECLARE_COMPONENT_FACTORY' 79 | DECLARE_COMPONENT_FACTORY(CLASS) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/gui/Gradient.cpp:188:1: note: in expansion of macro 'IMPLEMENT_COMPONENT_FACTORY' 188 | IMPLEMENT_COMPONENT_FACTORY(Gradient) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/11/memory:76, from src/gui/Gradient.hpp:28, from src/gui/Gradient.cpp:31: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ C++ ./build/x86_64-redhat-linux-gnu/optimize/src/gui/Document.o src/gui/Document.cpp: In member function 'void Document::parse(XmlReader&)': src/gui/Document.cpp:74:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 74 | std::auto_ptr paragraph (new Paragraph()); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from src/gui/ComponentFactory.hpp:29, from src/gui/Document.cpp:34: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ src/gui/Document.cpp:84:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 84 | std::auto_ptr image (new DocumentImage()); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from src/gui/ComponentFactory.hpp:29, from src/gui/Document.cpp:34: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from src/gui/Document.cpp:34: src/gui/Document.cpp: In member function 'virtual Component* INTERN_DocumentFactory::createComponent(XmlReader&)': src/gui/ComponentFactory.hpp:73:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 73 | std::auto_ptr component (new CLASS()); \ | ^~~~~~~~ src/gui/ComponentFactory.hpp:79:1: note: in expansion of macro 'DECLARE_COMPONENT_FACTORY' 79 | DECLARE_COMPONENT_FACTORY(CLASS) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/gui/Document.cpp:168:1: note: in expansion of macro 'IMPLEMENT_COMPONENT_FACTORY' 168 | IMPLEMENT_COMPONENT_FACTORY(Document); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/11/memory:76, from src/gui/ComponentFactory.hpp:29, from src/gui/Document.cpp:34: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ C++ ./build/x86_64-redhat-linux-gnu/optimize/src/gui/XmlReader.o src/gui/XmlReader.cpp: In constructor 'XmlReader::XmlReader(const string&)': src/gui/XmlReader.cpp:42:35: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] 42 | << PHYSFS_getLastError(); | ~~~~~~~~~~~~~~~~~~~^~ In file included from src/gui/XmlReader.cpp:29: /home/pbulk/build/games/lincity-ng/work/.buildlink/include/physfs.h:654:25: note: declared here 654 | PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; | ^~~~~~~~~~~~~~~~~~~ src/gui/XmlReader.cpp: In static member function 'static int XmlReader::readCallback(void*, char*, int)': src/gui/XmlReader.cpp:77:39: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] 77 | PHYSFS_sint64 result = PHYSFS_read(file, buffer, 1, len); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from src/gui/XmlReader.cpp:29: /home/pbulk/build/games/lincity-ng/work/.buildlink/include/physfs.h:1333:27: note: declared here 1333 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, | ^~~~~~~~~~~ src/gui/XmlReader.cpp:79:59: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] 79 | std::cerr << "Read error: " << PHYSFS_getLastError() << "\n"; | ~~~~~~~~~~~~~~~~~~~^~ In file included from src/gui/XmlReader.cpp:29: /home/pbulk/build/games/lincity-ng/work/.buildlink/include/physfs.h:654:25: note: declared here 654 | PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; | ^~~~~~~~~~~~~~~~~~~ src/gui/XmlReader.cpp: In static member function 'static int XmlReader::closeCallback(void*)': src/gui/XmlReader.cpp:95:60: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] 95 | std::cerr << "Close error: " << PHYSFS_getLastError() << "\n"; | ~~~~~~~~~~~~~~~~~~~^~ In file included from src/gui/XmlReader.cpp:29: /home/pbulk/build/games/lincity-ng/work/.buildlink/include/physfs.h:654:25: note: declared here 654 | PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; | ^~~~~~~~~~~~~~~~~~~ C++ ./build/x86_64-redhat-linux-gnu/optimize/src/gui/Style.o C++ ./build/x86_64-redhat-linux-gnu/optimize/src/gui/FontManager.o C++ ./build/x86_64-redhat-linux-gnu/optimize/src/gui/Desktop.o C++ ./build/x86_64-redhat-linux-gnu/optimize/src/gui/Color.o C++ ./build/x86_64-redhat-linux-gnu/optimize/src/gui/ScrollView.o src/gui/ScrollView.cpp: In member function 'void ScrollView::parse(XmlReader&)': src/gui/ScrollView.cpp:74:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 74 | std::auto_ptr scrollbar (new ScrollBar()); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from src/gui/ScrollView.cpp:28: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from src/gui/ScrollView.cpp:32: src/gui/ScrollView.cpp: In member function 'virtual Component* INTERN_ScrollViewFactory::createComponent(XmlReader&)': src/gui/ComponentFactory.hpp:73:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 73 | std::auto_ptr component (new CLASS()); \ | ^~~~~~~~ src/gui/ComponentFactory.hpp:79:1: note: in expansion of macro 'DECLARE_COMPONENT_FACTORY' 79 | DECLARE_COMPONENT_FACTORY(CLASS) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/gui/ScrollView.cpp:174:1: note: in expansion of macro 'IMPLEMENT_COMPONENT_FACTORY' 174 | IMPLEMENT_COMPONENT_FACTORY(ScrollView); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/11/memory:76, from src/gui/ScrollView.cpp:28: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ C++ ./build/x86_64-redhat-linux-gnu/optimize/src/gui/Filter.o C++ ./build/x86_64-redhat-linux-gnu/optimize/src/gui/Child.o C++ ./build/x86_64-redhat-linux-gnu/optimize/src/gui/TooltipManager.o src/gui/TooltipManager.cpp: In member function 'void TooltipManager::showTooltip(const string&, const Vector2&)': src/gui/TooltipManager.cpp:102:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 102 | std::auto_ptr d (new Document()); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from src/gui/ComponentFactory.hpp:29, from src/gui/TooltipManager.cpp:28: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ src/gui/TooltipManager.cpp:103:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 103 | std::auto_ptr p (new Paragraph()); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from src/gui/ComponentFactory.hpp:29, from src/gui/TooltipManager.cpp:28: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from src/gui/TooltipManager.cpp:28: src/gui/TooltipManager.cpp: In member function 'virtual Component* INTERN_TooltipManagerFactory::createComponent(XmlReader&)': src/gui/ComponentFactory.hpp:73:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 73 | std::auto_ptr component (new CLASS()); \ | ^~~~~~~~ src/gui/ComponentFactory.hpp:79:1: note: in expansion of macro 'DECLARE_COMPONENT_FACTORY' 79 | DECLARE_COMPONENT_FACTORY(CLASS) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/gui/TooltipManager.cpp:132:1: note: in expansion of macro 'IMPLEMENT_COMPONENT_FACTORY' 132 | IMPLEMENT_COMPONENT_FACTORY(TooltipManager); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/11/memory:76, from src/gui/ComponentFactory.hpp:29, from src/gui/TooltipManager.cpp:28: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ C++ ./build/x86_64-redhat-linux-gnu/optimize/src/gui/ComponentLoader.o src/gui/ComponentLoader.cpp: In function 'Component* loadGUIFile(const string&)': src/gui/ComponentLoader.cpp:70:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 70 | std::auto_ptr desktop (new Desktop()); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from src/gui/ComponentFactory.hpp:29, from src/gui/ComponentLoader.cpp:27: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ src/gui/ComponentLoader.cpp:75:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 75 | std::auto_ptr component (createComponent(componentName, reader)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from src/gui/ComponentFactory.hpp:29, from src/gui/ComponentLoader.cpp:27: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ C++ ./build/x86_64-redhat-linux-gnu/optimize/src/gui/DocumentImage.o C++ ./build/x86_64-redhat-linux-gnu/optimize/src/gui/Button.o src/gui/Button.cpp: In member function 'void Button::setChildImage(Child&, XmlReader&)': src/gui/Button.cpp:219:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 219 | std::auto_ptr image(new Image()); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from src/gui/Image.hpp:28, from src/gui/Button.cpp:32: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ src/gui/Button.cpp: In member function 'void Button::setChildText(Child&, XmlReader&)': src/gui/Button.cpp:227:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 227 | std::auto_ptr paragraph(new Paragraph()); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from src/gui/Image.hpp:28, from src/gui/Button.cpp:32: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from src/gui/Button.cpp:35: src/gui/Button.cpp: In member function 'virtual Component* INTERN_ButtonFactory::createComponent(XmlReader&)': src/gui/ComponentFactory.hpp:73:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 73 | std::auto_ptr component (new CLASS()); \ | ^~~~~~~~ src/gui/ComponentFactory.hpp:79:1: note: in expansion of macro 'DECLARE_COMPONENT_FACTORY' 79 | DECLARE_COMPONENT_FACTORY(CLASS) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/gui/Button.cpp:364:1: note: in expansion of macro 'IMPLEMENT_COMPONENT_FACTORY' 364 | IMPLEMENT_COMPONENT_FACTORY(Button) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/11/memory:76, from src/gui/Image.hpp:28, from src/gui/Button.cpp:32: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ C++ ./build/x86_64-redhat-linux-gnu/optimize/src/gui/TextureManager.o C++ ./build/x86_64-redhat-linux-gnu/optimize/src/gui/Rect2D.o C++ ./build/x86_64-redhat-linux-gnu/optimize/src/gui/FilledRectangle.o In file included from src/gui/FilledRectangle.cpp:32: src/gui/FilledRectangle.cpp: In member function 'virtual Component* INTERN_FilledRectangleFactory::createComponent(XmlReader&)': src/gui/ComponentFactory.hpp:73:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 73 | std::auto_ptr component (new CLASS()); \ | ^~~~~~~~ src/gui/ComponentFactory.hpp:79:1: note: in expansion of macro 'DECLARE_COMPONENT_FACTORY' 79 | DECLARE_COMPONENT_FACTORY(CLASS) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/gui/FilledRectangle.cpp:75:1: note: in expansion of macro 'IMPLEMENT_COMPONENT_FACTORY' 75 | IMPLEMENT_COMPONENT_FACTORY(FilledRectangle) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/11/memory:76, from src/gui/ComponentFactory.hpp:29, from src/gui/FilledRectangle.cpp:32: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ C++ ./build/x86_64-redhat-linux-gnu/optimize/src/gui/SwitchComponent.o In file included from src/gui/SwitchComponent.cpp:30: src/gui/SwitchComponent.cpp: In member function 'virtual Component* INTERN_SwitchComponentFactory::createComponent(XmlReader&)': src/gui/ComponentFactory.hpp:73:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 73 | std::auto_ptr component (new CLASS()); \ | ^~~~~~~~ src/gui/ComponentFactory.hpp:79:1: note: in expansion of macro 'DECLARE_COMPONENT_FACTORY' 79 | DECLARE_COMPONENT_FACTORY(CLASS) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/gui/SwitchComponent.cpp:179:1: note: in expansion of macro 'IMPLEMENT_COMPONENT_FACTORY' 179 | IMPLEMENT_COMPONENT_FACTORY(SwitchComponent); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/11/memory:76, from src/gui/ComponentFactory.hpp:29, from src/gui/SwitchComponent.cpp:30: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ C++ ./build/x86_64-redhat-linux-gnu/optimize/src/gui/ScrollBar.o src/gui/ScrollBar.cpp: In member function 'void ScrollBar::parse(XmlReader&)': src/gui/ScrollBar.cpp:84:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 84 | std::auto_ptr