Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/SolarModel.spec'], chrootPath='/var/lib/mock/f41-build-828958-155922/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/SolarModel.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721174400 Wrote: /builddir/build/SRPMS/SolarModel-2.1-39.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/SolarModel.spec'], chrootPath='/var/lib/mock/f41-build-828958-155922/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/SolarModel.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721174400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.uLNKMB + umask 022 + cd /builddir/build/BUILD/SolarModel-2.1-build + test -d /builddir/build/BUILD/SolarModel-2.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/SolarModel-2.1-build + /usr/bin/rm -rf /builddir/build/BUILD/SolarModel-2.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/SolarModel-2.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/SolarModel-2.1-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qILdeq + umask 022 + cd /builddir/build/BUILD/SolarModel-2.1-build + cd /builddir/build/BUILD/SolarModel-2.1-build + rm -rf SolarModel_src + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/SolarModel_src_2_1.zip + STATUS=0 + '[' 0 -ne 0 ']' + cd SolarModel_src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (SolarModel-2.1-Fedora.patch):' Patch #0 (SolarModel-2.1-Fedora.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .Fedora --fuzz=0 patching file GameMain.cpp patching file GameMeasurer.cpp patching file Makefile + echo 'Patch #1 (SolarModel-2.1-irrlicht1.6.patch):' Patch #1 (SolarModel-2.1-irrlicht1.6.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .irrlicht1.6 --fuzz=0 patching file GameCore.cpp patching file GameMain.cpp patching file GameMeasurer.cpp + for i in _dev/*.txt "_dev/map/*.txt" + sed -i 's/\r//' _dev/Changelog.txt + for i in _dev/*.txt "_dev/map/*.txt" + sed -i 's/\r//' _dev/License.txt + for i in _dev/*.txt "_dev/map/*.txt" + sed -i 's/\r//' _dev/Readme.txt + for i in _dev/*.txt "_dev/map/*.txt" + sed -i 's/\r//' '_dev/map/Map format v1.0+.txt' '_dev/map/Map format v2.0+.txt' + iconv -o _dev/Changelog.txt.iso88591 -f iso88591 -t utf8 _dev/Changelog.txt + mv _dev/Changelog.txt.iso88591 _dev/Changelog.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.27dp6F + umask 022 + cd /builddir/build/BUILD/SolarModel-2.1-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd SolarModel_src + make -j4 g++ -ffast-math -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/irrlicht -c -o GameAnimatedMeshObject.o GameAnimatedMeshObject.cpp g++ -ffast-math -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/irrlicht -c -o GameBillboardObject.o GameBillboardObject.cpp g++ -ffast-math -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/irrlicht -c -o GameConfig.o GameConfig.cpp g++ -ffast-math -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/irrlicht -c -o GameCore.o GameCore.cpp In file included from GameCore.cpp:1: GameGlobals.h:28: warning: ignoring ‘#pragma comment ’ [-Wunknown-pragmas] 28 | #pragma comment(lib, "irrlicht.lib") In file included from GameBillboardObject.cpp:2: GameGlobals.h:28: warning: ignoring ‘#pragma comment ’ [-Wunknown-pragmas] 28 | #pragma comment(lib, "irrlicht.lib") In file included from GameConfig.cpp:1: GameGlobals.h:28: warning: ignoring ‘#pragma comment ’ [-Wunknown-pragmas] 28 | #pragma comment(lib, "irrlicht.lib") In file included from GameAnimatedMeshObject.cpp:1: GameGlobals.h:28: warning: ignoring ‘#pragma comment ’ [-Wunknown-pragmas] 28 | #pragma comment(lib, "irrlicht.lib") In file included from /usr/include/irrlicht/IXMLReader.h:9, from /usr/include/irrlicht/IFileSystem.h:9, from /usr/include/irrlicht/IQ3Shader.h:10, from /usr/include/irrlicht/IAnimatedMeshMD3.h:9, from /usr/include/irrlicht/irrlicht.h:58, from GameGlobals.h:22: /usr/include/irrlicht/irrXML.h:374:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 374 | xmlChar() {} | ^ In file included from /usr/include/irrlicht/IXMLReader.h:9, from /usr/include/irrlicht/IFileSystem.h:9, from /usr/include/irrlicht/IQ3Shader.h:10, from /usr/include/irrlicht/IAnimatedMeshMD3.h:9, from /usr/include/irrlicht/irrlicht.h:58, from GameGlobals.h:22: /usr/include/irrlicht/irrXML.h:374:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 374 | xmlChar() {} | ^ /usr/include/irrlicht/irrXML.h:374:27: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:374:27: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:375:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 375 | xmlChar(char in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:375:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 375 | xmlChar(char in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:375:27: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:375:27: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:376:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 376 | xmlChar(wchar_t in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:376:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 376 | xmlChar(wchar_t in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:376:27: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:376:27: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:385:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 385 | explicit xmlChar(unsigned char in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:385:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 385 | explicit xmlChar(unsigned char in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:385:36: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:385:36: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:386:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 386 | explicit xmlChar(unsigned short in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:386:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 386 | explicit xmlChar(unsigned short in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:386:36: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:386:36: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:387:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 387 | explicit xmlChar(unsigned int in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:387:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 387 | explicit xmlChar(unsigned int in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:387:36: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:387:36: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:388:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 388 | explicit xmlChar(unsigned long in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:388:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 388 | explicit xmlChar(unsigned long in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:388:36: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:388:36: note: remove the ‘< >’ In file included from /usr/include/irrlicht/IXMLReader.h:9, from /usr/include/irrlicht/IFileSystem.h:9, from /usr/include/irrlicht/IQ3Shader.h:10, from /usr/include/irrlicht/IAnimatedMeshMD3.h:9, from /usr/include/irrlicht/irrlicht.h:58, from GameGlobals.h:22: /usr/include/irrlicht/irrXML.h:374:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 374 | xmlChar() {} | ^ /usr/include/irrlicht/irrXML.h:374:27: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:375:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 375 | xmlChar(char in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:375:27: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:376:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 376 | xmlChar(wchar_t in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:376:27: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:385:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 385 | explicit xmlChar(unsigned char in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:385:36: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:386:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 386 | explicit xmlChar(unsigned short in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:386:36: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:387:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 387 | explicit xmlChar(unsigned int in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:387:36: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:388:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 388 | explicit xmlChar(unsigned long in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:388:36: note: remove the ‘< >’ In file included from /usr/include/irrlicht/IXMLReader.h:9, from /usr/include/irrlicht/IFileSystem.h:9, from /usr/include/irrlicht/IQ3Shader.h:10, from /usr/include/irrlicht/IAnimatedMeshMD3.h:9, from /usr/include/irrlicht/irrlicht.h:58, from GameGlobals.h:22: /usr/include/irrlicht/irrXML.h:374:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 374 | xmlChar() {} | ^ /usr/include/irrlicht/irrXML.h:374:27: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:375:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 375 | xmlChar(char in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:375:27: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:376:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 376 | xmlChar(wchar_t in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:376:27: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:385:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 385 | explicit xmlChar(unsigned char in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:385:36: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:386:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 386 | explicit xmlChar(unsigned short in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:386:36: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:387:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 387 | explicit xmlChar(unsigned int in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:387:36: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:388:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 388 | explicit xmlChar(unsigned long in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:388:36: note: remove the ‘< >’ GameConfig.cpp: In static member function ‘static void GameConfig::Load(irr::core::stringc, GameStruct*)’: GameConfig.cpp:18:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 18 | GameLog( "ERROR: \"%s\" not found.", fn.c_str() ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ GameConfig.cpp:53:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 53 | else GameLog( "ERROR: Unknown driver type used \"%s\"!", buf ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GameConfig.cpp:60:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 60 | else GameLog("ERROR: Width value cannot be \"%s\"!", buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GameConfig.cpp:67:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 67 | else GameLog("ERROR: Height value cannot be \"%s\"!", buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GameConfig.cpp:74:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 74 | else GameLog("ERROR: BitsPerPixel value can be 16, 24 or 32 only! Not \"%s\".", buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GameConfig.cpp:107:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 107 | GameLog("ERROR: ScreenshotQuality value must be in range from 1 to 100! Using default value."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GameConfig.cpp:114:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 114 | GameLog("ERROR: Unknown keyword \"%s\"", buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GameCore.cpp: In function ‘void GameCheckCompatibilities()’: GameCore.cpp:105:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 105 | GameLog("WARNING: Bump mapping not supported :("); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GameCore.cpp:112:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 112 | GameLog("WARNING: Parallax mapping not supported :("); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GameConfig.cpp:25:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 25 | fscanf(fp, "%s", buf); | ~~~~~~^~~~~~~~~~~~~~~ GameConfig.cpp:30:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 30 | fscanf(fp, "%s", buf); | ~~~~~~^~~~~~~~~~~~~~~ GameConfig.cpp:57:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 57 | fscanf(fp, "%s", buf); | ~~~~~~^~~~~~~~~~~~~~~ GameConfig.cpp:64:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 64 | fscanf(fp, "%s", buf); | ~~~~~~^~~~~~~~~~~~~~~ GameConfig.cpp:71:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 71 | fscanf(fp, "%s", buf); | ~~~~~~^~~~~~~~~~~~~~~ GameConfig.cpp:78:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 78 | fscanf(fp, "%s", buf); | ~~~~~~^~~~~~~~~~~~~~~ GameConfig.cpp:83:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 83 | fscanf(fp, "%s", buf); | ~~~~~~^~~~~~~~~~~~~~~ GameConfig.cpp:88:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 88 | fscanf(fp, "%s", buf); | ~~~~~~^~~~~~~~~~~~~~~ GameConfig.cpp:93:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 93 | fscanf(fp, "%s", buf); | ~~~~~~^~~~~~~~~~~~~~~ GameConfig.cpp:98:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 98 | fscanf(fp, "%s", buf); | ~~~~~~^~~~~~~~~~~~~~~ GameConfig.cpp:103:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 103 | fscanf(fp, "%s", buf); | ~~~~~~^~~~~~~~~~~~~~~ g++ -ffast-math -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/irrlicht -c -o GameEventReceiver.o GameEventReceiver.cpp g++ -ffast-math -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/irrlicht -c -o GameGlobals.o GameGlobals.cpp g++ -ffast-math -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/irrlicht -c -o GameLightObject.o GameLightObject.cpp In file included from GameEventReceiver.cpp:1: GameGlobals.h:28: warning: ignoring ‘#pragma comment ’ [-Wunknown-pragmas] 28 | #pragma comment(lib, "irrlicht.lib") In file included from GameGlobals.cpp:1: GameGlobals.h:28: warning: ignoring ‘#pragma comment ’ [-Wunknown-pragmas] 28 | #pragma comment(lib, "irrlicht.lib") In file included from GameLightObject.cpp:1: GameGlobals.h:28: warning: ignoring ‘#pragma comment ’ [-Wunknown-pragmas] 28 | #pragma comment(lib, "irrlicht.lib") In file included from /usr/include/irrlicht/IXMLReader.h:9, from /usr/include/irrlicht/IFileSystem.h:9, from /usr/include/irrlicht/IQ3Shader.h:10, from /usr/include/irrlicht/IAnimatedMeshMD3.h:9, from /usr/include/irrlicht/irrlicht.h:58, from GameGlobals.h:22: /usr/include/irrlicht/irrXML.h:374:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 374 | xmlChar() {} | ^ /usr/include/irrlicht/irrXML.h:374:27: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:375:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 375 | xmlChar(char in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:375:27: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:376:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 376 | xmlChar(wchar_t in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:376:27: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:385:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 385 | explicit xmlChar(unsigned char in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:385:36: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:386:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 386 | explicit xmlChar(unsigned short in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:386:36: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:387:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 387 | explicit xmlChar(unsigned int in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:387:36: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:388:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 388 | explicit xmlChar(unsigned long in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:388:36: note: remove the ‘< >’ In file included from /usr/include/irrlicht/IXMLReader.h:9, from /usr/include/irrlicht/IFileSystem.h:9, from /usr/include/irrlicht/IQ3Shader.h:10, from /usr/include/irrlicht/IAnimatedMeshMD3.h:9, from /usr/include/irrlicht/irrlicht.h:58, from GameGlobals.h:22: /usr/include/irrlicht/irrXML.h:374:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 374 | xmlChar() {} | ^ /usr/include/irrlicht/irrXML.h:374:27: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:375:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 375 | xmlChar(char in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:375:27: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:376:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 376 | xmlChar(wchar_t in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:376:27: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:385:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 385 | explicit xmlChar(unsigned char in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:385:36: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:386:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 386 | explicit xmlChar(unsigned short in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:386:36: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:387:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 387 | explicit xmlChar(unsigned int in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:387:36: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:388:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 388 | explicit xmlChar(unsigned long in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:388:36: note: remove the ‘< >’ In file included from /usr/include/irrlicht/IXMLReader.h:9, from /usr/include/irrlicht/IFileSystem.h:9, from /usr/include/irrlicht/IQ3Shader.h:10, from /usr/include/irrlicht/IAnimatedMeshMD3.h:9, from /usr/include/irrlicht/irrlicht.h:58, from GameGlobals.h:22: /usr/include/irrlicht/irrXML.h:374:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 374 | xmlChar() {} | ^ /usr/include/irrlicht/irrXML.h:374:27: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:375:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 375 | xmlChar(char in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:375:27: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:376:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 376 | xmlChar(wchar_t in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:376:27: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:385:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 385 | explicit xmlChar(unsigned char in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:385:36: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:386:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 386 | explicit xmlChar(unsigned short in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:386:36: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:387:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 387 | explicit xmlChar(unsigned int in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:387:36: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:388:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 388 | explicit xmlChar(unsigned long in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:388:36: note: remove the ‘< >’ g++ -ffast-math -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/irrlicht -c -o GameMain.o GameMain.cpp GameLightObject.cpp: In member function ‘irr::video::E_LIGHT_TYPE GameLightObject::GetLightTypeByName(irr::core::stringc)’: GameLightObject.cpp:37:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 37 | GameLog( "ERROR: Bad Light Type name \"%s\"", s.c_str() ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from GameMain.cpp:1: GameGlobals.h:28: warning: ignoring ‘#pragma comment ’ [-Wunknown-pragmas] 28 | #pragma comment(lib, "irrlicht.lib") g++ -ffast-math -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/irrlicht -c -o GameMap.o GameMap.cpp g++ -ffast-math -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/irrlicht -c -o GameMapDescription.o GameMapDescription.cpp In file included from GameMap.cpp:1: GameGlobals.h:28: warning: ignoring ‘#pragma comment ’ [-Wunknown-pragmas] 28 | #pragma comment(lib, "irrlicht.lib") In file included from GameMapDescription.cpp:1: GameGlobals.h:28: warning: ignoring ‘#pragma comment ’ [-Wunknown-pragmas] 28 | #pragma comment(lib, "irrlicht.lib") In file included from /usr/include/irrlicht/IXMLReader.h:9, from /usr/include/irrlicht/IFileSystem.h:9, from /usr/include/irrlicht/IQ3Shader.h:10, from /usr/include/irrlicht/IAnimatedMeshMD3.h:9, from /usr/include/irrlicht/irrlicht.h:58, from GameGlobals.h:22: /usr/include/irrlicht/irrXML.h:374:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 374 | xmlChar() {} | ^ /usr/include/irrlicht/irrXML.h:374:27: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:375:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 375 | xmlChar(char in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:375:27: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:376:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 376 | xmlChar(wchar_t in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:376:27: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:385:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 385 | explicit xmlChar(unsigned char in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:385:36: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:386:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 386 | explicit xmlChar(unsigned short in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:386:36: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:387:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 387 | explicit xmlChar(unsigned int in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:387:36: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:388:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 388 | explicit xmlChar(unsigned long in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:388:36: note: remove the ‘< >’ GameMain.cpp: In function ‘void GameInit()’: GameMain.cpp:112:35: warning: ‘virtual bool irr::io::IFileSystem::addZipFileArchive(const irr::c8*, bool, bool)’ is deprecated [-Wdeprecated-declarations] 112 | Game.FS->addZipFileArchive("/usr/share/SolarModel/data.dat", true, false); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/irrlicht/IFileSystem.h:228:39: note: declared here 228 | _IRR_DEPRECATED_ virtual bool addZipFileArchive(const c8* filename, bool ignoreCase=true, bool ignorePaths=true) | ^~~~~~~~~~~~~~~~~ GameMain.cpp: In function ‘void ProcessEvent_GUI_ButtonClicked_Options()’: GameMain.cpp:619:26: warning: unused variable ‘bCancel’ [-Wunused-variable] 619 | gui::IGUIButton *bCancel = Game.GUI->addButton( | ^~~~~~~ GameMain.cpp: In function ‘bool ProcessEvent_GUI_Dialog_Options(irr::SEvent)’: GameMain.cpp:722:24: warning: variable ‘sel’ set but not used [-Wunused-but-set-variable] 722 | int i, sel; | ^~~ GameMain.cpp: In function ‘void ProcessSysInfo()’: GameMain.cpp:1189:51: warning: ‘const wchar_t* irr::IOSOperator::getOperationSystemVersion() const’ is deprecated [-Wdeprecated-declarations] 1189 | Game.OS->getOperationSystemVersion() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/irrlicht/irrlicht.h:117: /usr/include/irrlicht/IOSOperator.h:23:41: note: declared here 23 | _IRR_DEPRECATED_ const wchar_t* getOperationSystemVersion() const | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/irrlicht/IXMLReader.h:9, from /usr/include/irrlicht/IFileSystem.h:9, from /usr/include/irrlicht/IQ3Shader.h:10, from /usr/include/irrlicht/IAnimatedMeshMD3.h:9, from /usr/include/irrlicht/irrlicht.h:58, from GameGlobals.h:22: /usr/include/irrlicht/irrXML.h:374:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 374 | xmlChar() {} | ^ /usr/include/irrlicht/irrXML.h:374:27: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:375:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 375 | xmlChar(char in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:375:27: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:376:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 376 | xmlChar(wchar_t in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:376:27: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:385:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 385 | explicit xmlChar(unsigned char in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:385:36: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:386:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 386 | explicit xmlChar(unsigned short in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:386:36: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:387:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 387 | explicit xmlChar(unsigned int in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:387:36: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:388:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 388 | explicit xmlChar(unsigned long in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:388:36: note: remove the ‘< >’ g++ -ffast-math -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/irrlicht -c -o GameObject.o GameObject.cpp In file included from /usr/include/irrlicht/IXMLReader.h:9, from /usr/include/irrlicht/IFileSystem.h:9, from /usr/include/irrlicht/IQ3Shader.h:10, from /usr/include/irrlicht/IAnimatedMeshMD3.h:9, from /usr/include/irrlicht/irrlicht.h:58, from GameGlobals.h:22: /usr/include/irrlicht/irrXML.h:374:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 374 | xmlChar() {} | ^ /usr/include/irrlicht/irrXML.h:374:27: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:375:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 375 | xmlChar(char in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:375:27: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:376:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 376 | xmlChar(wchar_t in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:376:27: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:385:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 385 | explicit xmlChar(unsigned char in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:385:36: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:386:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 386 | explicit xmlChar(unsigned short in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:386:36: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:387:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 387 | explicit xmlChar(unsigned int in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:387:36: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:388:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 388 | explicit xmlChar(unsigned long in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:388:36: note: remove the ‘< >’ In file included from GameObject.cpp:1: GameGlobals.h:28: warning: ignoring ‘#pragma comment ’ [-Wunknown-pragmas] 28 | #pragma comment(lib, "irrlicht.lib") GameMapDescription.cpp: In member function ‘void GameMapDescription::Load(irr::core::stringc)’: GameMapDescription.cpp:17:17: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 17 | GameLog("Map description %s loading started...", fn.c_str()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GameMapDescription.cpp:36:32: warning: enumeration value ‘EXN_NONE’ not handled in switch [-Wswitch] 36 | switch (xml->getNodeType()) | ^ GameMapDescription.cpp:36:32: warning: enumeration value ‘EXN_TEXT’ not handled in switch [-Wswitch] GameMapDescription.cpp:36:32: warning: enumeration value ‘EXN_COMMENT’ not handled in switch [-Wswitch] GameMapDescription.cpp:36:32: warning: enumeration value ‘EXN_CDATA’ not handled in switch [-Wswitch] GameMapDescription.cpp:36:32: warning: enumeration value ‘EXN_UNKNOWN’ not handled in switch [-Wswitch] GameMapDescription.cpp:79:17: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 79 | GameLog("Map description loaded."); | ^~~~~~~~~~~~~~~~~~~~~~~~~ GameMap.cpp: In member function ‘GameObject* GameMap::GetObjectByName(irr::core::stringc)’: GameMap.cpp:45:17: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 45 | GameLog("ERROR: object %s not found!", s.c_str()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GameMap.cpp: In member function ‘void GameMap::Load(irr::core::stringc)’: GameMap.cpp:62:17: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 62 | GameLog("Map %s loading started...", fn.c_str()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ GameMap.cpp:80:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 80 | GameLog("Skybox loaded."); | ^~~~~~~~~~~~~~~~ GameMap.cpp:89:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 89 | GameLog("Light %s loaded.", light->Name.c_str()); | ^~~~~~~~~~~~~~~~~~ GameMap.cpp:98:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 98 | GameLog("Billboard %s loaded.", billboard->Name.c_str()); | ^~~~~~~~~~~~~~~~~~~~~~ GameMap.cpp:109:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 109 | GameLog("AnimatedMesh %s loaded.", animatedmesh->Name.c_str()); | ^~~~~~~~~~~~~~~~~~~~~~~~~ GameMap.cpp:118:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 118 | GameLog("Pointcloud %s loaded.", pointcloud->Name.c_str()); | ^~~~~~~~~~~~~~~~~~~~~~~ GameMap.cpp:129:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 129 | GameLog("Mesh %s loaded.", mesh->Name.c_str()); | ^~~~~~~~~~~~~~~~~ GameMap.cpp:153:17: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 153 | GameLog("Map %s loaded.", fn.c_str()); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/irrlicht/IXMLReader.h:9, from /usr/include/irrlicht/IFileSystem.h:9, from /usr/include/irrlicht/IQ3Shader.h:10, from /usr/include/irrlicht/IAnimatedMeshMD3.h:9, from /usr/include/irrlicht/irrlicht.h:58, from GameGlobals.h:22: /usr/include/irrlicht/irrXML.h:374:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 374 | xmlChar() {} | ^ /usr/include/irrlicht/irrXML.h:374:27: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:375:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 375 | xmlChar(char in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:375:27: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:376:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 376 | xmlChar(wchar_t in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:376:27: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:385:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 385 | explicit xmlChar(unsigned char in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:385:36: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:386:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 386 | explicit xmlChar(unsigned short in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:386:36: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:387:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 387 | explicit xmlChar(unsigned int in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:387:36: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:388:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 388 | explicit xmlChar(unsigned long in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:388:36: note: remove the ‘< >’ GameObject.cpp: In member function ‘irr::video::E_MATERIAL_TYPE GameObject::GetMaterialTypeByName(irr::core::stringc)’: GameObject.cpp:57:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 57 | GameLog( "ERROR: Bad Material Type name \"%s\"", s.c_str() ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GameObject.cpp: In member function ‘irr::video::E_MATERIAL_FLAG GameObject::GetMaterialFlagByName(irr::core::stringc)’: GameObject.cpp:93:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 93 | GameLog( "ERROR: Bad Material Flag name \"%s\"", s.c_str() ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GameObject.cpp: In member function ‘bool GameObject::GetBooleanByName(irr::core::stringc)’: GameObject.cpp:110:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 110 | else GameLog( "ERROR: Bad boolean value \"%s\"", s.c_str() ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -ffast-math -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/irrlicht -c -o GameSkyboxObject.o GameSkyboxObject.cpp g++ -ffast-math -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/irrlicht -c -o GamePointcloudObject.o GamePointcloudObject.cpp In file included from GameSkyboxObject.cpp:1: GameGlobals.h:28: warning: ignoring ‘#pragma comment ’ [-Wunknown-pragmas] 28 | #pragma comment(lib, "irrlicht.lib") In file included from GamePointcloudObject.cpp:1: GameGlobals.h:28: warning: ignoring ‘#pragma comment ’ [-Wunknown-pragmas] 28 | #pragma comment(lib, "irrlicht.lib") In file included from /usr/include/irrlicht/IXMLReader.h:9, from /usr/include/irrlicht/IFileSystem.h:9, from /usr/include/irrlicht/IQ3Shader.h:10, from /usr/include/irrlicht/IAnimatedMeshMD3.h:9, from /usr/include/irrlicht/irrlicht.h:58, from GameGlobals.h:22: /usr/include/irrlicht/irrXML.h:374:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 374 | xmlChar() {} | ^ /usr/include/irrlicht/irrXML.h:374:27: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:375:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 375 | xmlChar(char in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:375:27: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:376:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 376 | xmlChar(wchar_t in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:376:27: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:385:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 385 | explicit xmlChar(unsigned char in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:385:36: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:386:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 386 | explicit xmlChar(unsigned short in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:386:36: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:387:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 387 | explicit xmlChar(unsigned int in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:387:36: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:388:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 388 | explicit xmlChar(unsigned long in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:388:36: note: remove the ‘< >’ In file included from /usr/include/irrlicht/IXMLReader.h:9, from /usr/include/irrlicht/IFileSystem.h:9, from /usr/include/irrlicht/IQ3Shader.h:10, from /usr/include/irrlicht/IAnimatedMeshMD3.h:9, from /usr/include/irrlicht/irrlicht.h:58, from GameGlobals.h:22: /usr/include/irrlicht/irrXML.h:374:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 374 | xmlChar() {} | ^ /usr/include/irrlicht/irrXML.h:374:27: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:375:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 375 | xmlChar(char in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:375:27: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:376:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 376 | xmlChar(wchar_t in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:376:27: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:385:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 385 | explicit xmlChar(unsigned char in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:385:36: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:386:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 386 | explicit xmlChar(unsigned short in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:386:36: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:387:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 387 | explicit xmlChar(unsigned int in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:387:36: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:388:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 388 | explicit xmlChar(unsigned long in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:388:36: note: remove the ‘< >’ g++ -ffast-math -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/irrlicht -c -o GameMeshObject.o GameMeshObject.cpp In file included from GameMeshObject.cpp:1: GameGlobals.h:28: warning: ignoring ‘#pragma comment ’ [-Wunknown-pragmas] 28 | #pragma comment(lib, "irrlicht.lib") g++ -ffast-math -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/irrlicht -c -o GameMeasurer.o GameMeasurer.cpp In file included from GameMeasurer.cpp:1: GameGlobals.h:28: warning: ignoring ‘#pragma comment ’ [-Wunknown-pragmas] 28 | #pragma comment(lib, "irrlicht.lib") In file included from /usr/include/irrlicht/IXMLReader.h:9, from /usr/include/irrlicht/IFileSystem.h:9, from /usr/include/irrlicht/IQ3Shader.h:10, from /usr/include/irrlicht/IAnimatedMeshMD3.h:9, from /usr/include/irrlicht/irrlicht.h:58, from GameGlobals.h:22: /usr/include/irrlicht/irrXML.h:374:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 374 | xmlChar() {} | ^ /usr/include/irrlicht/irrXML.h:374:27: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:375:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 375 | xmlChar(char in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:375:27: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:376:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 376 | xmlChar(wchar_t in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:376:27: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:385:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 385 | explicit xmlChar(unsigned char in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:385:36: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:386:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 386 | explicit xmlChar(unsigned short in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:386:36: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:387:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 387 | explicit xmlChar(unsigned int in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:387:36: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:388:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 388 | explicit xmlChar(unsigned long in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:388:36: note: remove the ‘< >’ In file included from /usr/include/irrlicht/IXMLReader.h:9, from /usr/include/irrlicht/IFileSystem.h:9, from /usr/include/irrlicht/IQ3Shader.h:10, from /usr/include/irrlicht/IAnimatedMeshMD3.h:9, from /usr/include/irrlicht/irrlicht.h:58, from GameGlobals.h:22: /usr/include/irrlicht/irrXML.h:374:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 374 | xmlChar() {} | ^ /usr/include/irrlicht/irrXML.h:374:27: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:375:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 375 | xmlChar(char in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:375:27: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:376:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 376 | xmlChar(wchar_t in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:376:27: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:385:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 385 | explicit xmlChar(unsigned char in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:385:36: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:386:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 386 | explicit xmlChar(unsigned short in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:386:36: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:387:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 387 | explicit xmlChar(unsigned int in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:387:36: note: remove the ‘< >’ /usr/include/irrlicht/irrXML.h:388:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 388 | explicit xmlChar(unsigned long in) : c(static_cast(in)) {} | ^ /usr/include/irrlicht/irrXML.h:388:36: note: remove the ‘< >’ GamePointcloudObject.cpp: In member function ‘void GamePointcloudObject::BuildPointcloud(float, float, float, float, float, float, int, int, irr::core::stringc, int, int, irr::core::stringc, int)’: GamePointcloudObject.cpp:192:16: warning: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 192 | delete t_vtx; | ^~~~~ GamePointcloudObject.cpp:106:68: note: returned from ‘void* operator new [](std::size_t)’ 106 | video::S3DVertex* t_vtx = new video::S3DVertex[ pointcount ]; | ^ In file included from /usr/include/wchar.h:1070, from /usr/include/irrlicht/irrTypes.h:114, from /usr/include/irrlicht/irrMath.h:9, from /usr/include/irrlicht/aabbox3d.h:8, from /usr/include/irrlicht/irrlicht.h:33: In function ‘int swprintf(wchar_t*, size_t, const wchar_t*, ...)’, inlined from ‘void ProcessSysInfo()’ at GameMain.cpp:1177:10: /usr/include/bits/wchar2.h:175:27: warning: pointer used after ‘void operator delete(void*)’ [-Wuse-after-free] 175 | return __swprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 176 | sz / sizeof (wchar_t), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/irrlicht/irrString.h:9, from /usr/include/irrlicht/matrix4.h:14, from /usr/include/irrlicht/SMaterial.h:9, from /usr/include/irrlicht/IMeshBuffer.h:9, from /usr/include/irrlicht/IDynamicMeshBuffer.h:8, from /usr/include/irrlicht/CDynamicMeshBuffer.h:8, from /usr/include/irrlicht/irrlicht.h:34: In member function ‘void irr::core::irrAllocator::internal_delete(void*) [with T = wchar_t]’, inlined from ‘void irr::core::irrAllocator::deallocate(T*) [with T = wchar_t]’ at /usr/include/irrlicht/irrAllocator.h:41:18, inlined from ‘irr::core::string::~string() [with T = wchar_t; TAlloc = irr::core::irrAllocator]’ at /usr/include/irrlicht/irrString.h:306:23, inlined from ‘const wchar_t* irr::IOSOperator::getOperationSystemVersion() const’ at /usr/include/irrlicht/IOSOperator.h:25:16, inlined from ‘void ProcessSysInfo()’ at GameMain.cpp:1177:10: /usr/include/irrlicht/irrAllocator.h:65:32: note: call to ‘void operator delete(void*)’ here 65 | operator delete(ptr); | ~~~~~~~~~~~~~~~^~~~~ GameMeasurer.cpp: In member function ‘void GameMeasurer::Open()’: GameMeasurer.cpp:46:17: warning: ISO C++ forbids converting a string constant to ‘wchar_t*’ [-Wwrite-strings] 46 | BodyAdd(L"Sun", "media_measurer/sun.jpg", 1392.0f, 0.0f); | ^~~~~~ GameMeasurer.cpp:46:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 46 | BodyAdd(L"Sun", "media_measurer/sun.jpg", 1392.0f, 0.0f); | ^~~~~~~~~~~~~~~~~~~~~~~~ GameMeasurer.cpp:47:17: warning: ISO C++ forbids converting a string constant to ‘wchar_t*’ [-Wwrite-strings] 47 | BodyAdd(L"Mercury", "media_measurer/mercury.jpg", 4.879f, 57930.0f); | ^~~~~~~~~~ GameMeasurer.cpp:47:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 47 | BodyAdd(L"Mercury", "media_measurer/mercury.jpg", 4.879f, 57930.0f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ GameMeasurer.cpp:48:17: warning: ISO C++ forbids converting a string constant to ‘wchar_t*’ [-Wwrite-strings] 48 | BodyAdd(L"Venus", "media_measurer/venus.jpg", 12.104f, 108200.0f); | ^~~~~~~~ GameMeasurer.cpp:48:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 48 | BodyAdd(L"Venus", "media_measurer/venus.jpg", 12.104f, 108200.0f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ GameMeasurer.cpp:49:17: warning: ISO C++ forbids converting a string constant to ‘wchar_t*’ [-Wwrite-strings] 49 | BodyAdd(L"Earth", "media_measurer/earth.jpg", 12.756f, 149600.0f); | ^~~~~~~~ GameMeasurer.cpp:49:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 49 | BodyAdd(L"Earth", "media_measurer/earth.jpg", 12.756f, 149600.0f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ GameMeasurer.cpp:50:17: warning: ISO C++ forbids converting a string constant to ‘wchar_t*’ [-Wwrite-strings] 50 | BodyAdd(L"Mars", "media_measurer/mars.jpg", 6.788f, 225000.0f); | ^~~~~~~ GameMeasurer.cpp:50:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 50 | BodyAdd(L"Mars", "media_measurer/mars.jpg", 6.788f, 225000.0f); | ^~~~~~~~~~~~~~~~~~~~~~~~~ GameMeasurer.cpp:51:17: warning: ISO C++ forbids converting a string constant to ‘wchar_t*’ [-Wwrite-strings] 51 | BodyAdd(L"Jupiter", "media_measurer/jupiter.jpg", 142.984f, 778330.0f); | ^~~~~~~~~~ GameMeasurer.cpp:51:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 51 | BodyAdd(L"Jupiter", "media_measurer/jupiter.jpg", 142.984f, 778330.0f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ GameMeasurer.cpp:52:17: warning: ISO C++ forbids converting a string constant to ‘wchar_t*’ [-Wwrite-strings] 52 | BodyAdd(L"Saturn", "media_measurer/saturn.jpg", 120.536f*2.3f, 1426980.0f); // *2.3 because it has rings (and 1024x1024) | ^~~~~~~~~ GameMeasurer.cpp:52:28: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 52 | BodyAdd(L"Saturn", "media_measurer/saturn.jpg", 120.536f*2.3f, 1426980.0f); // *2.3 because it has rings (and 1024x1024) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ GameMeasurer.cpp:53:17: warning: ISO C++ forbids converting a string constant to ‘wchar_t*’ [-Wwrite-strings] 53 | BodyAdd(L"Uranus", "media_measurer/uranus.jpg", 51.118f*2.0f, 2871000.0f); // *2.0 because it has rings (and 1024x1024) | ^~~~~~~~~ GameMeasurer.cpp:53:28: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 53 | BodyAdd(L"Uranus", "media_measurer/uranus.jpg", 51.118f*2.0f, 2871000.0f); // *2.0 because it has rings (and 1024x1024) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ GameMeasurer.cpp:54:17: warning: ISO C++ forbids converting a string constant to ‘wchar_t*’ [-Wwrite-strings] 54 | BodyAdd(L"Neptune", "media_measurer/neptune.jpg", 49.520f, 4497000.0f); | ^~~~~~~~~~ GameMeasurer.cpp:54:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 54 | BodyAdd(L"Neptune", "media_measurer/neptune.jpg", 49.520f, 4497000.0f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ GameMeasurer.cpp: In member function ‘void GameMeasurer::BodyUserPosChanged()’: GameMeasurer.cpp:259:34: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘irr::s32’ {aka ‘int’} [-Wsign-compare] 259 | if (tX+dim.Width > Game.Width) { if (canGotNewT) {t+="->"; goto gotNewT;} else tX=Game.Width-dim.Width; } | ~~~~~~~~~~~~~^~~~~~~~~~~~ Makefile:30: Building... g++ -I/usr/include/irrlicht -ffast-math -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer GameAnimatedMeshObject.o GameBillboardObject.o GameConfig.o GameCore.o GameEventReceiver.o GameGlobals.o GameLightObject.o GameMain.o GameMap.o GameMapDescription.o GameObject.o GameSkyboxObject.o GamePointcloudObject.o GameMeshObject.o GameMeasurer.o -o SolarModel -lIrrlicht -lGL -lGLU -lXxf86vm -lXext -lX11 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Iw89BE + umask 022 + cd /builddir/build/BUILD/SolarModel-2.1-build + '[' /builddir/build/BUILD/SolarModel-2.1-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/SolarModel-2.1-build/BUILDROOT ++ dirname /builddir/build/BUILD/SolarModel-2.1-build/BUILDROOT + mkdir -p /builddir/build/BUILD/SolarModel-2.1-build + mkdir /builddir/build/BUILD/SolarModel-2.1-build/BUILDROOT + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd SolarModel_src + rm -rf /builddir/build/BUILD/SolarModel-2.1-build/BUILDROOT + mkdir -p /builddir/build/BUILD/SolarModel-2.1-build/BUILDROOT/usr/bin + install -m0755 SolarModel /builddir/build/BUILD/SolarModel-2.1-build/BUILDROOT/usr/bin + mkdir -p /builddir/build/BUILD/SolarModel-2.1-build/BUILDROOT/usr/share/SolarModel + mkdir -p /builddir/build/BUILD/SolarModel-2.1-build/BUILDROOT/usr/share/pixmaps + install -p -m0644 /builddir/build/SOURCES/config.dat /builddir/build/BUILD/SolarModel-2.1-build/BUILDROOT/usr/share/SolarModel + install -p -m0644 /builddir/build/SOURCES/data.dat /builddir/build/BUILD/SolarModel-2.1-build/BUILDROOT/usr/share/SolarModel + install -p -m0644 /builddir/build/SOURCES/SolarModel.png /builddir/build/BUILD/SolarModel-2.1-build/BUILDROOT/usr/share/pixmaps + mkdir -p /builddir/build/BUILD/SolarModel-2.1-build/BUILDROOT/usr/share/applications + desktop-file-install --dir /builddir/build/BUILD/SolarModel-2.1-build/BUILDROOT/usr/share/applications /builddir/build/SOURCES/SolarModel.desktop + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 2.1-39.fc41 --unique-debug-suffix -2.1-39.fc41.riscv64 --unique-debug-src-base SolarModel-2.1-39.fc41.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/SolarModel-2.1-build/SolarModel_src find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/SolarModel-2.1-39.fc41.riscv64 182 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j4 /builddir/build/BUILD/SolarModel-2.1-build/BUILDROOT Scanned 14 directories and 35 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/SolarModel-2.1-build/SPECPARTS/rpm-debuginfo.specpart Processing files: SolarModel-2.1-39.fc41.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.KBQqPX + umask 022 + cd /builddir/build/BUILD/SolarModel-2.1-build + cd SolarModel_src + DOCDIR=/builddir/build/BUILD/SolarModel-2.1-build/BUILDROOT/usr/share/doc/SolarModel + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/SolarModel-2.1-build/BUILDROOT/usr/share/doc/SolarModel + cp -pr /builddir/build/BUILD/SolarModel-2.1-build/SolarModel_src/_dev/Changelog.txt /builddir/build/BUILD/SolarModel-2.1-build/BUILDROOT/usr/share/doc/SolarModel + cp -pr /builddir/build/BUILD/SolarModel-2.1-build/SolarModel_src/_dev/License.txt /builddir/build/BUILD/SolarModel-2.1-build/BUILDROOT/usr/share/doc/SolarModel + cp -pr /builddir/build/BUILD/SolarModel-2.1-build/SolarModel_src/_dev/Readme.txt /builddir/build/BUILD/SolarModel-2.1-build/BUILDROOT/usr/share/doc/SolarModel + cp -pr '/builddir/build/BUILD/SolarModel-2.1-build/SolarModel_src/_dev/map/Map format v1.0+.txt' /builddir/build/BUILD/SolarModel-2.1-build/BUILDROOT/usr/share/doc/SolarModel + cp -pr '/builddir/build/BUILD/SolarModel-2.1-build/SolarModel_src/_dev/map/Map format v2.0+.txt' /builddir/build/BUILD/SolarModel-2.1-build/BUILDROOT/usr/share/doc/SolarModel + cp -pr '/builddir/build/BUILD/SolarModel-2.1-build/SolarModel_src/_dev/num/Map positions.gif' /builddir/build/BUILD/SolarModel-2.1-build/BUILDROOT/usr/share/doc/SolarModel + cp -pr '/builddir/build/BUILD/SolarModel-2.1-build/SolarModel_src/_dev/num/Space distances and scales.xls' /builddir/build/BUILD/SolarModel-2.1-build/BUILDROOT/usr/share/doc/SolarModel + RPM_EC=0 ++ jobs -p + exit 0 Provides: SolarModel = 2.1-39.fc41 SolarModel(riscv-64) = 2.1-39.fc41 application() application(SolarModel.desktop) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libGL.so.1()(64bit) libGLU.so.1()(64bit) libIrrlicht.so.1()(64bit) libX11.so.6()(64bit) libXext.so.6()(64bit) libXxf86vm.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) rtld(GNU_HASH) Processing files: SolarModel-debugsource-2.1-39.fc41.riscv64 Provides: SolarModel-debugsource = 2.1-39.fc41 SolarModel-debugsource(riscv-64) = 2.1-39.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: SolarModel-debuginfo-2.1-39.fc41.riscv64 Provides: SolarModel-debuginfo = 2.1-39.fc41 SolarModel-debuginfo(riscv-64) = 2.1-39.fc41 debuginfo(build-id) = 74313e34b5037d01eeecb1300f0f811b1f1507af Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: SolarModel-debugsource(riscv-64) = 2.1-39.fc41 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/SolarModel-2.1-build/BUILDROOT Wrote: /builddir/build/RPMS/SolarModel-debugsource-2.1-39.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/SolarModel-debuginfo-2.1-39.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/SolarModel-2.1-39.fc41.riscv64.rpm Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.Iz3vAB + umask 022 + cd /builddir/build/BUILD/SolarModel-2.1-build + test -d /builddir/build/BUILD/SolarModel-2.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/SolarModel-2.1-build + rm -rf /builddir/build/BUILD/SolarModel-2.1-build + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0