+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/lincity-ng-2.0nb16/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/lincity-ng-2.0nb16/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for lincity-ng-2.0nb16 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=gcc CFLAGS=-pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -I/opt/pkg/include/SDL\ -I/opt/pkg/include\ -I/opt/pkg/include/libdrm\ -I/usr/include\ -I/opt/pkg/include/freetype2\ -I/opt/pkg/include/ncurses CPPFLAGS=-I/opt/pkg/include/SDL\ -I/opt/pkg/include\ -I/opt/pkg/include/libdrm\ -I/usr/include\ -I/opt/pkg/include/freetype2\ -I/opt/pkg/include/ncurses CXX=g++ CXXFLAGS=-pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -I/opt/pkg/include/SDL\ -I/opt/pkg/include\ -I/opt/pkg/include/libdrm\ -I/usr/include\ -I/opt/pkg/include/freetype2\ -I/opt/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=-L/opt/pkg/lib\ -Wl,-R/opt/pkg/lib\ -L/usr/lib/amd64\ -Wl,-R/usr/lib/amd64\ -liconv 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:/opt/pkg/bin:/sbin:/usr/sbin:/usr/bin:/opt/tools/bin:/opt/pkg/bin:/opt/pkg/bin PREFIX=/opt/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/etc/opt/pkg HOME=/home/pbulk/build/games/lincity-ng/work/.home CWRAPPERS_CONFIG_DIR=/home/pbulk/build/games/lincity-ng/work/.cwrapper/config CPP=cpp LOCALBASE=/opt/pkg X11BASE=/opt/pkg PKGMANDIR=share/man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/opt/pkg/bin/bsdinstall\ -c\ \ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL_MAN=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL=/opt/pkg/bin/bsdinstall BSD_INSTALL_PROGRAM_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_MAN_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_GAME=/opt/pkg/bin/bsdinstall\ -c\ \ -o\ pbulk\ -g\ pbulk\ -m\ 2555 BSD_INSTALL_GAME_DATA=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 664 BSD_INSTALL_GAME_DIR=/opt/pkg/bin/bsdinstall\ -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/lib/amd64/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-sun-solaris2.11/optimize/src/gui C++ ./build/x86_64-sun-solaris2.11/optimize/src/gui/Window.o src/gui/Window.cpp: In member function 'void Window::parse(XmlReader&)': src/gui/Window.cpp:107:22: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 107 | std::auto_ptr<Button> button (new Button()); | ^~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from src/gui/ComponentFactory.hpp:29, from src/gui/Window.cpp:34: /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/gui/Window.cpp: In member function 'virtual Component* INTERN_WindowFactory::createComponent(XmlReader&)': src/gui/ComponentFactory.hpp:73:12: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 73 | std::auto_ptr<CLASS> component (new CLASS()); \ | ^~~~~~~~ src/gui/ComponentFactory.hpp:79:1: note: in expansion of macro 'DECLARE_COMPONENT_FACTORY' 79 | DECLARE_COMPONENT_FACTORY(CLASS) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/gui/Window.cpp:235:1: note: in expansion of macro 'IMPLEMENT_COMPONENT_FACTORY' 235 | IMPLEMENT_COMPONENT_FACTORY(Window) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ C++ ./build/x86_64-sun-solaris2.11/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> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 84 | std::auto_ptr<Button> button(new Button()); | ^~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from src/gui/ComponentFactory.hpp:29, from src/gui/ScrollBar.cpp:32: /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/gui/ScrollBar.cpp:88:22: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 88 | std::auto_ptr<Button> button(new Button()); | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/gui/ScrollBar.cpp:92:22: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 92 | std::auto_ptr<Button> button(new Button()); | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/gui/ScrollBar.cpp: In member function 'virtual Component* INTERN_ScrollBarFactory::createComponent(XmlReader&)': src/gui/ComponentFactory.hpp:73:12: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 73 | std::auto_ptr<CLASS> component (new CLASS()); \ | ^~~~~~~~ src/gui/ComponentFactory.hpp:79:1: note: in expansion of macro 'DECLARE_COMPONENT_FACTORY' 79 | DECLARE_COMPONENT_FACTORY(CLASS) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/gui/ScrollBar.cpp:260:1: note: in expansion of macro 'IMPLEMENT_COMPONENT_FACTORY' 260 | IMPLEMENT_COMPONENT_FACTORY(ScrollBar); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ C++ ./build/x86_64-sun-solaris2.11/optimize/src/gui/Image.o In file included from src/gui/Image.cpp:29: src/gui/Image.cpp: In member function 'virtual Component* INTERN_ImageFactory::createComponent(XmlReader&)': src/gui/ComponentFactory.hpp:73:12: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 73 | std::auto_ptr<CLASS> component (new CLASS()); \ | ^~~~~~~~ src/gui/ComponentFactory.hpp:79:1: note: in expansion of macro 'DECLARE_COMPONENT_FACTORY' 79 | DECLARE_COMPONENT_FACTORY(CLASS) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/gui/Image.cpp:137:1: note: in expansion of macro 'IMPLEMENT_COMPONENT_FACTORY' 137 | IMPLEMENT_COMPONENT_FACTORY(Image); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from src/gui/Image.hpp:28, from src/gui/Image.cpp:26: /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ C++ ./build/x86_64-sun-solaris2.11/optimize/src/gui/Child.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/gui/FontManager.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/gui/DocumentImage.o C++ ./build/x86_64-sun-solaris2.11/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> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 73 | std::auto_ptr<CLASS> 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 /opt/tools/gcc13/include/c++/13.2.0/memory:78, from src/gui/Panel.hpp:27, from src/gui/Panel.cpp:26: /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ C++ ./build/x86_64-sun-solaris2.11/optimize/src/gui/Desktop.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/gui/Component.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/gui/Rect2D.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/gui/Color.o C++ ./build/x86_64-sun-solaris2.11/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> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 74 | std::auto_ptr<Paragraph> paragraph (new Paragraph()); | ^~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from src/gui/ComponentFactory.hpp:29, from src/gui/Document.cpp:34: /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/gui/Document.cpp:84:22: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 84 | std::auto_ptr<DocumentImage> image (new DocumentImage()); | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/gui/Document.cpp: In member function 'virtual Component* INTERN_DocumentFactory::createComponent(XmlReader&)': src/gui/ComponentFactory.hpp:73:12: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 73 | std::auto_ptr<CLASS> 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ C++ ./build/x86_64-sun-solaris2.11/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> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 73 | std::auto_ptr<CLASS> 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 /opt/tools/gcc13/include/c++/13.2.0/memory:78, from src/gui/ComponentFactory.hpp:29: /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ C++ ./build/x86_64-sun-solaris2.11/optimize/src/gui/XmlReader.o src/gui/XmlReader.cpp: In constructor 'XmlReader::XmlReader(const std::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); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /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"; | ~~~~~~~~~~~~~~~~~~~^~ /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"; | ~~~~~~~~~~~~~~~~~~~^~ /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-sun-solaris2.11/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> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 74 | std::auto_ptr<ScrollBar> scrollbar (new ScrollBar()); | ^~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from src/gui/ScrollView.cpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> 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> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 73 | std::auto_ptr<CLASS> 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ C++ ./build/x86_64-sun-solaris2.11/optimize/src/gui/TextureManager.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/gui/Style.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/gui/ComponentLoader.o src/gui/ComponentLoader.cpp: In function 'Component* loadGUIFile(const std::string&)': src/gui/ComponentLoader.cpp:70:14: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 70 | std::auto_ptr<Desktop> desktop (new Desktop()); | ^~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from src/gui/ComponentFactory.hpp:29, from src/gui/ComponentLoader.cpp:27: /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/gui/ComponentLoader.cpp:75:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 75 | std::auto_ptr<Component> component (createComponent(componentName, reader)); | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ C++ ./build/x86_64-sun-solaris2.11/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> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 73 | std::auto_ptr<CLASS> 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 /opt/tools/gcc13/include/c++/13.2.0/memory:78, from src/gui/ComponentFactory.hpp:29: /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ C++ ./build/x86_64-sun-solaris2.11/optimize/src/gui/Gradient.o In file included from src/gui/Gradient.cpp:31: src/gui/Gradient.hpp:54:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 54 | std::auto_ptr<Texture> texture; | ^~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from src/gui/Gradient.hpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> 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> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 73 | std::auto_ptr<CLASS> 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) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ C++ ./build/x86_64-sun-solaris2.11/optimize/src/gui/ComponentFactory.o In file included from src/gui/ComponentFactory.cpp:108: src/gui/Gradient.hpp:54:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 54 | std::auto_ptr<Texture> texture; | ^~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from src/gui/ComponentFactory.hpp:29, from src/gui/ComponentFactory.cpp:26: /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/gui/ComponentFactory.cpp: In member function 'virtual Component* INTERN_ButtonFactory::createComponent(XmlReader&)': src/gui/ComponentFactory.hpp:73:12: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 73 | std::auto_ptr<CLASS> component (new CLASS()); \ | ^~~~~~~~ src/gui/ComponentFactory.cpp:119:1: note: in expansion of macro 'DECLARE_COMPONENT_FACTORY' 119 | DECLARE_COMPONENT_FACTORY(Button) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/gui/ComponentFactory.cpp: In member function 'virtual Component* INTERN_DesktopFactory::createComponent(XmlReader&)': src/gui/ComponentFactory.hpp:73:12: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 73 | std::auto_ptr<CLASS> component (new CLASS()); \ | ^~~~~~~~ src/gui/ComponentFactory.cpp:120:1: note: in expansion of macro 'DECLARE_COMPONENT_FACTORY' 120 | DECLARE_COMPONENT_FACTORY(Desktop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/gui/ComponentFactory.cpp: In member function 'virtual Component* INTERN_DocumentFactory::createComponent(XmlReader&)': src/gui/ComponentFactory.hpp:73:12: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 73 | std::auto_ptr<CLASS> component (new CLASS()); \ | ^~~~~~~~ src/gui/ComponentFactory.cpp:121:1: note: in expansion of macro 'DECLARE_COMPONENT_FACTORY' 121 | DECLARE_COMPONENT_FACTORY(Document) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/gui/ComponentFactory.cpp: In member function 'virtual Component* INTERN_FilledRectangleFactory::createComponent(XmlReader&)': src/gui/ComponentFactory.hpp:73:12: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 73 | std::auto_ptr<CLASS> component (new CLASS()); \ | ^~~~~~~~ src/gui/ComponentFactory.cpp:122:1: note: in expansion of macro 'DECLARE_COMPONENT_FACTORY' 122 | DECLARE_COMPONENT_FACTORY(FilledRectangle) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/gui/ComponentFactory.cpp: In member function 'virtual Component* INTERN_GradientFactory::createComponent(XmlReader&)': src/gui/ComponentFactory.hpp:73:12: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 73 | std::auto_ptr<CLASS> component (new CLASS()); \ | ^~~~~~~~ src/gui/ComponentFactory.cpp:123:1: note: in expansion of macro 'DECLARE_COMPONENT_FACTORY' 123 | DECLARE_COMPONENT_FACTORY(Gradient) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/gui/ComponentFactory.cpp: In member function 'virtual Component* INTERN_ImageFactory::createComponent(XmlReader&)': src/gui/ComponentFactory.hpp:73:12: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 73 | std::auto_ptr<CLASS> component (new CLASS()); \ | ^~~~~~~~ src/gui/ComponentFactory.cpp:124:1: note: in expansion of macro 'DECLARE_COMPONENT_FACTORY' 124 | DECLARE_COMPONENT_FACTORY(Image) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/gui/ComponentFactory.cpp: In member function 'virtual Component* INTERN_PanelFactory::createComponent(XmlReader&)': src/gui/ComponentFactory.hpp:73:12: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 73 | std::auto_ptr<CLASS> component (new CLASS()); \ | ^~~~~~~~ src/gui/ComponentFactory.cpp:125:1: note: in expansion of macro 'DECLARE_COMPONENT_FACTORY' 125 | DECLARE_COMPONENT_FACTORY(Panel) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/gui/ComponentFactory.cpp: In member function 'virtual Component* INTERN_ParagraphFactory::createComponent(XmlReader&)': src/gui/ComponentFactory.hpp:73:12: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 73 | std::auto_ptr<CLASS> component (new CLASS()); \ | ^~~~~~~~ src/gui/ComponentFactory.cpp:126:1: note: in expansion of macro 'DECLARE_COMPONENT_FACTORY' 126 | DECLARE_COMPONENT_FACTORY(Paragraph) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/gui/ComponentFactory.cpp: In member function 'virtual Component* INTERN_ScrollBarFactory::createComponent(XmlReader&)': src/gui/ComponentFactory.hpp:73:12: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 73 | std::auto_ptr<CLASS> component (new CLASS()); \ | ^~~~~~~~ src/gui/ComponentFactory.cpp:127:1: note: in expansion of macro 'DECLARE_COMPONENT_FACTORY' 127 | DECLARE_COMPONENT_FACTORY(ScrollBar) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/gui/ComponentFactory.cpp: In member function 'virtual Component* INTERN_ScrollViewFactory::createComponent(XmlReader&)': src/gui/ComponentFactory.hpp:73:12: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 73 | std::auto_ptr<CLASS> component (new CLASS()); \ | ^~~~~~~~ src/gui/ComponentFactory.cpp:128:1: note: in expansion of macro 'DECLARE_COMPONENT_FACTORY' 128 | DECLARE_COMPONENT_FACTORY(ScrollView) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/gui/ComponentFactory.cpp: In member function 'virtual Component* INTERN_SwitchComponentFactory::createComponent(XmlReader&)': src/gui/ComponentFactory.hpp:73:12: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 73 | std::auto_ptr<CLASS> component (new CLASS()); \ | ^~~~~~~~ src/gui/ComponentFactory.cpp:129:1: note: in expansion of macro 'DECLARE_COMPONENT_FACTORY' 129 | DECLARE_COMPONENT_FACTORY(SwitchComponent) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/gui/ComponentFactory.cpp: In member function 'virtual Component* INTERN_TableLayoutFactory::createComponent(XmlReader&)': src/gui/ComponentFactory.hpp:73:12: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 73 | std::auto_ptr<CLASS> component (new CLASS()); \ | ^~~~~~~~ src/gui/ComponentFactory.cpp:130:1: note: in expansion of macro 'DECLARE_COMPONENT_FACTORY' 130 | DECLARE_COMPONENT_FACTORY(TableLayout) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/gui/ComponentFactory.cpp: In member function 'virtual Component* INTERN_TooltipManagerFactory::createComponent(XmlReader&)': src/gui/ComponentFactory.hpp:73:12: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 73 | std::auto_ptr<CLASS> component (new CLASS()); \ | ^~~~~~~~ src/gui/ComponentFactory.cpp:131:1: note: in expansion of macro 'DECLARE_COMPONENT_FACTORY' 131 | DECLARE_COMPONENT_FACTORY(TooltipManager) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/gui/ComponentFactory.cpp: In member function 'virtual Component* INTERN_WindowFactory::createComponent(XmlReader&)': src/gui/ComponentFactory.hpp:73:12: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 73 | std::auto_ptr<CLASS> component (new CLASS()); \ | ^~~~~~~~ src/gui/ComponentFactory.cpp:132:1: note: in expansion of macro 'DECLARE_COMPONENT_FACTORY' 132 | DECLARE_COMPONENT_FACTORY(Window) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ C++ ./build/x86_64-sun-solaris2.11/optimize/src/gui/Event.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/gui/TableLayout.o In file included from src/gui/TableLayout.cpp:29: src/gui/TableLayout.cpp: In member function 'virtual Component* INTERN_TableLayoutFactory::createComponent(XmlReader&)': src/gui/ComponentFactory.hpp:73:12: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 73 | std::auto_ptr<CLASS> component (new CLASS()); \ | ^~~~~~~~ src/gui/ComponentFactory.hpp:79:1: note: in expansion of macro 'DECLARE_COMPONENT_FACTORY' 79 | DECLARE_COMPONENT_FACTORY(CLASS) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/gui/TableLayout.cpp:466:1: note: in expansion of macro 'IMPLEMENT_COMPONENT_FACTORY' 466 | IMPLEMENT_COMPONENT_FACTORY(TableLayout); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from src/gui/ComponentFactory.hpp:29: /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ C++ ./build/x86_64-sun-solaris2.11/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> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 219 | std::auto_ptr<Image> image(new Image()); | ^~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from src/gui/Image.hpp:28, from src/gui/Button.cpp:32: /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/gui/Button.cpp: In member function 'void Button::setChildText(Child&, XmlReader&)': src/gui/Button.cpp:227:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 227 | std::auto_ptr<Paragraph> paragraph(new Paragraph()); | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> 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> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 73 | std::auto_ptr<CLASS> 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) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ C++ ./build/x86_64-sun-solaris2.11/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> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 73 | std::auto_ptr<CLASS> 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 /opt/tools/gcc13/include/c++/13.2.0/memory:78, from src/gui/ComponentFactory.hpp:29: /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ C++ ./build/x86_64-sun-solaris2.11/optimize/src/gui/TooltipManager.o src/gui/TooltipManager.cpp: In member function 'void TooltipManager::showTooltip(const std::string&, const Vector2&)': src/gui/TooltipManager.cpp:102:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 102 | std::auto_ptr<Document> d (new Document()); | ^~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from src/gui/ComponentFactory.hpp:29, from src/gui/TooltipManager.cpp:28: /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/gui/TooltipManager.cpp:103:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 103 | std::auto_ptr<Paragraph> p (new Paragraph()); | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/gui/TooltipManager.cpp: In member function 'virtual Component* INTERN_TooltipManagerFactory::createComponent(XmlReader&)': src/gui/ComponentFactory.hpp:73:12: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 73 | std::auto_ptr<CLASS> 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ C++ ./build/x86_64-sun-solaris2.11/optimize/src/gui/Filter.o MkDir1 ./build/x86_64-sun-solaris2.11/optimize/src/gui/PainterGL C++ ./build/x86_64-sun-solaris2.11/optimize/src/gui/PainterGL/PainterGL.o In file included from src/gui/PainterGL/PainterGL.cpp:23: /home/pbulk/build/games/lincity-ng/work/.buildlink/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /home/pbulk/build/games/lincity-ng/work/.buildlink/include/GL/gl.h:2048, from /home/pbulk/build/games/lincity-ng/work/.buildlink/include/SDL/SDL_opengl.h:46: /home/pbulk/build/games/lincity-ng/work/.buildlink/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190911 | C++ ./build/x86_64-sun-solaris2.11/optimize/src/gui/PainterGL/TextureGL.o In file included from src/gui/PainterGL/TextureGL.hpp:21, from src/gui/PainterGL/TextureGL.cpp:20: /home/pbulk/build/games/lincity-ng/work/.buildlink/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /home/pbulk/build/games/lincity-ng/work/.buildlink/include/GL/gl.h:2048, from /home/pbulk/build/games/lincity-ng/work/.buildlink/include/SDL/SDL_opengl.h:46: /home/pbulk/build/games/lincity-ng/work/.buildlink/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190911 | C++ ./build/x86_64-sun-solaris2.11/optimize/src/gui/PainterGL/TextureManagerGL.o In file included from src/gui/PainterGL/TextureManagerGL.cpp:22: /home/pbulk/build/games/lincity-ng/work/.buildlink/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /home/pbulk/build/games/lincity-ng/work/.buildlink/include/GL/gl.h:2048, from /home/pbulk/build/games/lincity-ng/work/.buildlink/include/SDL/SDL_opengl.h:46: /home/pbulk/build/games/lincity-ng/work/.buildlink/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190911 | MkDir1 ./build/x86_64-sun-solaris2.11/optimize/src/gui/PainterSDL C++ ./build/x86_64-sun-solaris2.11/optimize/src/gui/PainterSDL/PainterSDL.o In file included from src/gui/PainterSDL/PainterSDL.cpp:26: /home/pbulk/build/games/lincity-ng/work/.buildlink/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /home/pbulk/build/games/lincity-ng/work/.buildlink/include/GL/gl.h:2048, from /home/pbulk/build/games/lincity-ng/work/.buildlink/include/SDL/SDL_opengl.h:46: /home/pbulk/build/games/lincity-ng/work/.buildlink/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190911 | C++ ./build/x86_64-sun-solaris2.11/optimize/src/gui/PainterSDL/TextureManagerSDL.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/gui/PainterSDL/TextureSDL.o Archive ./build/x86_64-sun-solaris2.11/optimize/src/gui/liblincity_gui.a ar: creating ./build/x86_64-sun-solaris2.11/optimize/src/gui/liblincity_gui.a MkDir1 ./build/x86_64-sun-solaris2.11/optimize/src/PhysfsStream C++ ./build/x86_64-sun-solaris2.11/optimize/src/PhysfsStream/PhysfsSDL.o src/PhysfsStream/PhysfsSDL.cpp: In function 'int funcSeek(SDL_RWops*, int, int)': src/PhysfsStream/PhysfsSDL.cpp:48:70: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] 48 | std::cerr << "Error seeking in file: " << PHYSFS_getLastError() << "\n"; | ~~~~~~~~~~~~~~~~~~~^~ In file included from src/PhysfsStream/PhysfsSDL.cpp:20: /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/PhysfsStream/PhysfsSDL.cpp: In function 'int funcRead(SDL_RWops*, void*, int, int)': src/PhysfsStream/PhysfsSDL.cpp:59:26: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] 59 | int res = PHYSFS_read(file, ptr, size, maxnum); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /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/PhysfsStream/PhysfsSDL.cpp: In function 'SDL_RWops* getPhysfsSDLRWops(const std::string&)': src/PhysfsStream/PhysfsSDL.cpp:79:35: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] 79 | << PHYSFS_getLastError(); | ~~~~~~~~~~~~~~~~~~~^~ /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-sun-solaris2.11/optimize/src/PhysfsStream/PhysfsStream.o src/PhysfsStream/PhysfsStream.cpp: In constructor 'IFileStreambuf::IFileStreambuf(const std::string&)': src/PhysfsStream/PhysfsStream.cpp:30:35: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] 30 | << PHYSFS_getLastError(); | ~~~~~~~~~~~~~~~~~~~^~ In file included from src/PhysfsStream/PhysfsStream.hpp:22, from src/PhysfsStream/PhysfsStream.cpp:18: /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/PhysfsStream/PhysfsStream.cpp: In member function 'virtual int IFileStreambuf::underflow()': src/PhysfsStream/PhysfsStream.cpp:46:44: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] 46 | size_t bytesread = (size_t) PHYSFS_read(file, buf, 1, sizeof(buf)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /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/PhysfsStream/PhysfsStream.cpp: In constructor 'OFileStreambuf::OFileStreambuf(const std::string&)': src/PhysfsStream/PhysfsStream.cpp:62:35: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] 62 | << PHYSFS_getLastError(); | ~~~~~~~~~~~~~~~~~~~^~ /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/PhysfsStream/PhysfsStream.cpp: In member function 'virtual int OFileStreambuf::overflow(int)': src/PhysfsStream/PhysfsStream.cpp:82:37: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] 82 | PHYSFS_sint64 res = PHYSFS_write(file, pbase(), 1, size); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/lincity-ng/work/.buildlink/include/physfs.h:1362:27: note: declared here 1362 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, | ^~~~~~~~~~~~ src/PhysfsStream/PhysfsStream.cpp:87:41: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] 87 | PHYSFS_sint64 res = PHYSFS_write(file, &c, 1, 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/pbulk/build/games/lincity-ng/work/.buildlink/include/physfs.h:1362:27: note: declared here 1362 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, | ^~~~~~~~~~~~ Archive ./build/x86_64-sun-solaris2.11/optimize/src/PhysfsStream/libphysfsstream.a ar: creating ./build/x86_64-sun-solaris2.11/optimize/src/PhysfsStream/libphysfsstream.a MkDir1 ./build/x86_64-sun-solaris2.11/optimize/src/tinygettext C++ ./build/x86_64-sun-solaris2.11/optimize/src/tinygettext/findlocale.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/tinygettext/TinyGetText.o Archive ./build/x86_64-sun-solaris2.11/optimize/src/tinygettext/libtinygettext.a ar: creating ./build/x86_64-sun-solaris2.11/optimize/src/tinygettext/libtinygettext.a MkDir1 ./build/x86_64-sun-solaris2.11/optimize/src/lincity C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity/lintypes.o src/lincity/lintypes.cpp: In function 'void init_types()': src/lincity/lintypes.cpp:592:28: warning: '%s' directive writing 9 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] 592 | sprintf(png_file, "%s%c%s", opening_path, PATH_SLASH, "icons.png"); | ^~ ~~~~~~~~~~~ src/lincity/lintypes.cpp:592:12: note: 'std::sprintf' output between 11 and 4106 bytes into a destination of size 4096 592 | sprintf(png_file, "%s%c%s", opening_path, PATH_SLASH, "icons.png"); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lincity/lintypes.cpp:593:28: warning: '%s' directive writing 12 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] 593 | sprintf(txt_file, "%s%c%s", opening_path, PATH_SLASH, "iconlist.txt"); | ^~ ~~~~~~~~~~~~~~ src/lincity/lintypes.cpp:593:12: note: 'std::sprintf' output between 14 and 4109 bytes into a destination of size 4096 593 | sprintf(txt_file, "%s%c%s", opening_path, PATH_SLASH, "iconlist.txt"); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity/loadsave.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity/lc_locale.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity/engine.o src/lincity/engine.cpp: In function 'int is_allowed_here(int, int, short int, short int)': src/lincity/engine.cpp:171:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 171 | for (i = 0; i < size; i++) | ^~~ src/lincity/engine.cpp:178:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 178 | break; | ^~~~~ src/lincity/engine.cpp: In function 'void do_pollution()': src/lincity/engine.cpp:526:22: warning: array subscript 100 is above array bounds of 'int [100][100]' [-Warray-bounds=] 526 | } while (++pol < &map.pollution[WORLD_SIDE_LEN][0]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/lincity/lin-city.h:959, from src/lincity/engine.cpp:10: src/lincity/lintypes.h:68:9: note: while referencing 'map_struct::pollution' 68 | int pollution[WORLD_SIDE_LEN][WORLD_SIDE_LEN]; | ^~~~~~~~~ C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity/init_game.o src/lincity/init_game.cpp: In function 'void new_setup_one_river(int, int, int*, int*, int, int*, int*, int, int*, int*)': src/lincity/init_game.cpp:624:28: warning: variable 'alt_max' set but not used [-Wunused-but-set-variable] 624 | int x, y, xx, yy, alt, alt_max; | ^~~~~~~ C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity/stats.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity/engglobs.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity/transport.o src/lincity/transport.cpp: In function 'void general_transport(int, int, int)': src/lincity/transport.cpp:198:9: warning: value computed is not used [-Wunused-value] 198 | *base++; // loop on address of int_"i" | ^~~~~~~ C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity/old_ldsvguts.o src/lincity/old_ldsvguts.cpp: In function 'void load_city_old(char*)': src/lincity/old_ldsvguts.cpp:115:19: warning: variable 'q' set but not used [-Wunused-but-set-variable] 115 | unsigned long q; | ^ C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity/power.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity/lclib.o src/lincity/lclib.cpp: In function 'void num_to_ansi_unit(char*, std::size_t, long int, char)': src/lincity/lclib.cpp:147:37: warning: '%c' directive output truncated writing 1 byte into a region of size 0 [-Wformat-truncation=] 147 | snprintf(s, size, "%4.0f%c%c", numf, triplets, unit); | ^~ src/lincity/lclib.cpp:147:21: note: 'snprintf' output between 7 and 313 bytes into a destination of size 4 147 | snprintf(s, size, "%4.0f%c%c", numf, triplets, unit); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lincity/lclib.cpp:145:37: warning: '%c' directive output truncated writing 1 byte into a region of size 0 [-Wformat-truncation=] 145 | snprintf(s, size, "%4.1f%c%c", numf, triplets, unit); | ^~ src/lincity/lclib.cpp:145:21: note: 'snprintf' output between 7 and 315 bytes into a destination of size 4 145 | snprintf(s, size, "%4.1f%c%c", numf, triplets, unit); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lincity/lclib.cpp: In function 'void format_power(char*, std::size_t, long int)': src/lincity/lclib.cpp:147:37: warning: '%c' directive output truncated writing 1 byte into a region of size 0 [-Wformat-truncation=] 147 | snprintf(s, size, "%4.0f%c%c", numf, triplets, unit); | ^~ In function 'void num_to_ansi_unit(char*, std::size_t, long int, char)', inlined from 'void format_power(char*, std::size_t, long int)' at src/lincity/lclib.cpp:214:21: src/lincity/lclib.cpp:147:21: note: 'snprintf' output between 7 and 313 bytes into a destination of size 4 147 | snprintf(s, size, "%4.0f%c%c", numf, triplets, unit); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lincity/lclib.cpp: In function 'void format_power(char*, std::size_t, long int)': src/lincity/lclib.cpp:145:37: warning: '%c' directive output truncated writing 1 byte into a region of size 0 [-Wformat-truncation=] 145 | snprintf(s, size, "%4.1f%c%c", numf, triplets, unit); | ^~ In function 'void num_to_ansi_unit(char*, std::size_t, long int, char)', inlined from 'void format_power(char*, std::size_t, long int)' at src/lincity/lclib.cpp:214:21: src/lincity/lclib.cpp:145:21: note: 'snprintf' output between 7 and 315 bytes into a destination of size 4 145 | snprintf(s, size, "%4.1f%c%c", numf, triplets, unit); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity/simulate.o src/lincity/simulate.cpp: In function 'void do_rand_ecology(int, int)': src/lincity/simulate.cpp:473:61: warning: bitwise comparison always evaluates to false [-Wtautological-compare] 473 | if ( (MP_INFO(x, y).flags | FLAG_HAS_UNDERGROUND_WATER) == 0 ) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~ ~ C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity/fileutil.o src/lincity/fileutil.cpp: In function 'void init_path_strings()': src/lincity/fileutil.cpp:413:44: warning: 'const char* PHYSFS_getUserDir()' is deprecated [-Wdeprecated-declarations] 413 | const char* homedir = PHYSFS_getUserDir(); | ~~~~~~~~~~~~~~~~~^~ In file included from src/lincity/fileutil.cpp:11: /home/pbulk/build/games/lincity-ng/work/.buildlink/include/physfs.h:792:25: note: declared here 792 | PHYSFS_DECL const char *PHYSFS_getUserDir(void) PHYSFS_DEPRECATED; | ^~~~~~~~~~~~~~~~~ src/lincity/fileutil.cpp: In function 'void find_libdir()': src/lincity/fileutil.cpp:255:20: warning: 'char* std::strncpy(char*, const char*, size_t)' specified bound 4096 equals destination size [-Wstringop-truncation] 255 | strncpy(LIBDIR, home_dir, LC_PATH_MAX); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lincity/fileutil.cpp:263:52: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] 263 | snprintf(filename_buf, LC_PATH_MAX, "%s%c%s", cwd_buf, PATH_SLASH, searchfile); | ^ src/lincity/fileutil.cpp:263:17: note: 'snprintf' output 2 or more bytes (assuming 4097) into a destination of size 4096 263 | snprintf(filename_buf, LC_PATH_MAX, "%s%c%s", cwd_buf, PATH_SLASH, searchfile); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lincity/fileutil.cpp: In function 'void find_localized_paths()': src/lincity/fileutil.cpp:353:59: warning: '%s' directive output may be truncated writing 8 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 353 | snprintf(message_path, sizeof(message_path), "%s%c%s%c%s%c", LIBDIR, | ^~ 354 | PATH_SLASH, "messages", PATH_SLASH, intl_suffix, PATH_SLASH); | ~~~~~~~~~~ src/lincity/fileutil.cpp:353:17: note: 'snprintf' output 12 or more bytes (assuming 4107) into a destination of size 4096 353 | snprintf(message_path, sizeof(message_path), "%s%c%s%c%s%c", LIBDIR, | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | PATH_SLASH, "messages", PATH_SLASH, intl_suffix, PATH_SLASH); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lincity/fileutil.cpp:360:53: warning: '%s' directive output may be truncated writing 4 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 360 | snprintf(help_path, sizeof(help_path), "%s%c%s%c%s%c", LIBDIR, PATH_SLASH, | ^~ 361 | "help", PATH_SLASH, intl_suffix, PATH_SLASH); | ~~~~~~ src/lincity/fileutil.cpp:360:17: note: 'snprintf' output 8 or more bytes (assuming 4103) into a destination of size 4096 360 | snprintf(help_path, sizeof(help_path), "%s%c%s%c%s%c", LIBDIR, PATH_SLASH, | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 361 | "help", PATH_SLASH, intl_suffix, PATH_SLASH); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lincity/fileutil.cpp:360:53: warning: '%s' directive output may be truncated writing 4 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 360 | snprintf(help_path, sizeof(help_path), "%s%c%s%c%s%c", LIBDIR, PATH_SLASH, | ^~ 361 | "help", PATH_SLASH, intl_suffix, PATH_SLASH); | ~~~~~~ src/lincity/fileutil.cpp:360:17: note: 'snprintf' output 8 or more bytes (assuming 4103) into a destination of size 4096 360 | snprintf(help_path, sizeof(help_path), "%s%c%s%c%s%c", LIBDIR, PATH_SLASH, | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 361 | "help", PATH_SLASH, intl_suffix, PATH_SLASH); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lincity/fileutil.cpp:379:40: warning: '%s' directive writing 8 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] 379 | sprintf(message_path, "%s%c%s%c%s%c", LIBDIR, PATH_SLASH, "messages", PATH_SLASH, intl_suffix, PATH_SLASH); | ^~ ~~~~~~~~~~ src/lincity/fileutil.cpp:379:20: note: 'std::sprintf' output between 12 and 4234 bytes into a destination of size 4096 379 | sprintf(message_path, "%s%c%s%c%s%c", LIBDIR, PATH_SLASH, "messages", PATH_SLASH, intl_suffix, PATH_SLASH); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lincity/fileutil.cpp:400:36: warning: '%s' directive writing 8 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] 400 | sprintf(message_path, "%s%c%s%c", LIBDIR, PATH_SLASH, "messages", PATH_SLASH); | ^~ ~~~~~~~~~~ src/lincity/fileutil.cpp:400:16: note: 'std::sprintf' output between 11 and 4106 bytes into a destination of size 4096 400 | sprintf(message_path, "%s%c%s%c", LIBDIR, PATH_SLASH, "messages", PATH_SLASH); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lincity/fileutil.cpp:387:37: warning: '%s' directive writing 4 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] 387 | sprintf(help_path, "%s%c%s%c%s%c", LIBDIR, PATH_SLASH, "help", PATH_SLASH, intl_suffix, PATH_SLASH); | ^~ ~~~~~~ src/lincity/fileutil.cpp:387:20: note: 'std::sprintf' output between 8 and 4230 bytes into a destination of size 4096 387 | sprintf(help_path, "%s%c%s%c%s%c", LIBDIR, PATH_SLASH, "help", PATH_SLASH, intl_suffix, PATH_SLASH); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lincity/fileutil.cpp:400:36: warning: '%s' directive writing 8 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] 400 | sprintf(message_path, "%s%c%s%c", LIBDIR, PATH_SLASH, "messages", PATH_SLASH); | ^~ ~~~~~~~~~~ src/lincity/fileutil.cpp:400:16: note: 'std::sprintf' output between 11 and 4106 bytes into a destination of size 4096 400 | sprintf(message_path, "%s%c%s%c", LIBDIR, PATH_SLASH, "messages", PATH_SLASH); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lincity/fileutil.cpp:400:36: warning: '%s' directive writing 8 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] 400 | sprintf(message_path, "%s%c%s%c", LIBDIR, PATH_SLASH, "messages", PATH_SLASH); | ^~ ~~~~~~~~~~ src/lincity/fileutil.cpp:400:16: note: 'std::sprintf' output between 11 and 4106 bytes into a destination of size 4096 400 | sprintf(message_path, "%s%c%s%c", LIBDIR, PATH_SLASH, "messages", PATH_SLASH); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lincity/fileutil.cpp:387:37: warning: '%s' directive writing 4 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] 387 | sprintf(help_path, "%s%c%s%c%s%c", LIBDIR, PATH_SLASH, "help", PATH_SLASH, intl_suffix, PATH_SLASH); | ^~ ~~~~~~ src/lincity/fileutil.cpp:387:20: note: 'std::sprintf' output between 8 and 4230 bytes into a destination of size 4096 387 | sprintf(help_path, "%s%c%s%c%s%c", LIBDIR, PATH_SLASH, "help", PATH_SLASH, intl_suffix, PATH_SLASH); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lincity/fileutil.cpp:400:36: warning: '%s' directive writing 8 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] 400 | sprintf(message_path, "%s%c%s%c", LIBDIR, PATH_SLASH, "messages", PATH_SLASH); | ^~ ~~~~~~~~~~ src/lincity/fileutil.cpp:400:16: note: 'std::sprintf' output between 11 and 4106 bytes into a destination of size 4096 400 | sprintf(message_path, "%s%c%s%c", LIBDIR, PATH_SLASH, "messages", PATH_SLASH); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lincity/fileutil.cpp:404:33: warning: '%s' directive writing 4 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] 404 | sprintf(help_path, "%s%c%s%c", LIBDIR, PATH_SLASH, "help", PATH_SLASH); | ^~ ~~~~~~ src/lincity/fileutil.cpp:404:16: note: 'std::sprintf' output between 7 and 4102 bytes into a destination of size 4096 404 | sprintf(help_path, "%s%c%s%c", LIBDIR, PATH_SLASH, "help", PATH_SLASH); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lincity/fileutil.cpp: In function 'void init_path_strings()': src/lincity/fileutil.cpp:420:35: warning: '%s' directive writing 10 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] 420 | sprintf(colour_pal_file, "%s%c%s", LIBDIR, PATH_SLASH, "colour.pal"); | ^~ ~~~~~~~~~~~~ src/lincity/fileutil.cpp:420:12: note: 'std::sprintf' output between 12 and 4107 bytes into a destination of size 4096 420 | sprintf(colour_pal_file, "%s%c%s", LIBDIR, PATH_SLASH, "colour.pal"); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lincity/fileutil.cpp:421:32: warning: '%s' directive writing 7 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] 421 | sprintf(opening_path, "%s%c%s", LIBDIR, PATH_SLASH, "opening"); | ^~ ~~~~~~~~~ src/lincity/fileutil.cpp:421:12: note: 'std::sprintf' output between 9 and 4104 bytes into a destination of size 4096 421 | sprintf(opening_path, "%s%c%s", LIBDIR, PATH_SLASH, "opening"); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lincity/fileutil.cpp:425:31: warning: '%s' directive writing 11 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] 425 | sprintf(opening_pic, "%s%c%s", opening_path, PATH_SLASH, "open.tga.gz"); | ^~ ~~~~~~~~~~~~~ src/lincity/fileutil.cpp:425:12: note: 'std::sprintf' output between 13 and 4108 bytes into a destination of size 4096 425 | sprintf(opening_pic, "%s%c%s", opening_path, PATH_SLASH, "open.tga.gz"); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lincity/fileutil.cpp:427:32: warning: '%s' directive writing 5 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] 427 | sprintf(graphic_path, "%s%c%s%c", LIBDIR, PATH_SLASH, "icons", PATH_SLASH); | ^~ ~~~~~~~ src/lincity/fileutil.cpp:427:12: note: 'std::sprintf' output between 8 and 4103 bytes into a destination of size 4096 427 | sprintf(graphic_path, "%s%c%s%c", LIBDIR, PATH_SLASH, "icons", PATH_SLASH); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lincity/fileutil.cpp:434:28: warning: '%s' directive writing 17 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] 434 | sprintf(fontfile, "%s%c%s", opening_path, PATH_SLASH, "iso8859-1-8x8.raw"); | ^~ ~~~~~~~~~~~~~~~~~~~ src/lincity/fileutil.cpp:434:12: note: 'std::sprintf' output between 19 and 4114 bytes into a destination of size 4096 434 | sprintf(fontfile, "%s%c%s", opening_path, PATH_SLASH, "iso8859-1-8x8.raw"); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MkDir1 ./build/x86_64-sun-solaris2.11/optimize/src/lincity/modules C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity/modules/pottery.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity/modules/waterwell.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity/modules/health_centre.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity/modules/blacksmith.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity/modules/windmill.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity/modules/rocket_pad.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity/modules/solar_power.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity/modules/heavy_industry.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity/modules/cricket.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity/modules/recycle.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity/modules/university.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity/modules/water.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity/modules/monument.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity/modules/fire.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity/modules/port.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity/modules/shanty.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity/modules/coal_power.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity/modules/school.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity/modules/parkland.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity/modules/power_line.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity/modules/tip.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity/modules/substation.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity/modules/coalmine.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity/modules/mill.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity/modules/rail.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity/modules/firestation.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity/modules/organic_farm.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity/modules/market.o src/lincity/modules/market.cpp: In function 'void shuffle_markets()': src/lincity/modules/market.cpp:397:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 397 | register int x; | ^ C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity/modules/oremine.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity/modules/residence.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity/modules/track.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity/modules/commune.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity/modules/road.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity/modules/light_industry.o Archive ./build/x86_64-sun-solaris2.11/optimize/src/lincity/liblincity_lib.a ar: creating ./build/x86_64-sun-solaris2.11/optimize/src/lincity/liblincity_lib.a MkDir1 ./build/x86_64-sun-solaris2.11/optimize/src/lincity-ng C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity-ng/ButtonInterface.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity-ng/MpsInterface.o In file included from src/lincity-ng/MpsInterface.cpp:34: src/lincity-ng/MiniMap.hpp:79:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 79 | std::auto_ptr<Texture> mTexture; | ^~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from src/lincity-ng/MiniMap.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity-ng/Game.o In file included from src/lincity-ng/Game.cpp:20: src/lincity-ng/Game.hpp:41:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 41 | std::auto_ptr<Component> gui; | ^~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from src/lincity-ng/Game.hpp:22: /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/lincity-ng/Game.hpp:49:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr<HelpWindow> helpWindow; | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ In file included from src/lincity-ng/GameView.hpp:32, from src/lincity-ng/Game.cpp:36: src/lincity-ng/MiniMap.hpp:79:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 79 | std::auto_ptr<Texture> mTexture; | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/lincity-ng/Game.cpp: In member function 'void Game::testAllHelpFiles()': src/lincity-ng/Game.cpp:139:30: warning: 'int PHYSFS_isDirectory(const char*)' is deprecated [-Wdeprecated-declarations] 139 | if(PHYSFS_isDirectory(fullname.c_str())) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/lincity-ng/Game.cpp:33: /home/pbulk/build/games/lincity-ng/work/.buildlink/include/physfs.h:1159:17: note: declared here 1159 | PHYSFS_DECL int PHYSFS_isDirectory(const char *fname) PHYSFS_DEPRECATED; | ^~~~~~~~~~~~~~~~~~ ...on 100th target... C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity-ng/ErrorInterface.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity-ng/MainMenu.o In file included from src/lincity-ng/MainMenu.cpp:43: src/lincity-ng/MainMenu.hpp:78:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 78 | std::auto_ptr<Component> mainMenu; | ^~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from src/lincity-ng/MainMenu.hpp:23: /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/lincity-ng/MainMenu.hpp:79:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 79 | std::auto_ptr<Component> newGameMenu; | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/lincity-ng/MainMenu.hpp:80:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 80 | std::auto_ptr<Component> loadGameMenu; | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/lincity-ng/MainMenu.hpp:81:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 81 | std::auto_ptr<Component> saveGameMenu; | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/lincity-ng/MainMenu.hpp:82:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 82 | std::auto_ptr<Component> creditsMenu; | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/lincity-ng/MainMenu.hpp:83:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 83 | std::auto_ptr<Component> optionsMenu; | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ In file included from src/lincity-ng/GameView.hpp:32, from src/lincity-ng/MainMenu.cpp:47: src/lincity-ng/MiniMap.hpp:79:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 79 | std::auto_ptr<Texture> mTexture; | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/lincity-ng/MainMenu.cpp: In member function 'void MainMenu::fillLoadMenu(bool)': src/lincity-ng/MainMenu.cpp:183:46: warning: 'PHYSFS_sint64 PHYSFS_getLastModTime(const char*)' is deprecated [-Wdeprecated-declarations] 183 | t = PHYSFS_getLastModTime(recentfile); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/lincity-ng/MainMenu.cpp:25: /home/pbulk/build/games/lincity-ng/work/.buildlink/include/physfs.h:1206:27: note: declared here 1206 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_getLastModTime(const char *filename) | ^~~~~~~~~~~~~~~~~~~~~ src/lincity-ng/MainMenu.cpp:185:46: warning: 'PHYSFS_sint64 PHYSFS_getLastModTime(const char*)' is deprecated [-Wdeprecated-declarations] 185 | if (PHYSFS_getLastModTime(curfile) > t) { | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/lincity-ng/work/.buildlink/include/physfs.h:1206:27: note: declared here 1206 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_getLastModTime(const char *filename) | ^~~~~~~~~~~~~~~~~~~~~ src/lincity-ng/MainMenu.cpp:191:50: warning: 'PHYSFS_sint64 PHYSFS_getLastModTime(const char*)' is deprecated [-Wdeprecated-declarations] 191 | t = PHYSFS_getLastModTime(recentfile); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /home/pbulk/build/games/lincity-ng/work/.buildlink/include/physfs.h:1206:27: note: declared here 1206 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_getLastModTime(const char *filename) | ^~~~~~~~~~~~~~~~~~~~~ src/lincity-ng/MainMenu.cpp: In member function 'void MainMenu::changeTrack(bool)': src/lincity-ng/MainMenu.cpp:508:31: warning: 'int PHYSFS_isDirectory(const char*)' is deprecated [-Wdeprecated-declarations] 508 | if(!PHYSFS_isDirectory(fullname.c_str())){ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/lincity-ng/work/.buildlink/include/physfs.h:1159:17: note: declared here 1159 | PHYSFS_DECL int PHYSFS_isDirectory(const char *fname) PHYSFS_DEPRECATED; | ^~~~~~~~~~~~~~~~~~ C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity-ng/ReadPngInterface.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity-ng/GameView.o In file included from src/lincity-ng/GameView.hpp:32, from src/lincity-ng/GameView.cpp:20: src/lincity-ng/MiniMap.hpp:79:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 79 | std::auto_ptr<Texture> mTexture; | ^~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from src/lincity-ng/MiniMap.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ In file included from src/lincity-ng/GameView.cpp:26: src/lincity-ng/GameView.cpp: In member function 'virtual Component* INTERN_GameViewFactory::createComponent(XmlReader&)': ./src/gui/ComponentFactory.hpp:73:12: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 73 | std::auto_ptr<CLASS> component (new CLASS()); \ | ^~~~~~~~ ./src/gui/ComponentFactory.hpp:79:1: note: in expansion of macro 'DECLARE_COMPONENT_FACTORY' 79 | DECLARE_COMPONENT_FACTORY(CLASS) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/lincity-ng/GameView.cpp:1773:1: note: in expansion of macro 'IMPLEMENT_COMPONENT_FACTORY' 1773 | IMPLEMENT_COMPONENT_FACTORY(GameView); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ Cc ./build/x86_64-sun-solaris2.11/optimize/src/lincity-ng/binreloc.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity-ng/MiniMap.o In file included from src/lincity-ng/MiniMap.cpp:20: src/lincity-ng/MiniMap.hpp:79:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 79 | std::auto_ptr<Texture> mTexture; | ^~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from src/lincity-ng/MiniMap.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ In file included from src/lincity-ng/MiniMap.cpp:50: src/lincity-ng/Game.hpp:41:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 41 | std::auto_ptr<Component> gui; | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/lincity-ng/Game.hpp:49:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr<HelpWindow> helpWindow; | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/lincity-ng/MiniMap.cpp: In member function 'virtual void MiniMap::draw(Painter&)': src/lincity-ng/MiniMap.cpp:532:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 532 | std::auto_ptr<Painter> mpainter | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ In file included from src/lincity-ng/MiniMap.cpp:27: src/lincity-ng/MiniMap.cpp: In member function 'virtual Component* INTERN_MiniMapFactory::createComponent(XmlReader&)': ./src/gui/ComponentFactory.hpp:73:12: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 73 | std::auto_ptr<CLASS> component (new CLASS()); \ | ^~~~~~~~ ./src/gui/ComponentFactory.hpp:79:1: note: in expansion of macro 'DECLARE_COMPONENT_FACTORY' 79 | DECLARE_COMPONENT_FACTORY(CLASS) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/lincity-ng/MiniMap.cpp:889:1: note: in expansion of macro 'IMPLEMENT_COMPONENT_FACTORY' 889 | IMPLEMENT_COMPONENT_FACTORY(MiniMap); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity-ng/PBar.o In file included from src/lincity-ng/PBar.cpp:22: src/lincity-ng/PBar.cpp: In member function 'virtual Component* INTERN_LCPBarFactory::createComponent(XmlReader&)': ./src/gui/ComponentFactory.hpp:73:12: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 73 | std::auto_ptr<CLASS> component (new CLASS()); \ | ^~~~~~~~ ./src/gui/ComponentFactory.hpp:79:1: note: in expansion of macro 'DECLARE_COMPONENT_FACTORY' 79 | DECLARE_COMPONENT_FACTORY(CLASS) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/lincity-ng/PBar.cpp:233:1: note: in expansion of macro 'IMPLEMENT_COMPONENT_FACTORY' 233 | IMPLEMENT_COMPONENT_FACTORY(LCPBar); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from ./src/gui/ComponentFactory.hpp:29: /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/lincity-ng/PBar.cpp: In member function 'virtual Component* INTERN_BarViewFactory::createComponent(XmlReader&)': ./src/gui/ComponentFactory.hpp:73:12: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 73 | std::auto_ptr<CLASS> component (new CLASS()); \ | ^~~~~~~~ ./src/gui/ComponentFactory.hpp:79:1: note: in expansion of macro 'DECLARE_COMPONENT_FACTORY' 79 | DECLARE_COMPONENT_FACTORY(CLASS) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/lincity-ng/PBar.cpp:234:1: note: in expansion of macro 'IMPLEMENT_COMPONENT_FACTORY' 234 | IMPLEMENT_COMPONENT_FACTORY(BarView); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity-ng/MapEdit.o In file included from src/lincity-ng/GameView.hpp:32, from src/lincity-ng/MapEdit.cpp:34: src/lincity-ng/MiniMap.hpp:79:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 79 | std::auto_ptr<Texture> mTexture; | ^~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from src/lincity-ng/MiniMap.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity-ng/Dialog.o In file included from src/lincity-ng/GameView.hpp:32, from src/lincity-ng/Dialog.cpp:27: src/lincity-ng/MiniMap.hpp:79:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 79 | std::auto_ptr<Texture> mTexture; | ^~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from src/lincity-ng/MiniMap.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/lincity-ng/Dialog.cpp: In member function 'void Dialog::msgDialog(std::string, std::string)': src/lincity-ng/Dialog.cpp:198:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 198 | std::auto_ptr<Component> myDialogComponent (loadGUIFile( filename )); | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity-ng/MainLincity.o In file included from src/lincity-ng/GameView.hpp:32, from src/lincity-ng/MainLincity.cpp:42: src/lincity-ng/MiniMap.hpp:79:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 79 | std::auto_ptr<Texture> mTexture; | ^~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from src/lincity-ng/MiniMap.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity-ng/CheckButton.o src/lincity-ng/CheckButton.cpp: In member function 'void CheckButton::setChildImage(Child&, XmlReader&)': src/lincity-ng/CheckButton.cpp:216:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 216 | std::auto_ptr<Image> image(new Image()); | ^~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from ./src/gui/ComponentFactory.hpp:29, from src/lincity-ng/CheckButton.cpp:20: /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/lincity-ng/CheckButton.cpp: In member function 'void CheckButton::setChildText(Child&, XmlReader&)': src/lincity-ng/CheckButton.cpp:224:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 224 | std::auto_ptr<Paragraph> paragraph(new Paragraph()); | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/lincity-ng/CheckButton.cpp: In member function 'virtual Component* INTERN_CheckButtonFactory::createComponent(XmlReader&)': ./src/gui/ComponentFactory.hpp:73:12: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 73 | std::auto_ptr<CLASS> component (new CLASS()); \ | ^~~~~~~~ ./src/gui/ComponentFactory.hpp:79:1: note: in expansion of macro 'DECLARE_COMPONENT_FACTORY' 79 | DECLARE_COMPONENT_FACTORY(CLASS) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/lincity-ng/CheckButton.cpp:431:1: note: in expansion of macro 'IMPLEMENT_COMPONENT_FACTORY' 431 | IMPLEMENT_COMPONENT_FACTORY(CheckButton); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity-ng/PbarInterface.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity-ng/Config.o In file included from src/lincity-ng/Config.cpp:25: /home/pbulk/build/games/lincity-ng/work/.buildlink/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /home/pbulk/build/games/lincity-ng/work/.buildlink/include/GL/gl.h:2048, from /home/pbulk/build/games/lincity-ng/work/.buildlink/include/SDL/SDL_opengl.h:46: /home/pbulk/build/games/lincity-ng/work/.buildlink/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190911 | C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity-ng/Sound.o src/lincity-ng/Sound.cpp: In member function 'void Sound::loadWaves()': src/lincity-ng/Sound.cpp:64:30: warning: 'int PHYSFS_isDirectory(const char*)' is deprecated [-Wdeprecated-declarations] 64 | if(PHYSFS_isDirectory(fullname.c_str())) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/lincity-ng/Sound.cpp:30: /home/pbulk/build/games/lincity-ng/work/.buildlink/include/physfs.h:1159:17: note: declared here 1159 | PHYSFS_DECL int PHYSFS_isDirectory(const char *fname) PHYSFS_DEPRECATED; | ^~~~~~~~~~~~~~~~~~ C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity-ng/Util.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity-ng/main.o In file included from src/lincity-ng/main.cpp:26: /home/pbulk/build/games/lincity-ng/work/.buildlink/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /home/pbulk/build/games/lincity-ng/work/.buildlink/include/GL/gl.h:2048, from /home/pbulk/build/games/lincity-ng/work/.buildlink/include/SDL/SDL_opengl.h:46: /home/pbulk/build/games/lincity-ng/work/.buildlink/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190911 | In file included from src/lincity-ng/main.cpp:42: src/lincity-ng/MainMenu.hpp:78:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 78 | std::auto_ptr<Component> mainMenu; | ^~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from src/lincity-ng/main.cpp:23: /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/lincity-ng/MainMenu.hpp:79:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 79 | std::auto_ptr<Component> newGameMenu; | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/lincity-ng/MainMenu.hpp:80:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 80 | std::auto_ptr<Component> loadGameMenu; | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/lincity-ng/MainMenu.hpp:81:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 81 | std::auto_ptr<Component> saveGameMenu; | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/lincity-ng/MainMenu.hpp:82:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 82 | std::auto_ptr<Component> creditsMenu; | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/lincity-ng/MainMenu.hpp:83:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 83 | std::auto_ptr<Component> optionsMenu; | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ In file included from src/lincity-ng/main.cpp:43: src/lincity-ng/Game.hpp:41:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 41 | std::auto_ptr<Component> gui; | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/lincity-ng/Game.hpp:49:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr<HelpWindow> helpWindow; | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/lincity-ng/main.cpp: In function 'void initPhysfs(const char*)': src/lincity-ng/main.cpp:81:69: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] 81 | msg << "Couldn't initialize physfs: " << PHYSFS_getLastError(); | ~~~~~~~~~~~~~~~~~~~^~ In file included from src/lincity-ng/main.cpp:24: /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/lincity-ng/main.cpp:88:44: warning: 'const char* PHYSFS_getUserDir()' is deprecated [-Wdeprecated-declarations] 88 | const char* userdir = PHYSFS_getUserDir(); | ~~~~~~~~~~~~~~~~~^~ /home/pbulk/build/games/lincity-ng/work/.buildlink/include/physfs.h:792:25: note: declared here 792 | PHYSFS_DECL const char *PHYSFS_getUserDir(void) PHYSFS_DEPRECATED; | ^~~~~~~~~~~~~~~~~ src/lincity-ng/main.cpp:102:57: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] 102 | writedir << "': " << PHYSFS_getLastError(); | ~~~~~~~~~~~~~~~~~~~^~ /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/lincity-ng/main.cpp:112:57: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] 112 | writedir << "': " << PHYSFS_getLastError(); | ~~~~~~~~~~~~~~~~~~~^~ /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/lincity-ng/main.cpp:117:27: warning: 'int PHYSFS_addToSearchPath(const char*, int)' is deprecated [-Wdeprecated-declarations] 117 | PHYSFS_addToSearchPath(writedir, 0); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/pbulk/build/games/lincity-ng/work/.buildlink/include/physfs.h:851:17: note: declared here 851 | PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) | ^~~~~~~~~~~~~~~~~~~~~~ src/lincity-ng/main.cpp:121:27: warning: 'int PHYSFS_addToSearchPath(const char*, int)' is deprecated [-Wdeprecated-declarations] 121 | PHYSFS_addToSearchPath(writedir, 1); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/pbulk/build/games/lincity-ng/work/.buildlink/include/physfs.h:851:17: note: declared here 851 | PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) | ^~~~~~~~~~~~~~~~~~~~~~ src/lincity-ng/main.cpp:140:39: warning: 'int PHYSFS_addToSearchPath(const char*, int)' is deprecated [-Wdeprecated-declarations] 140 | PHYSFS_addToSearchPath(str, 1); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /home/pbulk/build/games/lincity-ng/work/.buildlink/include/physfs.h:851:17: note: declared here 851 | PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) | ^~~~~~~~~~~~~~~~~~~~~~ src/lincity-ng/main.cpp:156:35: warning: 'int PHYSFS_addToSearchPath(const char*, int)' is deprecated [-Wdeprecated-declarations] 156 | if(!PHYSFS_addToSearchPath(dir.c_str(), 1)) { | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/pbulk/build/games/lincity-ng/work/.buildlink/include/physfs.h:851:17: note: declared here 851 | PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) | ^~~~~~~~~~~~~~~~~~~~~~ src/lincity-ng/main.cpp:182:31: warning: 'int PHYSFS_addToSearchPath(const char*, int)' is deprecated [-Wdeprecated-declarations] 182 | if(!PHYSFS_addToSearchPath(datadir.c_str(), 1)) { | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/lincity-ng/work/.buildlink/include/physfs.h:851:17: note: declared here 851 | PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) | ^~~~~~~~~~~~~~~~~~~~~~ src/lincity-ng/main.cpp:184:65: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] 184 | << "' to physfs searchpath: " << PHYSFS_getLastError() << "\n"; | ~~~~~~~~~~~~~~~~~~~^~ /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/lincity-ng/main.cpp: In function 'void mainLoop()': src/lincity-ng/main.cpp:324:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 324 | std::auto_ptr<MainMenu> menu; | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/lincity-ng/main.cpp:325:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 325 | std::auto_ptr<Game> game; | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/lincity-ng/main.cpp: In function 'int main(int, char**)': src/lincity-ng/main.cpp:486:14: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 486 | std::auto_ptr<Sound> sound; | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity-ng/HelpWindow.o src/lincity-ng/HelpWindow.cpp: In member function 'void HelpWindow::showTopic(const std::string&)': src/lincity-ng/HelpWindow.cpp:69:14: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 69 | std::auto_ptr<Component> contents (loadGUIFile(filename)); | ^~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from src/lincity-ng/HelpWindow.cpp:25: /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity-ng/readdir.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity-ng/ScreenInterface.o In file included from src/lincity-ng/GameView.hpp:32, from src/lincity-ng/ScreenInterface.cpp:41: src/lincity-ng/MiniMap.hpp:79:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 79 | std::auto_ptr<Texture> mTexture; | ^~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from src/lincity-ng/MiniMap.hpp:27: /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity-ng/TimerInterface.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity-ng/Mps.o In file included from src/lincity-ng/Mps.cpp:29: src/lincity-ng/Mps.cpp: In member function 'virtual Component* INTERN_MpsFactory::createComponent(XmlReader&)': ./src/gui/ComponentFactory.hpp:73:12: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 73 | std::auto_ptr<CLASS> component (new CLASS()); \ | ^~~~~~~~ ./src/gui/ComponentFactory.hpp:79:1: note: in expansion of macro 'DECLARE_COMPONENT_FACTORY' 79 | DECLARE_COMPONENT_FACTORY(CLASS) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/lincity-ng/Mps.cpp:291:1: note: in expansion of macro 'IMPLEMENT_COMPONENT_FACTORY' 291 | IMPLEMENT_COMPONENT_FACTORY(Mps); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from ./src/gui/ComponentFactory.hpp:29: /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity-ng/ButtonPanel.o In file included from src/lincity-ng/GameView.hpp:32, from src/lincity-ng/ButtonPanel.cpp:38: src/lincity-ng/MiniMap.hpp:79:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 79 | std::auto_ptr<Texture> mTexture; | ^~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from ./src/gui/ComponentFactory.hpp:29, from src/lincity-ng/ButtonPanel.cpp:24: /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ In file included from src/lincity-ng/ButtonPanel.cpp:39: src/lincity-ng/Game.hpp:41:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 41 | std::auto_ptr<Component> gui; | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/lincity-ng/Game.hpp:49:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr<HelpWindow> helpWindow; | ^~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ src/lincity-ng/ButtonPanel.cpp: In member function 'virtual Component* INTERN_ButtonPanelFactory::createComponent(XmlReader&)': ./src/gui/ComponentFactory.hpp:73:12: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 73 | std::auto_ptr<CLASS> component (new CLASS()); \ | ^~~~~~~~ ./src/gui/ComponentFactory.hpp:79:1: note: in expansion of macro 'DECLARE_COMPONENT_FACTORY' 79 | DECLARE_COMPONENT_FACTORY(CLASS) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/lincity-ng/ButtonPanel.cpp:935:1: note: in expansion of macro 'IMPLEMENT_COMPONENT_FACTORY' 935 | IMPLEMENT_COMPONENT_FACTORY(ButtonPanel); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity-ng/EconomyGraph.o In file included from src/lincity-ng/EconomyGraph.cpp:23: src/lincity-ng/EconomyGraph.cpp: In member function 'virtual Component* INTERN_EconomyGraphFactory::createComponent(XmlReader&)': ./src/gui/ComponentFactory.hpp:73:12: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 73 | std::auto_ptr<CLASS> component (new CLASS()); \ | ^~~~~~~~ ./src/gui/ComponentFactory.hpp:79:1: note: in expansion of macro 'DECLARE_COMPONENT_FACTORY' 79 | DECLARE_COMPONENT_FACTORY(CLASS) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/lincity-ng/EconomyGraph.cpp:497:1: note: in expansion of macro 'IMPLEMENT_COMPONENT_FACTORY' 497 | IMPLEMENT_COMPONENT_FACTORY(EconomyGraph); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc13/include/c++/13.2.0/memory:78, from ./src/gui/ComponentFactory.hpp:29: /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template<typename> class auto_ptr; | ^~~~~~~~ C++ ./build/x86_64-sun-solaris2.11/optimize/src/lincity-ng/Debug.o LinkApplication lincity-ng MkDir1 ./build/x86_64-sun-solaris2.11/optimize/src/tools/xmlgettext C++ ./build/x86_64-sun-solaris2.11/optimize/src/tools/xmlgettext/main.o C++ ./build/x86_64-sun-solaris2.11/optimize/src/tools/xmlgettext/XmlReader.o LinkApplication xmlgettext XmlGetText data/locale/gui/messages.pot XGetText data/locale/messages.pot xgettext: illegal option -- keyword=_:1 xgettext: illegal option -- keyword=N_:1 xgettext: illegal option -- o Usage: xgettext [-a [-x exclude-file]] [-jns][-c comment-tag] [-d default-domain] [-m prefix] [-M suffix] [-p pathname] files ... xgettext -h xgettext --keyword='_:1' --keyword='N_:1' -o data/locale/messages.pot src/gui/Child.hpp src/gui/Image.hpp src/gui/Painter.hpp src/gui/Window.cpp src/gui/Panel.hpp src/gui/FontManager.hpp src/gui/ScrollBar.cpp src/gui/DocumentImage.hpp src/gui/Image.cpp src/gui/Child.cpp src/gui/ScrollBar.hpp src/gui/FontManager.cpp src/gui/DocumentImage.cpp src/gui/Window.hpp src/gui/Panel.cpp src/gui/Desktop.cpp src/gui/Document.hpp src/gui/Color.hpp src/gui/Component.cpp src/gui/FilledRectangle.hpp src/gui/Rect2D.cpp src/gui/Color.cpp src/gui/Document.cpp src/gui/Desktop.hpp src/gui/FilledRectangle.cpp src/gui/Rect2D.hpp src/gui/Component.hpp src/gui/XmlReader.cpp src/gui/Gradient.hpp src/gui/ScrollView.cpp src/gui/TextureManager.cpp src/gui/Paragraph.hpp src/gui/Style.cpp src/gui/ComponentLoader.cpp src/gui/Vector2.hpp src/gui/DocumentElement.hpp src/gui/XmlReader.hpp src/gui/Paragraph.cpp src/gui/TextureManager.hpp src/gui/ComponentLoader.hpp src/gui/Style.hpp src/gui/Gradient.cpp src/gui/ScrollView.hpp src/gui/Button.hpp src/gui/SwitchComponent.hpp src/gui/ComponentFactory.cpp src/gui/TableLayout.hpp src/gui/TooltipManager.hpp src/gui/Filter.hpp src/gui/Event.cpp src/gui/TableLayout.cpp src/gui/Texture.hpp src/gui/Button.cpp src/gui/ComponentFactory.hpp src/gui/SwitchComponent.cpp src/gui/Event.hpp src/gui/TooltipManager.cpp src/gui/Filter.cpp src/gui/callback/CallbackBase.hpp src/gui/callback/Signal.hpp src/gui/callback/Callback.hpp src/gui/PainterGL/PainterGL.cpp src/gui/PainterGL/PainterGL.hpp src/gui/PainterGL/TextureGL.cpp src/gui/PainterGL/TextureGL.hpp src/gui/PainterGL/TextureManagerGL.hpp src/gui/PainterGL/TextureManagerGL.cpp src/gui/PainterSDL/PainterSDL.hpp src/gui/PainterSDL/PainterSDL.cpp src/gui/PainterSDL/TextureSDL.hpp src/gui/PainterSDL/TextureManagerSDL.cpp src/gui/PainterSDL/TextureManagerSDL.hpp src/gui/PainterSDL/TextureSDL.cpp src/lincity/loadsave.h src/lincity/simulate.h src/lincity/fileutil.h src/lincity/transport.h src/lincity/lclib.h src/lincity/init_game.h src/lincity/lintypes.h src/lincity/confw32.h src/lincity/lcconfig.h src/lincity/lctypes.h src/lincity/lintypes.cpp src/lincity/loadsave.cpp src/lincity/lc_locale.h src/lincity/old_ldsvguts.h src/lincity/lc_locale.cpp src/lincity/engine.cpp src/lincity/init_game.cpp src/lincity/stats.cpp src/lincity/engglobs.cpp src/lincity/transport.cpp src/lincity/engglobs.h src/lincity/power.h src/lincity/old_ldsvguts.cpp src/lincity/power.cpp src/lincity/lclib.cpp src/lincity/simulate.cpp src/lincity/stats.h src/lincity/lcstring.h src/lincity/engine.h src/lincity/fileutil.cpp src/lincity/lin-city.h src/lincity/modules/pottery.cpp src/lincity/modules/waterwell.cpp src/lincity/modules/residence.h src/lincity/modules/health_centre.cpp src/lincity/modules/firestation.h src/lincity/modules/waterwell.h src/lincity/modules/blacksmith.cpp src/lincity/modules/windmill.cpp src/lincity/modules/rocket_pad.cpp src/lincity/modules/solar_power.cpp src/lincity/modules/parkland.h src/lincity/modules/heavy_industry.cpp src/lincity/modules/solar_power.h src/lincity/modules/rail.h src/lincity/modules/cricket.cpp src/lincity/modules/recycle.cpp src/lincity/modules/university.cpp src/lincity/modules/water.cpp src/lincity/modules/monument.cpp src/lincity/modules/heavy_industry.h src/lincity/modules/windmill.h src/lincity/modules/coal_power.h src/lincity/modules/fire.cpp src/lincity/modules/pottery.h src/lincity/modules/fire.h src/lincity/modules/all_modules.h src/lincity/modules/university.h src/lincity/modules/shanty.h src/lincity/modules/port.cpp src/lincity/modules/track.h src/lincity/modules/shanty.cpp src/lincity/modules/coal_power.cpp src/lincity/modules/cricket.h src/lincity/modules/school.cpp src/lincity/modules/blacksmith.h src/lincity/modules/parkland.cpp src/lincity/modules/power_line.cpp src/lincity/modules/light_industry.h src/lincity/modules/organic_farm.h src/lincity/modules/tip.cpp src/lincity/modules/substation.cpp src/lincity/modules/coalmine.cpp src/lincity/modules/mill.cpp src/lincity/modules/tip.h src/lincity/modules/mill.h src/lincity/modules/port.h src/lincity/modules/commune.h src/lincity/modules/rail.cpp src/lincity/modules/firestation.cpp src/lincity/modules/road.h src/lincity/modules/organic_farm.cpp src/lincity/modules/market.h src/lincity/modules/recycle.h src/lincity/modules/power_line.h src/lincity/modules/market.cpp src/lincity/modules/water.h src/lincity/modules/oremine.cpp src/lincity/modules/school.h src/lincity/modules/residence.cpp src/lincity/modules/track.cpp src/lincity/modules/modules.h src/lincity/modules/commune.cpp src/lincity/modules/coalmine.h src/lincity/modules/monument.h src/lincity/modules/rocket_pad.h src/lincity/modules/road.cpp src/lincity/modules/health_centre.h src/lincity/modules/substation.h src/lincity/modules/oremine.h src/lincity/modules/light_industry.cpp src/lincity/../gui_interface/shared_globals.h src/lincity/../gui_interface/mps.h src/lincity/../gui_interface/screen_interface.h src/lincity/../gui_interface/pbar_interface.h src/lincity/../gui_interface/readpng.h src/lincity/../gui_interface/dialbox_interface.h src/lincity-ng/ErrorInterface.hpp src/lincity-ng/ButtonInterface.cpp src/lincity-ng/MpsInterface.cpp src/lincity-ng/MainMenu.hpp src/lincity-ng/Game.cpp src/lincity-ng/ErrorInterface.cpp src/lincity-ng/Game.hpp src/lincity-ng/MainMenu.cpp src/lincity-ng/ReadPngInterface.cpp src/lincity-ng/MapEdit.hpp src/lincity-ng/GameView.cpp src/lincity-ng/CheckButton.hpp src/lincity-ng/MainLincity.hpp src/lincity-ng/binreloc.c src/lincity-ng/MapPoint.hpp src/lincity-ng/Dialog.hpp src/lincity-ng/MiniMap.cpp src/lincity-ng/PBar.cpp src/lincity-ng/MapEdit.cpp src/lincity-ng/GameView.hpp src/lincity-ng/MiniMap.hpp src/lincity-ng/Dialog.cpp src/lincity-ng/PBar.hpp src/lincity-ng/MainLincity.cpp src/lincity-ng/CheckButton.cpp src/lincity-ng/Config.hpp src/lincity-ng/Sound.hpp src/lincity-ng/PbarInterface.cpp src/lincity-ng/Util.hpp src/lincity-ng/Config.cpp src/lincity-ng/Sound.cpp src/lincity-ng/Util.cpp src/lincity-ng/main.cpp src/lincity-ng/ButtonPanel.hpp src/lincity-ng/HelpWindow.cpp src/lincity-ng/Mps.hpp src/lincity-ng/Debug.hpp src/lincity-ng/readdir.cpp src/lincity-ng/EconomyGraph.hpp src/lincity-ng/ScreenInterface.cpp src/lincity-ng/TimerInterface.cpp src/lincity-ng/binreloc.h src/lincity-ng/Mps.cpp src/lincity-ng/main.hpp src/lincity-ng/HelpWindow.hpp src/lincity-ng/ButtonPanel.cpp src/lincity-ng/ScreenInterface.hpp src/lincity-ng/EconomyGraph.cpp src/lincity-ng/TimerInterface.hpp src/lincity-ng/readdir.hpp src/lincity-ng/Debug.cpp ...failed XGetText data/locale/messages.pot ... ...failed updating 1 target(s)... ...updated 129 target(s)... *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/lincity-ng *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/lincity-ng