D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/jag-0.3.8-3.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.f1Ay0y Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.8iDipg + umask 022 + cd /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build + rm -rf jag-0.3.8 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/jag-0.3.8.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd jag-0.3.8 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/jag-dist.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/jag-0.3.8-install-dist.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.62D6aK + umask 022 + cd /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd jag-0.3.8 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/lib64/qt5/bin/qmake libsuff=64 'QMAKE_CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' 'QMAKE_CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' 'QMAKE_LFLAGS=-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' QMAKE_STRIP= Info: creating stash file /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8/.qmake.stash + /usr/bin/make -O -j16 V=1 VERBOSE=1 /usr/lib64/qt5/bin/uic src/menu.ui -o src/ui_menu.h g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/gameitem.o src/gameitem.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/baseitem.o src/baseitem.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/gamestock.o src/gamestock.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/gamebackground.o src/gamebackground.cpp src/gamebackground.cpp: In member function 'void BgPrivate::init()': src/gamebackground.cpp:62:25: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 62 | currentBgIdx = qrand() % bgList.count(); | ~~~~~^~ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtGui/qpainter.h:43, from /usr/include/qt5/QtGui/QPainter:1, from src/gamebackground.h:29, from src/gamebackground.cpp:27: /usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ src/gamebackground.cpp: In member function 'void BgPrivate::loadTransBg()': src/gamebackground.cpp:76:27: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 76 | transBgIdx = qrand() % bgList.count(); | ~~~~~^~ /usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ src/gamebackground.cpp: In member function 'void BgPrivate::draw(QPainter&, const QRect&)': src/gamebackground.cpp:110:28: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 110 | int x = qrand() % 64; | ~~~~~^~ /usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ src/gamebackground.cpp:111:28: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 111 | int y = qrand() % 48; | ~~~~~^~ /usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/displaywrapper.o src/displaywrapper.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/bighammertool.o src/bighammertool.cpp In file included from src/bighammertool.cpp:31: src/scene_if.h: In member function 'int IScene::randomItemId()': src/scene_if.h:99:60: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 99 | inline int randomItemId() { return activeItems.at(qrand() % activeItems.count()); } | ~~~~~^~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from src/gametools.h:29, from src/bighammertool.h:29, from src/bighammertool.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/clocktool.o src/clocktool.cpp In file included from src/clocktool.cpp:30: src/scene_if.h: In member function 'int IScene::randomItemId()': src/scene_if.h:99:60: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 99 | inline int randomItemId() { return activeItems.at(qrand() % activeItems.count()); } | ~~~~~^~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from src/gametools.h:29, from src/clocktool.h:29, from src/clocktool.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/bombtool.o src/bombtool.cpp In file included from src/bombtool.cpp:31: src/scene_if.h: In member function 'int IScene::randomItemId()': src/scene_if.h:99:60: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 99 | inline int randomItemId() { return activeItems.at(qrand() % activeItems.count()); } | ~~~~~^~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from src/gametools.h:29, from src/bombtool.h:29, from src/bombtool.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/gamexml.o src/gamexml.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/consttools.o src/consttools.cpp In file included from src/consttools.cpp:31: src/scene_if.h: In member function 'int IScene::randomItemId()': src/scene_if.h:99:60: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 99 | inline int randomItemId() { return activeItems.at(qrand() % activeItems.count()); } | ~~~~~^~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from src/gametools.h:29, from src/consttools.h:29, from src/consttools.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/gamestatics.o src/gamestatics.cpp In file included from src/gamestatics.cpp:26: src/scene_if.h: In member function 'int IScene::randomItemId()': src/scene_if.h:99:60: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 99 | inline int randomItemId() { return activeItems.at(qrand() % activeItems.count()); } | ~~~~~^~ In file included from /usr/include/qt5/QtCore/qalgorithms.h:43, from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/QList:1, from src/scene_if.h:29: /usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ src/gamestatics.cpp: In member function 'void IScene::removeBlock(PlaceInfo&, int, int)': src/gamestatics.cpp:103:51: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 103 | createPixmapPopup(col2x(col), row2y(row), (qrand() % 3)-1, 10 + (qrand() % 5)-2, | ~~~~~^~ /usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ src/gamestatics.cpp:103:73: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 103 | createPixmapPopup(col2x(col), row2y(row), (qrand() % 3)-1, 10 + (qrand() % 5)-2, | ~~~~~^~ /usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ src/gamestatics.cpp: In member function 'void IScene::removeTarget(PlaceInfo&, int, int)': src/gamestatics.cpp:123:51: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 123 | createPixmapPopup(col2x(col), row2y(row), (qrand() % 3)-1, 10 + (qrand() % 5)-2, | ~~~~~^~ /usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ src/gamestatics.cpp:123:73: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 123 | createPixmapPopup(col2x(col), row2y(row), (qrand() % 3)-1, 10 + (qrand() % 5)-2, | ~~~~~^~ /usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/gamesound.o src/gamesound.cpp /usr/lib64/qt5/bin/rcc -name resources src/resources.qrc -o src/qrc_resources.cpp g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -dM -E -o src/moc_predefs.h /usr/lib64/qt5/mkspecs/features/data/dummy.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/gameprofile.o src/gameprofile.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/gametools.o src/gametools.cpp In file included from src/gametools.cpp:28: src/scene_if.h: In member function 'int IScene::randomItemId()': src/scene_if.h:99:60: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 99 | inline int randomItemId() { return activeItems.at(qrand() % activeItems.count()); } | ~~~~~^~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from src/gametools.h:29, from src/gametools.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/gamestat.o src/gamestat.cpp In file included from src/gamescene.h:41, from src/gamestat.cpp:26: src/scene_if.h: In member function 'int IScene::randomItemId()': src/scene_if.h:99:60: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 99 | inline int randomItemId() { return activeItems.at(qrand() % activeItems.count()); } | ~~~~~^~ In file included from /usr/include/qt5/QtCore/qalgorithms.h:43, from /usr/include/qt5/QtCore/qdebug.h:44, from /usr/include/qt5/QtCore/QDebug:1, from src/gamescene.h:29: /usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/gamewidget.o src/gamewidget.cpp In file included from src/gamescene.h:41, from src/gamewidget.cpp:28: src/scene_if.h: In member function 'int IScene::randomItemId()': src/scene_if.h:99:60: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 99 | inline int randomItemId() { return activeItems.at(qrand() % activeItems.count()); } | ~~~~~^~ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qgraphicsview.h:43, from /usr/include/qt5/QtWidgets/QGraphicsView:1, from src/gamewidget.h:29, from src/gamewidget.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ In file included from /usr/include/qt5/QtWidgets/QDialog:1, from src/gamemenu.h:29, from src/gamewidget.cpp:31: /usr/include/qt5/QtWidgets/qdialog.h: At global scope: /usr/include/qt5/QtWidgets/qdialog.h:95:17: warning: 'virtual int QDialog::exec()' was hidden [-Woverloaded-virtual=] 95 | virtual int exec(); | ^~~~ src/gamemenu.h:55:9: note: by 'int ConfirmDialog::exec(const QString&)' 55 | int exec(const QString &qs); | ^~~~ src/gamemenu.h:53:60: warning: 'constexpr QFlags<T>::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags<Qt::WindowType>::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 53 | ConfirmDialog(QWidget *parent = 0, Qt::WindowFlags f = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1307: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/scaler.o src/scaler.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/gamebonus.o src/gamebonus.cpp In file included from src/gamescene.h:41, from src/gamebonus.cpp:27: src/scene_if.h: In member function 'int IScene::randomItemId()': src/scene_if.h:99:60: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 99 | inline int randomItemId() { return activeItems.at(qrand() % activeItems.count()); } | ~~~~~^~ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtGui/qpixmap.h:43, from /usr/include/qt5/QtGui/QPixmap:1, from src/gamebonus.h:29, from src/gamebonus.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/qrc_resources.o src/qrc_resources.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/hammertool.o src/hammertool.cpp In file included from src/hammertool.cpp:31: src/scene_if.h: In member function 'int IScene::randomItemId()': src/scene_if.h:99:60: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 99 | inline int randomItemId() { return activeItems.at(qrand() % activeItems.count()); } | ~~~~~^~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from src/gametools.h:29, from src/hammertool.h:29, from src/hammertool.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8/src/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8 -I/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8 -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/15 -I/usr/include/c++/15/x86_64-mageia-linux -I/usr/include/c++/15/backward -I/usr/lib/gcc/x86_64-mageia-linux/15/include -I/usr/local/include -I/usr/include src/bombtool.h -o src/moc_bombtool.cpp /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8/src/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8 -I/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8 -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/15 -I/usr/include/c++/15/x86_64-mageia-linux -I/usr/include/c++/15/backward -I/usr/lib/gcc/x86_64-mageia-linux/15/include -I/usr/local/include -I/usr/include src/clocktool.h -o src/moc_clocktool.cpp /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8/src/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8 -I/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8 -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/15 -I/usr/include/c++/15/x86_64-mageia-linux -I/usr/include/c++/15/backward -I/usr/lib/gcc/x86_64-mageia-linux/15/include -I/usr/local/include -I/usr/include src/bighammertool.h -o src/moc_bighammertool.cpp /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8/src/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8 -I/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8 -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/15 -I/usr/include/c++/15/x86_64-mageia-linux -I/usr/include/c++/15/backward -I/usr/lib/gcc/x86_64-mageia-linux/15/include -I/usr/local/include -I/usr/include src/consttools.h -o src/moc_consttools.cpp /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8/src/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8 -I/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8 -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/15 -I/usr/include/c++/15/x86_64-mageia-linux -I/usr/include/c++/15/backward -I/usr/lib/gcc/x86_64-mageia-linux/15/include -I/usr/local/include -I/usr/include src/gameprofile.h -o src/moc_gameprofile.cpp /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8/src/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8 -I/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8 -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/15 -I/usr/include/c++/15/x86_64-mageia-linux -I/usr/include/c++/15/backward -I/usr/lib/gcc/x86_64-mageia-linux/15/include -I/usr/local/include -I/usr/include src/gamebonus.h -o src/moc_gamebonus.cpp /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8/src/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8 -I/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8 -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/15 -I/usr/include/c++/15/x86_64-mageia-linux -I/usr/include/c++/15/backward -I/usr/lib/gcc/x86_64-mageia-linux/15/include -I/usr/local/include -I/usr/include src/gamemenu.h -o src/moc_gamemenu.cpp /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8/src/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8 -I/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8 -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/15 -I/usr/include/c++/15/x86_64-mageia-linux -I/usr/include/c++/15/backward -I/usr/lib/gcc/x86_64-mageia-linux/15/include -I/usr/local/include -I/usr/include src/gamescene.h -o src/moc_gamescene.cpp /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8/src/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8 -I/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8 -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/15 -I/usr/include/c++/15/x86_64-mageia-linux -I/usr/include/c++/15/backward -I/usr/lib/gcc/x86_64-mageia-linux/15/include -I/usr/local/include -I/usr/include src/gametools.h -o src/moc_gametools.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/mixertool.o src/mixertool.cpp In file included from src/mixertool.cpp:30: src/scene_if.h: In member function 'int IScene::randomItemId()': src/scene_if.h:99:60: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 99 | inline int randomItemId() { return activeItems.at(qrand() % activeItems.count()); } | ~~~~~^~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from src/gametools.h:29, from src/mixertool.h:29, from src/mixertool.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ src/mixertool.cpp: In member function 'virtual bool MixerTool::checkToolClick()': src/mixertool.cpp:64:27: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 64 | int i1 = list.at(qrand() % list.count()); | ~~~~~^~ /usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8/src/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8 -I/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8 -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/15 -I/usr/include/c++/15/x86_64-mageia-linux -I/usr/include/c++/15/backward -I/usr/lib/gcc/x86_64-mageia-linux/15/include -I/usr/local/include -I/usr/include src/hammertool.h -o src/moc_hammertool.cpp /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8/src/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8 -I/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8 -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/15 -I/usr/include/c++/15/x86_64-mageia-linux -I/usr/include/c++/15/backward -I/usr/lib/gcc/x86_64-mageia-linux/15/include -I/usr/local/include -I/usr/include src/gamewidget.h -o src/moc_gamewidget.cpp /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8/src/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8 -I/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8 -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/15 -I/usr/include/c++/15/x86_64-mageia-linux -I/usr/include/c++/15/backward -I/usr/lib/gcc/x86_64-mageia-linux/15/include -I/usr/local/include -I/usr/include src/mixertool.h -o src/moc_mixertool.cpp /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8/src/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8 -I/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8 -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/15 -I/usr/include/c++/15/x86_64-mageia-linux -I/usr/include/c++/15/backward -I/usr/lib/gcc/x86_64-mageia-linux/15/include -I/usr/local/include -I/usr/include src/randomkilltool.h -o src/moc_randomkilltool.cpp /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8/src/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8 -I/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8 -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/15 -I/usr/include/c++/15/x86_64-mageia-linux -I/usr/include/c++/15/backward -I/usr/lib/gcc/x86_64-mageia-linux/15/include -I/usr/local/include -I/usr/include src/thundertool.h -o src/moc_thundertool.cpp /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8/src/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8 -I/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8 -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/15 -I/usr/include/c++/15/x86_64-mageia-linux -I/usr/include/c++/15/backward -I/usr/lib/gcc/x86_64-mageia-linux/15/include -I/usr/local/include -I/usr/include src/smallhammertool.h -o src/moc_smallhammertool.cpp /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8/src/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8 -I/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8 -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/15 -I/usr/include/c++/15/x86_64-mageia-linux -I/usr/include/c++/15/backward -I/usr/lib/gcc/x86_64-mageia-linux/15/include -I/usr/local/include -I/usr/include src/twintool.h -o src/moc_twintool.cpp /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8/src/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8 -I/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8 -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/15 -I/usr/include/c++/15/x86_64-mageia-linux -I/usr/include/c++/15/backward -I/usr/lib/gcc/x86_64-mageia-linux/15/include -I/usr/local/include -I/usr/include src/gamesound.h -o src/moc_gamesound.cpp /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8/src/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8 -I/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8 -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/15 -I/usr/include/c++/15/x86_64-mageia-linux -I/usr/include/c++/15/backward -I/usr/lib/gcc/x86_64-mageia-linux/15/include -I/usr/local/include -I/usr/include src/unblocktool.h -o src/moc_unblocktool.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/main.o src/main.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/randomkilltool.o src/randomkilltool.cpp In file included from src/randomkilltool.cpp:30: src/scene_if.h: In member function 'int IScene::randomItemId()': src/scene_if.h:99:60: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 99 | inline int randomItemId() { return activeItems.at(qrand() % activeItems.count()); } | ~~~~~^~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from src/gametools.h:29, from src/randomkilltool.h:29, from src/randomkilltool.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ src/randomkilltool.cpp: In member function 'virtual bool RandomKillTool::checkToolClick()': src/randomkilltool.cpp:64:27: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 64 | int i1 = list.at(qrand() % list.count()); | ~~~~~^~ /usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/smallhammertool.o src/smallhammertool.cpp In file included from src/smallhammertool.cpp:31: src/scene_if.h: In member function 'int IScene::randomItemId()': src/scene_if.h:99:60: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 99 | inline int randomItemId() { return activeItems.at(qrand() % activeItems.count()); } | ~~~~~^~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from src/gametools.h:29, from src/smallhammertool.h:29, from src/smallhammertool.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/twintool.o src/twintool.cpp In file included from src/twintool.cpp:30: src/scene_if.h: In member function 'int IScene::randomItemId()': src/scene_if.h:99:60: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 99 | inline int randomItemId() { return activeItems.at(qrand() % activeItems.count()); } | ~~~~~^~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from src/gametools.h:29, from src/twintool.h:29, from src/twintool.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/thundertool.o src/thundertool.cpp In file included from src/thundertool.cpp:31: src/scene_if.h: In member function 'int IScene::randomItemId()': src/scene_if.h:99:60: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 99 | inline int randomItemId() { return activeItems.at(qrand() % activeItems.count()); } | ~~~~~^~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from src/gametools.h:29, from src/thundertool.h:29, from src/thundertool.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/unblocktool.o src/unblocktool.cpp In file included from src/unblocktool.cpp:31: src/scene_if.h: In member function 'int IScene::randomItemId()': src/scene_if.h:99:60: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 99 | inline int randomItemId() { return activeItems.at(qrand() % activeItems.count()); } | ~~~~~^~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from src/gametools.h:29, from src/unblocktool.h:29, from src/unblocktool.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/gamecontrol.o src/gamecontrol.cpp In file included from src/gamescene.h:41, from src/gamecontrol.cpp:26: src/scene_if.h: In member function 'int IScene::randomItemId()': src/scene_if.h:99:60: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 99 | inline int randomItemId() { return activeItems.at(qrand() % activeItems.count()); } | ~~~~~^~ In file included from /usr/include/qt5/QtCore/qalgorithms.h:43, from /usr/include/qt5/QtCore/qdebug.h:44, from /usr/include/qt5/QtCore/QDebug:1, from src/gamescene.h:29: /usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ In file included from /usr/include/qt5/QtWidgets/QDialog:1, from src/gamemenu.h:29, from src/gamecontrol.cpp:28: /usr/include/qt5/QtWidgets/qdialog.h: At global scope: /usr/include/qt5/QtWidgets/qdialog.h:95:17: warning: 'virtual int QDialog::exec()' was hidden [-Woverloaded-virtual=] 95 | virtual int exec(); | ^~~~ src/gamemenu.h:55:9: note: by 'int ConfirmDialog::exec(const QString&)' 55 | int exec(const QString &qs); | ^~~~ src/gamemenu.h:53:60: warning: 'constexpr QFlags<T>::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags<Qt::WindowType>::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 53 | ConfirmDialog(QWidget *parent = 0, Qt::WindowFlags f = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1307: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ src/gamecontrol.cpp: In member function 'virtual void GameScene::mousePressEvent(QGraphicsSceneMouseEvent*)': src/gamecontrol.cpp:142:11: warning: 'void qsrand(uint)' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 142 | qsrand(QDateTime::currentDateTime().toTime_t()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1281:81: note: declared here 1281 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") void qsrand(uint seed); | ^~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/gamepaint.o src/gamepaint.cpp In file included from src/gamescene.h:41, from src/gamepaint.cpp:26: src/scene_if.h: In member function 'int IScene::randomItemId()': src/scene_if.h:99:60: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 99 | inline int randomItemId() { return activeItems.at(qrand() % activeItems.count()); } | ~~~~~^~ In file included from /usr/include/qt5/QtCore/qalgorithms.h:43, from /usr/include/qt5/QtCore/qdebug.h:44, from /usr/include/qt5/QtCore/QDebug:1, from src/gamescene.h:29: /usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ In file included from /usr/include/qt5/QtWidgets/QDialog:1, from src/gamemenu.h:29, from src/gamepaint.cpp:30: /usr/include/qt5/QtWidgets/qdialog.h: At global scope: /usr/include/qt5/QtWidgets/qdialog.h:95:17: warning: 'virtual int QDialog::exec()' was hidden [-Woverloaded-virtual=] 95 | virtual int exec(); | ^~~~ src/gamemenu.h:55:9: note: by 'int ConfirmDialog::exec(const QString&)' 55 | int exec(const QString &qs); | ^~~~ src/gamemenu.h:53:60: warning: 'constexpr QFlags<T>::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags<Qt::WindowType>::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 53 | ConfirmDialog(QWidget *parent = 0, Qt::WindowFlags f = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1307: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ src/gamepaint.cpp: In member function 'void GameScene::drawHint(QPainter&)': src/gamepaint.cpp:286:26: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 286 | static int idx1 = qrand() % 7, idx2 = qrand() % 7; | ~~~~~^~ /usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ src/gamepaint.cpp:286:46: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 286 | static int idx1 = qrand() % 7, idx2 = qrand() % 7; | ~~~~~^~ /usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ src/gamepaint.cpp:299:21: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 299 | idx1 = qrand() % 7; | ~~~~~^~ /usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ src/gamepaint.cpp:300:21: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 300 | idx2 = qrand() % 7; | ~~~~~^~ /usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/menucontrol.o src/menucontrol.cpp In file included from src/gamescene.h:41, from src/gamemenu.h:32, from src/menucontrol.cpp:26: src/scene_if.h: In member function 'int IScene::randomItemId()': src/scene_if.h:99:60: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 99 | inline int randomItemId() { return activeItems.at(qrand() % activeItems.count()); } | ~~~~~^~ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from src/gamemenu.h:29: /usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ /usr/include/qt5/QtWidgets/qdialog.h: At global scope: /usr/include/qt5/QtWidgets/qdialog.h:95:17: warning: 'virtual int QDialog::exec()' was hidden [-Woverloaded-virtual=] 95 | virtual int exec(); | ^~~~ src/gamemenu.h:55:9: note: by 'int ConfirmDialog::exec(const QString&)' 55 | int exec(const QString &qs); | ^~~~ src/gamemenu.h:53:60: warning: 'constexpr QFlags<T>::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags<Qt::WindowType>::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 53 | ConfirmDialog(QWidget *parent = 0, Qt::WindowFlags f = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1307: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/moc_bighammertool.o src/moc_bighammertool.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/moc_bombtool.o src/moc_bombtool.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/moc_gameprofile.o src/moc_gameprofile.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/moc_clocktool.o src/moc_clocktool.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/moc_gamebonus.o src/moc_gamebonus.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/moc_consttools.o src/moc_consttools.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/moc_gametools.o src/moc_gametools.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/moc_hammertool.o src/moc_hammertool.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/moc_gamewidget.o src/moc_gamewidget.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/moc_gamescene.o src/moc_gamescene.cpp In file included from src/gamescene.h:41, from src/moc_gamescene.cpp:10: src/scene_if.h: In member function 'int IScene::randomItemId()': src/scene_if.h:99:60: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 99 | inline int randomItemId() { return activeItems.at(qrand() % activeItems.count()); } | ~~~~~^~ In file included from /usr/include/qt5/QtCore/qalgorithms.h:43, from /usr/include/qt5/QtCore/qdebug.h:44, from /usr/include/qt5/QtCore/QDebug:1, from src/gamescene.h:29: /usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/moc_gamemenu.o src/moc_gamemenu.cpp In file included from src/gamescene.h:41, from src/gamemenu.h:32, from src/moc_gamemenu.cpp:10: src/scene_if.h: In member function 'int IScene::randomItemId()': src/scene_if.h:99:60: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 99 | inline int randomItemId() { return activeItems.at(qrand() % activeItems.count()); } | ~~~~~^~ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from src/gamemenu.h:29: /usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ /usr/include/qt5/QtWidgets/qdialog.h: At global scope: /usr/include/qt5/QtWidgets/qdialog.h:95:17: warning: 'virtual int QDialog::exec()' was hidden [-Woverloaded-virtual=] 95 | virtual int exec(); | ^~~~ src/gamemenu.h:55:9: note: by 'int ConfirmDialog::exec(const QString&)' 55 | int exec(const QString &qs); | ^~~~ src/gamemenu.h:53:60: warning: 'constexpr QFlags<T>::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags<Qt::WindowType>::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 53 | ConfirmDialog(QWidget *parent = 0, Qt::WindowFlags f = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1307: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/moc_mixertool.o src/moc_mixertool.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/moc_randomkilltool.o src/moc_randomkilltool.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/moc_gamesound.o src/moc_gamesound.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/moc_thundertool.o src/moc_thundertool.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/moc_smallhammertool.o src/moc_smallhammertool.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/moc_twintool.o src/moc_twintool.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/moc_unblocktool.o src/moc_unblocktool.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/gamemenu.o src/gamemenu.cpp In file included from src/gamescene.h:41, from src/gamemenu.h:32, from src/gamemenu.cpp:26: src/scene_if.h: In member function 'int IScene::randomItemId()': src/scene_if.h:99:60: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 99 | inline int randomItemId() { return activeItems.at(qrand() % activeItems.count()); } | ~~~~~^~ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from src/gamemenu.h:29: /usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ /usr/include/qt5/QtWidgets/qdialog.h: At global scope: /usr/include/qt5/QtWidgets/qdialog.h:95:17: warning: 'virtual int QDialog::exec()' was hidden [-Woverloaded-virtual=] 95 | virtual int exec(); | ^~~~ src/gamemenu.h:55:9: note: by 'int ConfirmDialog::exec(const QString&)' 55 | int exec(const QString &qs); | ^~~~ src/gamemenu.h:53:60: warning: 'constexpr QFlags<T>::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags<Qt::WindowType>::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 53 | ConfirmDialog(QWidget *parent = 0, Qt::WindowFlags f = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1307: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/SDL2 -I/usr/include/opus -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Isrc -Isrc -I/usr/lib64/qt5/mkspecs/linux-g++ -o src/gamescene.o src/gamescene.cpp In file included from src/gamescene.h:41, from src/gamescene.cpp:26: src/scene_if.h: In member function 'int IScene::randomItemId()': src/scene_if.h:99:60: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 99 | inline int randomItemId() { return activeItems.at(qrand() % activeItems.count()); } | ~~~~~^~ In file included from /usr/include/qt5/QtCore/qalgorithms.h:43, from /usr/include/qt5/QtCore/qdebug.h:44, from /usr/include/qt5/QtCore/QDebug:1, from src/gamescene.h:29: /usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ In file included from /usr/include/qt5/QtWidgets/QDialog:1, from src/gamemenu.h:29, from src/gamescene.cpp:30: /usr/include/qt5/QtWidgets/qdialog.h: At global scope: /usr/include/qt5/QtWidgets/qdialog.h:95:17: warning: 'virtual int QDialog::exec()' was hidden [-Woverloaded-virtual=] 95 | virtual int exec(); | ^~~~ src/gamemenu.h:55:9: note: by 'int ConfirmDialog::exec(const QString&)' 55 | int exec(const QString &qs); | ^~~~ src/gamemenu.h:53:60: warning: 'constexpr QFlags<T>::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags<Qt::WindowType>::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 53 | ConfirmDialog(QWidget *parent = 0, Qt::WindowFlags f = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1307: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ src/gamescene.cpp: In member function 'bool GameScene::initLevel(int)': src/gamescene.cpp:182:9: warning: 'void qsrand(uint)' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 182 | qsrand(QTime::currentTime().msec()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1281:81: note: declared here 1281 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") void qsrand(uint seed); | ^~~~~~ src/gamescene.cpp: In member function 'GameItem* GameScene::generateGameItem(const QSet<int>&)': src/gamescene.cpp:475:32: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 475 | int id = activeItems.at(qrand() % activeItems.count()); | ~~~~~^~ /usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ src/gamescene.cpp: In member function 'void GameScene::refillItems(int)': src/gamescene.cpp:702:45: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 702 | pi1.item->setId(activeItems.at(qrand() % activeItems.count())); | ~~~~~^~ /usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ src/gamescene.cpp:716:59: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 716 | pi2.item->setId(activeItems.at(qrand() % activeItems.count())); | ~~~~~^~ /usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ src/gamescene.cpp: In member function 'void GameScene::loadRandomBackground()': src/gamescene.cpp:1452:36: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 1452 | + entryList.at(qrand() % entryList.count())) | ~~~~~^~ /usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ g++ -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fPIE -pie -Wl,--as-needed -Wl,-z,now -Wl,-O1 -Wl,-rpath-link,/usr/lib64 -o jag src/baseitem.o src/bighammertool.o src/bombtool.o src/clocktool.o src/consttools.o src/displaywrapper.o src/gamebackground.o src/gamebonus.o src/gamecontrol.o src/gameitem.o src/gamemenu.o src/gamepaint.o src/gameprofile.o src/gamescene.o src/gamesound.o src/gamestat.o src/gamestatics.o src/gamestock.o src/gametools.o src/gamewidget.o src/gamexml.o src/hammertool.o src/main.o src/menucontrol.o src/mixertool.o src/randomkilltool.o src/scaler.o src/smallhammertool.o src/thundertool.o src/twintool.o src/unblocktool.o src/qrc_resources.o src/moc_bighammertool.o src/moc_bombtool.o src/moc_clocktool.o src/moc_consttools.o src/moc_gamebonus.o src/moc_gamemenu.o src/moc_gameprofile.o src/moc_gamescene.o src/moc_gamesound.o src/moc_gametools.o src/moc_gamewidget.o src/moc_hammertool.o src/moc_mixertool.o src/moc_randomkilltool.o src/moc_smallhammertool.o src/moc_thundertool.o src/moc_twintool.o src/moc_unblocktool.o -lX11 -lXrandr -lSDL2_mixer -lSDL2 /usr/lib64/libQt5OpenGL.so /usr/lib64/libQt5Widgets.so /usr/lib64/libQt5X11Extras.so /usr/lib64/libQt5Gui.so /usr/lib64/libQt5Xml.so /usr/lib64/libQt5Core.so -lGL -lpthread + pushd src/editor ~/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8/src/editor ~/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8 + /usr/lib64/qt5/bin/qmake libsuff=64 'QMAKE_CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' 'QMAKE_CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' 'QMAKE_LFLAGS=-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' QMAKE_STRIP= + /usr/bin/make -O -j16 V=1 VERBOSE=1 /usr/lib64/qt5/bin/uic levelpack.ui -o ui_levelpack.h /usr/lib64/qt5/bin/uic mainwindow.ui -o ui_mainwindow.h /usr/lib64/qt5/bin/rcc -name editor editor.qrc -o qrc_editor.cpp g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -dM -E -o moc_predefs.h /usr/lib64/qt5/mkspecs/features/data/dummy.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o qrc_editor.o qrc_editor.cpp /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8/src/editor/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8/src/editor -I/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8/src/editor -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/15 -I/usr/include/c++/15/x86_64-mageia-linux -I/usr/include/c++/15/backward -I/usr/lib/gcc/x86_64-mageia-linux/15/include -I/usr/local/include -I/usr/include levelwidget.h -o moc_levelwidget.cpp /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8/src/editor/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8/src/editor -I/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8/src/editor -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/15 -I/usr/include/c++/15/x86_64-mageia-linux -I/usr/include/c++/15/backward -I/usr/lib/gcc/x86_64-mageia-linux/15/include -I/usr/local/include -I/usr/include levelpack.h -o moc_levelpack.cpp /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8/src/editor/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8/src/editor -I/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8/src/editor -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/15 -I/usr/include/c++/15/x86_64-mageia-linux -I/usr/include/c++/15/backward -I/usr/lib/gcc/x86_64-mageia-linux/15/include -I/usr/local/include -I/usr/include mainwindow.h -o moc_mainwindow.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o levelwidget.o levelwidget.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o moc_levelwidget.o moc_levelwidget.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o moc_levelpack.o moc_levelpack.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o levelpack.o levelpack.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o main.o main.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o moc_mainwindow.o moc_mainwindow.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -std=gnu++17 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o mainwindow.o mainwindow.cpp mainwindow.cpp: In member function 'void MainWindow::fileCreateLevelPack()': mainwindow.cpp:241:48: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 241 | QString fs = files.takeAt(qrand() % files.count()); | ~~~~~^~ In file included from /usr/include/qt5/QtCore/qatomic.h:41, from /usr/include/qt5/QtCore/qvariant.h:43, from /usr/include/qt5/QtCore/QVariant:1, from ui_mainwindow.h:12, from mainwindow.h:29, from mainwindow.cpp:26: /usr/include/qt5/QtCore/qglobal.h:1282:80: note: declared here 1282 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ g++ -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread -fPIE -pie -Wl,--as-needed -Wl,-z,now -Wl,-O1 -Wl,-rpath-link,/usr/lib64 -o jag-editor levelpack.o levelwidget.o main.o mainwindow.o qrc_editor.o moc_levelpack.o moc_levelwidget.o moc_mainwindow.o /usr/lib64/libQt5Widgets.so /usr/lib64/libQt5X11Extras.so /usr/lib64/libQt5Gui.so /usr/lib64/libQt5Xml.so /usr/lib64/libQt5Core.so -lGL -lpthread + popd ~/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.LyAkqb + umask 022 + cd /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build + mkdir /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/BUILDROOT + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd jag-0.3.8 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/BUILDROOT 'INSTALL=/usr/bin/install -p' INSTALL_ROOT=/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/BUILDROOT /usr/lib64/qt5/bin/qmake -install qinstall -exe jag /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/BUILDROOT/usr/games/jag /usr/lib64/qt5/bin/qmake -install qinstall /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8/data /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/BUILDROOT/usr/share/games/jag/data /usr/lib64/qt5/bin/qmake -install qinstall /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8/dist/jag.desktop /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/BUILDROOT/usr/share/applications/jag.desktop /usr/lib64/qt5/bin/qmake -install qinstall /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8/dist/jag.png /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/BUILDROOT/usr/share/icons/hicolor/256x256/apps/jag.png /usr/lib64/qt5/bin/qmake -install qinstall /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8/dist/jag.appdata.xml /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/BUILDROOT/usr/share/metainfo/jag.appdata.xml + /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/BUILDROOT 'INSTALL=/usr/bin/install -p' -C src/editor INSTALL_ROOT=/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/BUILDROOT make: Entering directory '/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8/src/editor' /usr/lib64/qt5/bin/qmake -install qinstall -exe jag-editor /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/BUILDROOT/usr/games/jag-editor /usr/lib64/qt5/bin/qmake -install qinstall /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8/src/editor/images /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/BUILDROOT/usr/share/games/jag/editor/images make: Leaving directory '/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8/src/editor' + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 0.3.8-3.mga10 --unique-debug-suffix -0.3.8-3.mga10.x86_64 --unique-debug-src-base jag-0.3.8-3.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8 find-debuginfo: starting Extracting debug info from 2 files DWARF-compressing 2 files sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/jag-0.3.8-3.mga10.x86_64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Reading /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/SPECPARTS/rpm-debuginfo.specpart Processing files: jag-0.3.8-3.mga10.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.HaDb5d + umask 022 + cd /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build + cd jag-0.3.8 + DOCDIR=/home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/BUILDROOT/usr/share/doc/jag + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/BUILDROOT/usr/share/doc/jag + cp -pr /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/jag-0.3.8/README.md /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/BUILDROOT/usr/share/doc/jag + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(jag.desktop) jag = 0.3.8-3.mga10 jag(x86-64) = 0.3.8-3.mga10 metainfo() metainfo(jag.appdata.xml) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libQt5Core.so.5()(64bit) libQt5Core.so.5(Qt_5)(64bit) libQt5Core.so.5(Qt_5.15)(64bit) libQt5Gui.so.5()(64bit) libQt5Gui.so.5(Qt_5)(64bit) libQt5OpenGL.so.5()(64bit) libQt5OpenGL.so.5(Qt_5)(64bit) libQt5Widgets.so.5()(64bit) libQt5Widgets.so.5(Qt_5)(64bit) libQt5X11Extras.so.5()(64bit) libQt5X11Extras.so.5(Qt_5)(64bit) libSDL2-2.0.so.0()(64bit) libSDL2_mixer-2.0.so.0()(64bit) libX11.so.6()(64bit) libXrandr.so.2()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) Processing files: jag-data-0.3.8-3.mga10.noarch Provides: jag-data = 0.3.8-3.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: jag-debugsource-0.3.8-3.mga10.x86_64 Provides: jag-debugsource = 0.3.8-3.mga10 jag-debugsource(x86-64) = 0.3.8-3.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: jag-debuginfo-0.3.8-3.mga10.x86_64 Provides: debuginfo(build-id) = 6d7b35a5745645aebd8790d6955160f0cffc688c debuginfo(build-id) = 7421e54f0921a68715bc31e6d4f87983ae4df5a6 jag-debuginfo = 0.3.8-3.mga10 jag-debuginfo(x86-64) = 0.3.8-3.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: jag-debugsource(x86-64) = 0.3.8-3.mga10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/jag-0.3.8-3.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/jag-data-0.3.8-3.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/jag-debugsource-0.3.8-3.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/jag-debuginfo-0.3.8-3.mga10.x86_64.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.8C0rR9 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build + test -d /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build + rm -rf /home/pterjan/rpmbuild/BUILD/jag-0.3.8-build + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!