Running phase: unpackPhase unpacking sources unpacking source archive /nix/store/n4m0ki5d97h1ik7qrx9vk9373d4w0xas-source source root is source Running phase: patchPhase patching sources Running phase: configurePhase configuring fixing cmake files... cmake flags: -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/h42r4lzp490n9a8caxphhyrwz7z4gzvp-tome2-2.4/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/h42r4lzp490n9a8caxphhyrwz7z4gzvp-tome2-2.4/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/h42r4lzp490n9a8caxphhyrwz7z4gzvp-tome2-2.4/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/h42r4lzp490n9a8caxphhyrwz7z4gzvp-tome2-2.4/share/doc/tome2 -DCMAKE_INSTALL_INFODIR=/nix/store/h42r4lzp490n9a8caxphhyrwz7z4gzvp-tome2-2.4/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/h42r4lzp490n9a8caxphhyrwz7z4gzvp-tome2-2.4/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/h42r4lzp490n9a8caxphhyrwz7z4gzvp-tome2-2.4/include -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/h42r4lzp490n9a8caxphhyrwz7z4gzvp-tome2-2.4/include -DCMAKE_INSTALL_SBINDIR=/nix/store/h42r4lzp490n9a8caxphhyrwz7z4gzvp-tome2-2.4/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/h42r4lzp490n9a8caxphhyrwz7z4gzvp-tome2-2.4/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/h42r4lzp490n9a8caxphhyrwz7z4gzvp-tome2-2.4/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_SYSROOT= -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/rkwixq2wda45gxx7zg1qh329zhkbvzzb-gcc-wrapper-11.3.0/bin/strip -DCMAKE_RANLIB=/nix/store/rkwixq2wda45gxx7zg1qh329zhkbvzzb-gcc-wrapper-11.3.0/bin/ranlib -DCMAKE_AR=/nix/store/rkwixq2wda45gxx7zg1qh329zhkbvzzb-gcc-wrapper-11.3.0/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/h42r4lzp490n9a8caxphhyrwz7z4gzvp-tome2-2.4 -DSYSTEM_INSTALL=ON -- The C compiler identification is GNU 11.3.0 -- The CXX compiler identification is GNU 11.3.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /nix/store/rkwixq2wda45gxx7zg1qh329zhkbvzzb-gcc-wrapper-11.3.0/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /nix/store/rkwixq2wda45gxx7zg1qh329zhkbvzzb-gcc-wrapper-11.3.0/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) -- Found Boost: /nix/store/mh7aagvrb1md58jcc8adgxy2gk7dhqk7-boost-1.79.0-dev/lib/cmake/Boost-1.79.0/BoostConfig.cmake (found suitable version "1.79.0", minimum required is "1.54.0") found components: system filesystem -- Found X11: /nix/store/66chy1j347qi318s1dgigh696p3v3lqr-xorgproto-2021.5/include -- Looking for XOpenDisplay in /nix/store/n6h2zd8ycw64rpvjnmxjpfz10a888c9a-libX11-1.8.1/lib/libX11.so -- Looking for XOpenDisplay in /nix/store/n6h2zd8ycw64rpvjnmxjpfz10a888c9a-libX11-1.8.1/lib/libX11.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Some or all of the gtk libraries were not found. (missing: GTK2_GTK_LIBRARY GTK2_GTK_INCLUDE_DIR GTK2_GDK_INCLUDE_DIR GTK2_GDKCONFIG_INCLUDE_DIR GTK2_GDK_LIBRARY GTK2_GLIB_INCLUDE_DIR GTK2_GLIBCONFIG_INCLUDE_DIR GTK2_GLIB_LIBRARY) -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Could NOT find SDL (missing: SDL_LIBRARY SDL_INCLUDE_DIR) -- Looking for cbreak in /nix/store/qfbw9zmdlllswnx3vqkxgz6dzwhlv985-ncurses-6.3-p20220507/lib/libncurses.so -- Looking for cbreak in /nix/store/qfbw9zmdlllswnx3vqkxgz6dzwhlv985-ncurses-6.3-p20220507/lib/libncurses.so - found -- Looking for nodelay in /nix/store/qfbw9zmdlllswnx3vqkxgz6dzwhlv985-ncurses-6.3-p20220507/lib/libncurses.so -- Looking for nodelay in /nix/store/qfbw9zmdlllswnx3vqkxgz6dzwhlv985-ncurses-6.3-p20220507/lib/libncurses.so - found -- Found Curses: /nix/store/qfbw9zmdlllswnx3vqkxgz6dzwhlv985-ncurses-6.3-p20220507/lib/libncurses.so -- The following packages have been found: * Boost (required version >= 1.54.0) * X11 * Threads * Curses -- The following packages have not been found: * GTK2 * SDL -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_TESTING CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_INSTALL_BINDIR CMAKE_INSTALL_DOCDIR CMAKE_INSTALL_INCLUDEDIR CMAKE_INSTALL_INFODIR CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_LOCALEDIR CMAKE_INSTALL_MANDIR CMAKE_INSTALL_OLDINCLUDEDIR CMAKE_INSTALL_SBINDIR CMAKE_POLICY_DEFAULT_CMP0025 -- Build files have been written to: /build/source/build cmake: enabled parallel building Running phase: buildPhase building build flags: -j48 SHELL=/nix/store/mysyx2ms2gm0n425gsz1hvwfk1jn1f9c-bash-5.1-p16/bin/bash [ 1%] Building CXX object src/CMakeFiles/game_main.dir/main.cc.o [ 1%] Building CXX object src/squelch/CMakeFiles/squelch.dir/automatizer.cc.o [ 2%] Building CXX object src/squelch/CMakeFiles/squelch.dir/condition_metadata.cc.o [ 3%] Building CXX object src/CMakeFiles/game.dir/bldg.cc.o [ 4%] Building CXX object src/squelch/CMakeFiles/squelch.dir/condition.cc.o [ 4%] Building CXX object src/CMakeFiles/game.dir/birth.cc.o [ 5%] Building CXX object src/squelch/CMakeFiles/squelch.dir/cursor.cc.o [ 6%] Building CXX object src/CMakeFiles/game.dir/cmd3.cc.o [ 6%] Building CXX object src/squelch/CMakeFiles/squelch.dir/object_status.cc.o [ 7%] Building CXX object src/CMakeFiles/game.dir/cave.cc.o [ 8%] Building CXX object src/CMakeFiles/game.dir/cmd1.cc.o [ 10%] Building CXX object src/squelch/CMakeFiles/squelch.dir/rule.cc.o [ 10%] Building CXX object src/squelch/CMakeFiles/squelch.dir/tree_printer.cc.o [ 9%] Building CXX object src/CMakeFiles/game.dir/cmd2.cc.o [ 11%] Building CXX object src/CMakeFiles/game.dir/cmd4.cc.o [ 12%] Building CXX object src/CMakeFiles/game.dir/cmd6.cc.o [ 13%] Building CXX object src/CMakeFiles/game.dir/cmd5.cc.o [ 14%] Building CXX object src/CMakeFiles/game.dir/cmd7.cc.o [ 15%] Building CXX object src/CMakeFiles/game.dir/corrupt.cc.o [ 15%] Building CXX object src/CMakeFiles/game.dir/device_allocation.cc.o [ 16%] Building CXX object src/CMakeFiles/game.dir/game.cc.o [ 17%] Building CXX object src/CMakeFiles/game.dir/dice.cc.o [ 18%] Building CXX object src/CMakeFiles/game.dir/gen_maze.cc.o [ 19%] Building CXX object src/CMakeFiles/game.dir/dungeon.cc.o [ 20%] Building CXX object src/CMakeFiles/game.dir/files.cc.o [ 21%] Building CXX object src/CMakeFiles/game.dir/generate.cc.o [ 22%] Building CXX object src/CMakeFiles/game.dir/gods.cc.o [ 22%] Building CXX object src/CMakeFiles/game.dir/gen_evol.cc.o [ 23%] Building CXX object src/CMakeFiles/game.dir/help.cc.o [ 24%] Building CXX object src/CMakeFiles/game.dir/hiscore.cc.o [ 25%] Building CXX object src/CMakeFiles/game.dir/init1.cc.o [ 25%] Building CXX object src/CMakeFiles/game.dir/hooks.cc.o [ 26%] Building CXX object src/CMakeFiles/game.dir/joke.cc.o [ 27%] Building CXX object src/CMakeFiles/game.dir/level_marker.cc.o [ 28%] Building CXX object src/CMakeFiles/game.dir/init2.cc.o [ 28%] Building CXX object src/CMakeFiles/game.dir/levels.cc.o [ 29%] Building CXX object src/CMakeFiles/game.dir/loadsave.cc.o [ 30%] Building CXX object src/CMakeFiles/game.dir/melee2.cc.o [ 31%] Building CXX object src/CMakeFiles/game.dir/melee1.cc.o [ 32%] Building CXX object src/CMakeFiles/game.dir/message.cc.o [ 32%] Building CXX object src/CMakeFiles/game.dir/messages.cc.o [ 33%] Building CXX object src/CMakeFiles/game.dir/lua_bind.cc.o [ 34%] Building CXX object src/CMakeFiles/game.dir/modules.cc.o [ 35%] Building CXX object src/CMakeFiles/game.dir/monster_type.cc.o [ 36%] Building CXX object src/CMakeFiles/game.dir/monster_spell.cc.o [ 36%] Building CXX object src/CMakeFiles/game.dir/monster1.cc.o [ 37%] Building CXX object src/CMakeFiles/game.dir/monster2.cc.o [ 38%] Building CXX object src/CMakeFiles/game.dir/mimic.cc.o [ 39%] Building CXX object src/CMakeFiles/game.dir/monster3.cc.o [ 40%] Building CXX object src/CMakeFiles/game.dir/notes.cc.o [ 41%] Building CXX object src/CMakeFiles/game.dir/object1.cc.o [ 42%] Building CXX object src/CMakeFiles/game.dir/object2.cc.o [ 42%] Building CXX object src/CMakeFiles/game.dir/object_filter.cc.o [ 43%] Building CXX object src/CMakeFiles/game.dir/object_flag_meta.cc.o [ 44%] Building CXX object src/CMakeFiles/game.dir/options.cc.o [ 45%] Building CXX object src/CMakeFiles/game.dir/player_type.cc.o [ 46%] Building CXX object src/CMakeFiles/game.dir/powers.cc.o [ 46%] Building CXX object src/CMakeFiles/game.dir/q_betwen.cc.o [ 47%] Building CXX object src/CMakeFiles/game.dir/q_bounty.cc.o [ 48%] Building CXX object src/CMakeFiles/game.dir/q_dragons.cc.o In file included from /build/source/src/../vendor/jsoncons/jsoncons/json_deserializer.hpp:17, from /build/source/src/../vendor/jsoncons/jsoncons/json.hpp:24, from /build/source/src/include/tome/squelch/automatizer.hpp:5, from /build/source/src/squelch/automatizer.cc:2: /build/source/src/../vendor/jsoncons/jsoncons/json_input_handler.hpp:16:60: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 16 | uint64_t string_to_uinteger(const CharT *s, size_t length) throw(std::overflow_error) | ^~~~~ /build/source/src/../vendor/jsoncons/jsoncons/json_input_handler.hpp:40:72: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 40 | int64_t string_to_integer(bool has_neg, const CharT *s, size_t length) throw(std::overflow_error) | ^~~~~ In file included from /build/source/src/../vendor/jsoncons/jsoncons/json_reader.hpp:20, from /build/source/src/../vendor/jsoncons/jsoncons/json.hpp:25, from /build/source/src/include/tome/squelch/automatizer.hpp:5, from /build/source/src/squelch/automatizer.cc:2: /build/source/src/../vendor/jsoncons/jsoncons/parse_error_handler.hpp:107:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 107 | const basic_parsing_context& context) throw (parse_exception) | ^~~~~ /build/source/src/../vendor/jsoncons/jsoncons/parse_error_handler.hpp:113:61: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 113 | const basic_parsing_context& context) throw (parse_exception) | ^~~~~ /build/source/src/../vendor/jsoncons/jsoncons/parse_error_handler.hpp:119:67: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 119 | const basic_parsing_context& context) throw (parse_exception) | ^~~~~ /build/source/src/../vendor/jsoncons/jsoncons/parse_error_handler.hpp:127:74: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 127 | const basic_parsing_context& context) throw (parse_exception) = 0; | ^~~~~ /build/source/src/../vendor/jsoncons/jsoncons/parse_error_handler.hpp:130:72: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 130 | const basic_parsing_context& context) throw (parse_exception) = 0; | ^~~~~ /build/source/src/../vendor/jsoncons/jsoncons/parse_error_handler.hpp:133:78: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 133 | const basic_parsing_context& context) throw (parse_exception) | ^~~~~ /build/source/src/../vendor/jsoncons/jsoncons/parse_error_handler.hpp:150:74: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 150 | const basic_parsing_context& context) throw (parse_exception) | ^~~~~ /build/source/src/../vendor/jsoncons/jsoncons/parse_error_handler.hpp:156:72: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 156 | const basic_parsing_context& context) throw (parse_exception) | ^~~~~ [ 49%] Building CXX object src/CMakeFiles/game.dir/q_eol.cc.o [ 50%] Building CXX object src/CMakeFiles/game.dir/q_evil.cc.o In file included from /build/source/src/../vendor/jsoncons/jsoncons/json_deserializer.hpp:17, from /build/source/src/../vendor/jsoncons/jsoncons/json.hpp:24, from /build/source/src/include/tome/squelch/condition.hpp:9, from /build/source/src/squelch/condition_metadata.cc:2: /build/source/src/../vendor/jsoncons/jsoncons/json_input_handler.hpp:16:60: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 16 | uint64_t string_to_uinteger(const CharT *s, size_t length) throw(std::overflow_error) | ^~~~~ /build/source/src/../vendor/jsoncons/jsoncons/json_input_handler.hpp:40:72: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 40 | int64_t string_to_integer(bool has_neg, const CharT *s, size_t length) throw(std::overflow_error) | ^~~~~ In file included from /build/source/src/../vendor/jsoncons/jsoncons/json_reader.hpp:20, from /build/source/src/../vendor/jsoncons/jsoncons/json.hpp:25, from /build/source/src/include/tome/squelch/condition.hpp:9, from /build/source/src/squelch/condition_metadata.cc:2: /build/source/src/../vendor/jsoncons/jsoncons/parse_error_handler.hpp:107:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 107 | const basic_parsing_context& context) throw (parse_exception) | ^~~~~ /build/source/src/../vendor/jsoncons/jsoncons/parse_error_handler.hpp:113:61: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 113 | const basic_parsing_context& context) throw (parse_exception) | ^~~~~ /build/source/src/../vendor/jsoncons/jsoncons/parse_error_handler.hpp:119:67: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 119 | const basic_parsing_context& context) throw (parse_exception) | ^~~~~ /build/source/src/../vendor/jsoncons/jsoncons/parse_error_handler.hpp:127:74: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 127 | const basic_parsing_context& context) throw (parse_exception) = 0; | ^~~~~ /build/source/src/../vendor/jsoncons/jsoncons/parse_error_handler.hpp:130:72: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 130 | const basic_parsing_context& context) throw (parse_exception) = 0; | ^~~~~ /build/source/src/../vendor/jsoncons/jsoncons/parse_error_handler.hpp:133:78: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 133 | const basic_parsing_context& context) throw (parse_exception) | ^~~~~ /build/source/src/../vendor/jsoncons/jsoncons/parse_error_handler.hpp:150:74: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 150 | const basic_parsing_context& context) throw (parse_exception) | ^~~~~ /build/source/src/../vendor/jsoncons/jsoncons/parse_error_handler.hpp:156:72: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 156 | const basic_parsing_context& context) throw (parse_exception) | ^~~~~ [ 51%] Building CXX object src/CMakeFiles/game.dir/q_fireprof.cc.o [ 51%] Building CXX object src/CMakeFiles/game.dir/q_god.cc.o /build/source/src/object2.cc: In function 'bool_ object_similar(const object_type*, const object_type*)': /build/source/src/object2.cc:1665:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 1665 | if (o_ptr->timeout != j_ptr->timeout) return (FALSE); | ^~ /build/source/src/object2.cc:1671:9: note: here 1671 | case TV_BOLT: | ^~~~ [ 52%] Building CXX object src/CMakeFiles/game.dir/q_haunted.cc.o /build/source/src/generate.cc: In function 'void build_recursive_room(int, int, int, int, int)': /build/source/src/generate.cc:5476:31: warning: this statement may fall through [-Wimplicit-fallthrough=] 5476 | power += 2; | ~~~~~~^~~~ /build/source/src/generate.cc:5482:9: note: here 5482 | case 4: | ^~~~ In file included from /build/source/src/../vendor/jsoncons/jsoncons/json_deserializer.hpp:17, from /build/source/src/../vendor/jsoncons/jsoncons/json.hpp:24, from /build/source/src/include/tome/squelch/rule.hpp:4, from /build/source/src/squelch/rule.cc:2: /build/source/src/../vendor/jsoncons/jsoncons/json_input_handler.hpp:16:60: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 16 | uint64_t string_to_uinteger(const CharT *s, size_t length) throw(std::overflow_error) | ^~~~~ /build/source/src/../vendor/jsoncons/jsoncons/json_input_handler.hpp:40:72: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 40 | int64_t string_to_integer(bool has_neg, const CharT *s, size_t length) throw(std::overflow_error) | ^~~~~ In file included from /build/source/src/../vendor/jsoncons/jsoncons/json_reader.hpp:20, from /build/source/src/../vendor/jsoncons/jsoncons/json.hpp:25, from /build/source/src/include/tome/squelch/rule.hpp:4, from /build/source/src/squelch/rule.cc:2: /build/source/src/../vendor/jsoncons/jsoncons/parse_error_handler.hpp:107:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 107 | const basic_parsing_context& context) throw (parse_exception) | ^~~~~ /build/source/src/../vendor/jsoncons/jsoncons/parse_error_handler.hpp:113:61: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 113 | const basic_parsing_context& context) throw (parse_exception) | ^~~~~ /build/source/src/../vendor/jsoncons/jsoncons/parse_error_handler.hpp:119:67: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 119 | const basic_parsing_context& context) throw (parse_exception) | ^~~~~ /build/source/src/../vendor/jsoncons/jsoncons/parse_error_handler.hpp:127:74: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 127 | const basic_parsing_context& context) throw (parse_exception) = 0; | ^~~~~ /build/source/src/../vendor/jsoncons/jsoncons/parse_error_handler.hpp:130:72: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 130 | const basic_parsing_context& context) throw (parse_exception) = 0; | ^~~~~ /build/source/src/../vendor/jsoncons/jsoncons/parse_error_handler.hpp:133:78: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 133 | const basic_parsing_context& context) throw (parse_exception) | ^~~~~ /build/source/src/../vendor/jsoncons/jsoncons/parse_error_handler.hpp:150:74: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 150 | const basic_parsing_context& context) throw (parse_exception) | ^~~~~ /build/source/src/../vendor/jsoncons/jsoncons/parse_error_handler.hpp:156:72: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 156 | const basic_parsing_context& context) throw (parse_exception) | ^~~~~ [ 53%] Building CXX object src/CMakeFiles/game.dir/q_hobbit.cc.o [ 54%] Linking CXX static library libgame_main.a [ 54%] Built target game_main [ 55%] Building CXX object src/CMakeFiles/game.dir/q_invas.cc.o /build/source/src/loadsave.cc: In instantiation of 'void {anonymous}::do_flag_set(flag_set*, ls_flag_t) [with unsigned int Tiers = 6]': /build/source/src/loadsave.cc:391:13: required from here /build/source/src/loadsave.cc:280:24: error: invalid conversion from 'uint32_t*' {aka 'unsigned int*'} to 'u32b*' {aka 'long unsigned int*'} [-fpermissive] 280 | do_u32b(&(*flags)[i], flag); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~ | | | uint32_t* {aka unsigned int*} /build/source/src/loadsave.cc:190:27: note: initializing argument 1 of 'void do_u32b(u32b*, ls_flag_t)' 190 | static void do_u32b(u32b *ip, ls_flag_t flag) | ~~~~~~^~ /build/source/src/loadsave.cc: In instantiation of 'void {anonymous}::do_flag_set(flag_set*, ls_flag_t) [with unsigned int Tiers = 1]': /build/source/src/loadsave.cc:430:13: required from here /build/source/src/loadsave.cc:280:24: error: invalid conversion from 'uint32_t*' {aka 'unsigned int*'} to 'u32b*' {aka 'long unsigned int*'} [-fpermissive] 280 | do_u32b(&(*flags)[i], flag); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~ | | | uint32_t* {aka unsigned int*} /build/source/src/loadsave.cc:190:27: note: initializing argument 1 of 'void do_u32b(u32b*, ls_flag_t)' 190 | static void do_u32b(u32b *ip, ls_flag_t flag) | ~~~~~~^~ /build/source/src/loadsave.cc: In instantiation of 'void {anonymous}::do_flag_set(flag_set*, ls_flag_t) [with unsigned int Tiers = 2]': /build/source/src/loadsave.cc:1366:13: required from here /build/source/src/loadsave.cc:280:24: error: invalid conversion from 'uint32_t*' {aka 'unsigned int*'} to 'u32b*' {aka 'long unsigned int*'} [-fpermissive] 280 | do_u32b(&(*flags)[i], flag); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~ | | | uint32_t* {aka unsigned int*} /build/source/src/loadsave.cc:190:27: note: initializing argument 1 of 'void do_u32b(u32b*, ls_flag_t)' 190 | static void do_u32b(u32b *ip, ls_flag_t flag) | ~~~~~~^~ /build/source/src/squelch/condition_metadata.cc: In function 'void squelch::display_desc(squelch::match_type)': /build/source/src/squelch/condition_metadata.cc:328:21: warning: this statement may fall through [-Wimplicit-fallthrough=] 328 | line("Check is true if object tval(from k_info.txt) is ok"); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/src/squelch/condition_metadata.cc:330:9: note: here 330 | case match_type::SVAL: | ^~~~ In file included from /build/source/src/../vendor/jsoncons/jsoncons/json_deserializer.hpp:17, from /build/source/src/../vendor/jsoncons/jsoncons/json.hpp:24, from /build/source/src/include/tome/squelch/condition.hpp:9, from /build/source/src/squelch/cursor.cc:7: /build/source/src/../vendor/jsoncons/jsoncons/json_input_handler.hpp:16:60: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 16 | uint64_t string_to_uinteger(const CharT *s, size_t length) throw(std::overflow_error) | ^~~~~ /build/source/src/../vendor/jsoncons/jsoncons/json_input_handler.hpp:40:72: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 40 | int64_t string_to_integer(bool has_neg, const CharT *s, size_t length) throw(std::overflow_error) | ^~~~~ In file included from /build/source/src/../vendor/jsoncons/jsoncons/json_reader.hpp:20, from /build/source/src/../vendor/jsoncons/jsoncons/json.hpp:25, from /build/source/src/include/tome/squelch/condition.hpp:9, from /build/source/src/squelch/cursor.cc:7: /build/source/src/../vendor/jsoncons/jsoncons/parse_error_handler.hpp:107:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 107 | const basic_parsing_context& context) throw (parse_exception) | ^~~~~ /build/source/src/../vendor/jsoncons/jsoncons/parse_error_handler.hpp:113:61: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 113 | const basic_parsing_context& context) throw (parse_exception) | ^~~~~ /build/source/src/../vendor/jsoncons/jsoncons/parse_error_handler.hpp:119:67: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 119 | const basic_parsing_context& context) throw (parse_exception) | ^~~~~ /build/source/src/../vendor/jsoncons/jsoncons/parse_error_handler.hpp:127:74: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 127 | const basic_parsing_context& context) throw (parse_exception) = 0; | ^~~~~ /build/source/src/../vendor/jsoncons/jsoncons/parse_error_handler.hpp:130:72: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 130 | const basic_parsing_context& context) throw (parse_exception) = 0; | ^~~~~ /build/source/src/../vendor/jsoncons/jsoncons/parse_error_handler.hpp:133:78: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 133 | const basic_parsing_context& context) throw (parse_exception) | ^~~~~ /build/source/src/../vendor/jsoncons/jsoncons/parse_error_handler.hpp:150:74: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 150 | const basic_parsing_context& context) throw (parse_exception) | ^~~~~ /build/source/src/../vendor/jsoncons/jsoncons/parse_error_handler.hpp:156:72: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 156 | const basic_parsing_context& context) throw (parse_exception) | ^~~~~ /build/source/src/object1.cc: In function 'std::string object_desc_aux(const object_type*, int, int)': /build/source/src/object1.cc:1756:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 1756 | if (o_ptr->pval2 != 0) | ^~ /build/source/src/object1.cc:1760:9: note: here 1760 | case TV_BOOMERANG: | ^~~~ In file included from /build/source/src/include/tome/squelch/rule.hpp:4, from /build/source/src/squelch/rule.cc:2: /build/source/src/../vendor/jsoncons/jsoncons/json.hpp: In instantiation of 'IteratorT jsoncons::basic_json::range::end() [with IteratorT = jsoncons::json_object_iterator<__gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > >, __gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > > >; CharT = char; Alloc = std::allocator]': /build/source/src/../vendor/jsoncons/jsoncons/json.hpp:2899:43: required from 'const jsoncons::basic_json& jsoncons::basic_json::get(const string_type&) const [with CharT = char; Alloc = std::allocator; jsoncons::basic_json::string_type = std::__cxx11::basic_string]' /build/source/src/squelch/rule.cc:143:41: required from here /build/source/src/../vendor/jsoncons/jsoncons/json.hpp:264:20: warning: implicitly-declared 'constexpr jsoncons::json_object_iterator<__gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > >, __gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > > >::json_object_iterator(const jsoncons::json_object_iterator<__gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > >, __gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > > >&)' is deprecated [-Wdeprecated-copy] 264 | return last_; | ^~~~~ In file included from /build/source/src/../vendor/jsoncons/jsoncons/json.hpp:19, from /build/source/src/include/tome/squelch/rule.hpp:4, from /build/source/src/squelch/rule.cc:2: /build/source/src/../vendor/jsoncons/jsoncons/json_structures.hpp:405:27: note: because 'jsoncons::json_object_iterator<__gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > >, __gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > > >' has user-provided 'jsoncons::json_object_iterator& jsoncons::json_object_iterator::operator=(jsoncons::json_object_iterator) [with IteratorT = __gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > >; NonConstIteratorT = __gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > >]' 405 | json_object_iterator& operator=(json_object_iterator rhs) | ^~~~~~~~ In file included from /build/source/src/include/tome/squelch/rule.hpp:4, from /build/source/src/squelch/rule.cc:2: /build/source/src/../vendor/jsoncons/jsoncons/json.hpp: In instantiation of 'jsoncons::basic_json::range::range(const IteratorT&, const IteratorT&) [with IteratorT = jsoncons::json_object_iterator<__gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > >, __gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > > >; CharT = char; Alloc = std::allocator]': /build/source/src/../vendor/jsoncons/jsoncons/json.hpp:3133:20: required from 'jsoncons::basic_json::const_object_range jsoncons::basic_json::members() const [with CharT = char; Alloc = std::allocator; jsoncons::basic_json::const_object_range = jsoncons::basic_json >::range, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > >, __gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > > > >]' /build/source/src/../vendor/jsoncons/jsoncons/json.hpp:2899:37: required from 'const jsoncons::basic_json& jsoncons::basic_json::get(const string_type&) const [with CharT = char; Alloc = std::allocator; jsoncons::basic_json::string_type = std::__cxx11::basic_string]' /build/source/src/squelch/rule.cc:143:41: required from here /build/source/src/../vendor/jsoncons/jsoncons/json.hpp:251:15: warning: implicitly-declared 'constexpr jsoncons::json_object_iterator<__gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > >, __gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > > >::json_object_iterator(const jsoncons::json_object_iterator<__gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > >, __gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > > >&)' is deprecated [-Wdeprecated-copy] 251 | : first_(first), last_(last) | ^~~~~~~~~~~~~ In file included from /build/source/src/../vendor/jsoncons/jsoncons/json.hpp:19, from /build/source/src/include/tome/squelch/rule.hpp:4, from /build/source/src/squelch/rule.cc:2: /build/source/src/../vendor/jsoncons/jsoncons/json_structures.hpp:405:27: note: because 'jsoncons::json_object_iterator<__gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > >, __gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > > >' has user-provided 'jsoncons::json_object_iterator& jsoncons::json_object_iterator::operator=(jsoncons::json_object_iterator) [with IteratorT = __gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > >; NonConstIteratorT = __gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > >]' 405 | json_object_iterator& operator=(json_object_iterator rhs) | ^~~~~~~~ In file included from /build/source/src/include/tome/squelch/rule.hpp:4, from /build/source/src/squelch/rule.cc:2: /build/source/src/../vendor/jsoncons/jsoncons/json.hpp:251:30: warning: implicitly-declared 'constexpr jsoncons::json_object_iterator<__gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > >, __gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > > >::json_object_iterator(const jsoncons::json_object_iterator<__gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > >, __gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > > >&)' is deprecated [-Wdeprecated-copy] 251 | : first_(first), last_(last) | ^~~~~~~~~~~ In file included from /build/source/src/../vendor/jsoncons/jsoncons/json.hpp:19, from /build/source/src/include/tome/squelch/rule.hpp:4, from /build/source/src/squelch/rule.cc:2: /build/source/src/../vendor/jsoncons/jsoncons/json_structures.hpp:405:27: note: because 'jsoncons::json_object_iterator<__gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > >, __gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > > >' has user-provided 'jsoncons::json_object_iterator& jsoncons::json_object_iterator::operator=(jsoncons::json_object_iterator) [with IteratorT = __gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > >; NonConstIteratorT = __gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > >]' 405 | json_object_iterator& operator=(json_object_iterator rhs) | ^~~~~~~~ [ 56%] Building CXX object src/CMakeFiles/game.dir/q_library.cc.o In file included from /nix/store/bgppzc688vppqbfl8pyhdxyqygw7lmg9-gcc-11.3.0/include/c++/11.3.0/cassert:44, from /build/source/src/../vendor/fmt/fmt/format.h:31, from /build/source/src/cmd3.cc:45: /build/source/src/cmd3.cc: In function 'void do_cmd_query_symbol()': /build/source/src/cmd3.cc:1553:34: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 1553 | assert(i >= 0); | ~~^~~~ In file included from /build/source/src/../vendor/jsoncons/jsoncons/json_deserializer.hpp:17, from /build/source/src/../vendor/jsoncons/jsoncons/json.hpp:24, from /build/source/src/include/tome/squelch/condition.hpp:9, from /build/source/src/squelch/condition.cc:2: /build/source/src/../vendor/jsoncons/jsoncons/json_input_handler.hpp:16:60: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 16 | uint64_t string_to_uinteger(const CharT *s, size_t length) throw(std::overflow_error) | ^~~~~ /build/source/src/../vendor/jsoncons/jsoncons/json_input_handler.hpp:40:72: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 40 | int64_t string_to_integer(bool has_neg, const CharT *s, size_t length) throw(std::overflow_error) | ^~~~~ [ 57%] Building CXX object src/CMakeFiles/game.dir/q_main.cc.o In file included from /build/source/src/../vendor/jsoncons/jsoncons/json_reader.hpp:20, from /build/source/src/../vendor/jsoncons/jsoncons/json.hpp:25, from /build/source/src/include/tome/squelch/condition.hpp:9, from /build/source/src/squelch/condition.cc:2: /build/source/src/../vendor/jsoncons/jsoncons/parse_error_handler.hpp:107:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 107 | const basic_parsing_context& context) throw (parse_exception) | ^~~~~ /build/source/src/../vendor/jsoncons/jsoncons/parse_error_handler.hpp:113:61: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 113 | const basic_parsing_context& context) throw (parse_exception) | ^~~~~ /build/source/src/../vendor/jsoncons/jsoncons/parse_error_handler.hpp:119:67: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 119 | const basic_parsing_context& context) throw (parse_exception) | ^~~~~ /build/source/src/../vendor/jsoncons/jsoncons/parse_error_handler.hpp:127:74: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 127 | const basic_parsing_context& context) throw (parse_exception) = 0; | ^~~~~ /build/source/src/../vendor/jsoncons/jsoncons/parse_error_handler.hpp:130:72: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 130 | const basic_parsing_context& context) throw (parse_exception) = 0; | ^~~~~ /build/source/src/../vendor/jsoncons/jsoncons/parse_error_handler.hpp:133:78: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 133 | const basic_parsing_context& context) throw (parse_exception) | ^~~~~ /build/source/src/../vendor/jsoncons/jsoncons/parse_error_handler.hpp:150:74: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 150 | const basic_parsing_context& context) throw (parse_exception) | ^~~~~ /build/source/src/../vendor/jsoncons/jsoncons/parse_error_handler.hpp:156:72: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 156 | const basic_parsing_context& context) throw (parse_exception) | ^~~~~ [ 57%] Building CXX object src/CMakeFiles/game.dir/q_narsil.cc.o /build/source/src/init2.cc: In function 'void init_angband()': /build/source/src/init2.cc:1070:30: warning: '%s' directive writing up to 1023 bytes into a region of size 1005 [-Wformat-overflow=] 1070 | sprintf(why, "Cannot access the '%s' file!", buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, from /build/source/src/h-system.h:17, from /build/source/src/h-basic.h:17, from /build/source/src/init2.hpp:3, from /build/source/src/init2.cc:1: /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 27 and 1050 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[2]: *** [src/CMakeFiles/game.dir/build.make:468: src/CMakeFiles/game.dir/loadsave.cc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /build/source/src/include/tome/squelch/rule.hpp:4, from /build/source/src/squelch/rule.cc:2: /build/source/src/../vendor/jsoncons/jsoncons/json.hpp: In member function 'void jsoncons::basic_json::set(const string_type&, jsoncons::basic_json&&) [with CharT = char; Alloc = std::allocator]': /build/source/src/../vendor/jsoncons/jsoncons/json.hpp:2568:37: warning: this statement may fall through [-Wimplicit-fallthrough=] 2568 | create_object_implicitly(); | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /build/source/src/../vendor/jsoncons/jsoncons/json.hpp:2569:9: note: here 2569 | case value_types::object_t: | ^~~~ /build/source/src/../vendor/jsoncons/jsoncons/json.hpp: In member function 'jsoncons::basic_json::json_proxy > jsoncons::basic_json::operator[](const string_type&) [with CharT = char; Alloc = std::allocator]': /build/source/src/../vendor/jsoncons/jsoncons/json.hpp:1785:37: warning: this statement may fall through [-Wimplicit-fallthrough=] 1785 | create_object_implicitly(); | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /build/source/src/../vendor/jsoncons/jsoncons/json.hpp:1786:9: note: here 1786 | case value_types::object_t: | ^~~~ /build/source/src/../vendor/jsoncons/jsoncons/json.hpp: In member function 'const object& jsoncons::basic_json::object_value() const [with CharT = char; Alloc = std::allocator]': /build/source/src/../vendor/jsoncons/jsoncons/json.hpp:3206:68: warning: this statement may fall through [-Wimplicit-fallthrough=] 3206 | const_cast(this)->create_object_implicitly(); // HERE | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /build/source/src/../vendor/jsoncons/jsoncons/json.hpp:3207:9: note: here 3207 | case value_types::object_t: | ^~~~ /build/source/src/cmd1.cc: In function 'void incarnate_monster_attack(s16b, bool_*, bool_*, int, int)': /build/source/src/cmd1.cc:1049:57: warning: '?:' using integer constants in boolean context [-Wint-in-bool-context] 1049 | for (ap_cnt = 0; ap_cnt < (p_ptr->num_blow > 4) ? 4 : p_ptr->num_blow; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /build/source/src/monster2.cc: In function 's16b get_mon_num(int)': /build/source/src/monster2.cc:957:13: warning: variable 'in_tome' set but not used [-Wunused-but-set-variable] 957 | int in_tome; | ^~~~~~~ /build/source/src/cmd1.cc: In function 'int see_obstacle_grid(cave_type*)': /build/source/src/cmd1.cc:3079:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 3079 | if (p_ptr->ffall || p_ptr->fly) return (FALSE); | ^~ /build/source/src/cmd1.cc:3083:9: note: here 3083 | case FEAT_DEEP_LAVA: | ^~~~ /build/source/src/cmd4.cc: In function 'void do_cmd_macros()': /build/source/src/cmd4.cc:1983:30: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1983 | char tmp[1024]; | ^~~ /build/source/src/cmd4.cc: In function 'void do_cmd_options_win()': /build/source/src/cmd4.cc:927:47: warning: this statement may fall through [-Wimplicit-fallthrough=] 927 | for (i = 0; i < 16; i++) | ~~^~~~ /build/source/src/cmd4.cc:935:17: note: here 935 | case 'y': | ^~~~ /build/source/src/dungeon.cc: In function 'void process_world()': /build/source/src/dungeon.cc:1459:39: warning: '%s' directive writing up to 79 bytes into a region of size 71 [-Wformat-overflow=] 1459 | sprintf(ouch, "wielding %s", o_name); | ^~~~~~~~~~~~~ ~~~~~~ In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, from /build/source/src/h-system.h:17, from /build/source/src/h-basic.h:17, from /build/source/src/birth.hpp:3, from /build/source/src/dungeon.cc:12: /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 10 and 89 bytes into a destination of size 80 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /build/source/src/notes.cc: In function 'void add_note(char*, char)': /build/source/src/notes.cc:105:29: warning: '%s' directive writing up to 99 bytes into a region of size between 46 and 75 [-Wformat-overflow=] 105 | sprintf(final_note, "%-20s %s %c: %s", turn_s, depths, code, buf); | ^~~~~~~~~~~~~~~~~ ~~~ In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, from /build/source/src/h-system.h:17, from /build/source/src/h-basic.h:17, from /build/source/src/files.hpp:3, from /build/source/src/notes.cc:12: /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output 26 or more bytes (assuming 154) into a destination of size 100 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from /build/source/src/include/tome/squelch/condition.hpp:9, from /build/source/src/squelch/condition.cc:2: /build/source/src/../vendor/jsoncons/jsoncons/json.hpp: In instantiation of 'IteratorT jsoncons::basic_json::range::end() [with IteratorT = jsoncons::json_object_iterator<__gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > >, __gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > > >; CharT = char; Alloc = std::allocator]': /build/source/src/../vendor/jsoncons/jsoncons/json.hpp:2899:43: required from 'const jsoncons::basic_json& jsoncons::basic_json::get(const string_type&) const [with CharT = char; Alloc = std::allocator; jsoncons::basic_json::string_type = std::__cxx11::basic_string]' /build/source/src/squelch/condition.cc:123:34: required from here /build/source/src/../vendor/jsoncons/jsoncons/json.hpp:264:20: warning: implicitly-declared 'constexpr jsoncons::json_object_iterator<__gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > >, __gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > > >::json_object_iterator(const jsoncons::json_object_iterator<__gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > >, __gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > > >&)' is deprecated [-Wdeprecated-copy] 264 | return last_; | ^~~~~ In file included from /build/source/src/../vendor/jsoncons/jsoncons/json.hpp:19, from /build/source/src/include/tome/squelch/condition.hpp:9, from /build/source/src/squelch/condition.cc:2: /build/source/src/../vendor/jsoncons/jsoncons/json_structures.hpp:405:27: note: because 'jsoncons::json_object_iterator<__gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > >, __gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > > >' has user-provided 'jsoncons::json_object_iterator& jsoncons::json_object_iterator::operator=(jsoncons::json_object_iterator) [with IteratorT = __gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > >; NonConstIteratorT = __gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > >]' 405 | json_object_iterator& operator=(json_object_iterator rhs) | ^~~~~~~~ In file included from /build/source/src/include/tome/squelch/condition.hpp:9, from /build/source/src/squelch/condition.cc:2: /build/source/src/../vendor/jsoncons/jsoncons/json.hpp: In instantiation of 'jsoncons::basic_json::range::range(const IteratorT&, const IteratorT&) [with IteratorT = jsoncons::json_object_iterator<__gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > >, __gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > > >; CharT = char; Alloc = std::allocator]': /build/source/src/../vendor/jsoncons/jsoncons/json.hpp:3133:20: required from 'jsoncons::basic_json::const_object_range jsoncons::basic_json::members() const [with CharT = char; Alloc = std::allocator; jsoncons::basic_json::const_object_range = jsoncons::basic_json >::range, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > >, __gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > > > >]' /build/source/src/../vendor/jsoncons/jsoncons/json.hpp:2899:37: required from 'const jsoncons::basic_json& jsoncons::basic_json::get(const string_type&) const [with CharT = char; Alloc = std::allocator; jsoncons::basic_json::string_type = std::__cxx11::basic_string]' /build/source/src/squelch/condition.cc:123:34: required from here /build/source/src/../vendor/jsoncons/jsoncons/json.hpp:251:15: warning: implicitly-declared 'constexpr jsoncons::json_object_iterator<__gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > >, __gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > > >::json_object_iterator(const jsoncons::json_object_iterator<__gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > >, __gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > > >&)' is deprecated [-Wdeprecated-copy] 251 | : first_(first), last_(last) | ^~~~~~~~~~~~~ In file included from /build/source/src/../vendor/jsoncons/jsoncons/json.hpp:19, from /build/source/src/include/tome/squelch/condition.hpp:9, from /build/source/src/squelch/condition.cc:2: /build/source/src/../vendor/jsoncons/jsoncons/json_structures.hpp:405:27: note: because 'jsoncons::json_object_iterator<__gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > >, __gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > > >' has user-provided 'jsoncons::json_object_iterator& jsoncons::json_object_iterator::operator=(jsoncons::json_object_iterator) [with IteratorT = __gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > >; NonConstIteratorT = __gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > >]' 405 | json_object_iterator& operator=(json_object_iterator rhs) | ^~~~~~~~ In file included from /build/source/src/include/tome/squelch/condition.hpp:9, from /build/source/src/squelch/condition.cc:2: /build/source/src/../vendor/jsoncons/jsoncons/json.hpp:251:30: warning: implicitly-declared 'constexpr jsoncons::json_object_iterator<__gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > >, __gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > > >::json_object_iterator(const jsoncons::json_object_iterator<__gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > >, __gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > > >&)' is deprecated [-Wdeprecated-copy] 251 | : first_(first), last_(last) | ^~~~~~~~~~~ In file included from /build/source/src/../vendor/jsoncons/jsoncons/json.hpp:19, from /build/source/src/include/tome/squelch/condition.hpp:9, from /build/source/src/squelch/condition.cc:2: /build/source/src/../vendor/jsoncons/jsoncons/json_structures.hpp:405:27: note: because 'jsoncons::json_object_iterator<__gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > >, __gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > > >' has user-provided 'jsoncons::json_object_iterator& jsoncons::json_object_iterator::operator=(jsoncons::json_object_iterator) [with IteratorT = __gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > >; NonConstIteratorT = __gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > >]' 405 | json_object_iterator& operator=(json_object_iterator rhs) | ^~~~~~~~ /build/source/src/files.cc: In function 'errr predict_score()': /build/source/src/files.cc:4904:32: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 4904 | sprintf(the_score.p_r, "%2d", p_ptr->prace); | ^~~~~ In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, from /build/source/src/h-system.h:17, from /build/source/src/h-basic.h:17, from /build/source/src/files.hpp:3, from /build/source/src/files.cc:9: /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 3 and 4 bytes into a destination of size 3 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /build/source/src/files.cc:4905:32: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 4905 | sprintf(the_score.p_s, "%2d", p_ptr->pracem); | ^~~~~ In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, from /build/source/src/h-system.h:17, from /build/source/src/h-basic.h:17, from /build/source/src/files.hpp:3, from /build/source/src/files.cc:9: /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 3 and 4 bytes into a destination of size 3 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /build/source/src/files.cc:4906:32: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 4906 | sprintf(the_score.p_c, "%2d", p_ptr->pclass); | ^~~~~ In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, from /build/source/src/h-system.h:17, from /build/source/src/h-basic.h:17, from /build/source/src/files.hpp:3, from /build/source/src/files.cc:9: /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 3 and 4 bytes into a destination of size 3 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /build/source/src/files.cc:4907:33: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 4907 | sprintf(the_score.p_cs, "%2d", p_ptr->pspec); | ^~~~~ In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, from /build/source/src/h-system.h:17, from /build/source/src/h-basic.h:17, from /build/source/src/files.hpp:3, from /build/source/src/files.cc:9: /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 3 and 4 bytes into a destination of size 3 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /build/source/src/files.cc:4910:36: warning: '%3d' directive writing between 3 and 6 bytes into a region of size 4 [-Wformat-overflow=] 4910 | sprintf(the_score.cur_lev, "%3d", p_ptr->lev); | ^~~~~ /build/source/src/files.cc:4910:36: note: directive argument in the range [-32768, 32767] In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, from /build/source/src/h-system.h:17, from /build/source/src/h-basic.h:17, from /build/source/src/files.hpp:3, from /build/source/src/files.cc:9: /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 4 and 7 bytes into a destination of size 4 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /build/source/src/files.cc:4911:36: warning: '%3d' directive writing between 3 and 6 bytes into a region of size 4 [-Wformat-overflow=] 4911 | sprintf(the_score.cur_dun, "%3d", dun_level); | ^~~~~ /build/source/src/files.cc:4911:36: note: directive argument in the range [-32768, 32767] In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, from /build/source/src/h-system.h:17, from /build/source/src/h-basic.h:17, from /build/source/src/files.hpp:3, from /build/source/src/files.cc:9: /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 4 and 7 bytes into a destination of size 4 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /build/source/src/files.cc:4912:36: warning: '%3d' directive writing between 3 and 6 bytes into a region of size 4 [-Wformat-overflow=] 4912 | sprintf(the_score.max_lev, "%3d", p_ptr->max_plv); | ^~~~~ /build/source/src/files.cc:4912:36: note: directive argument in the range [-32768, 32767] In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, from /build/source/src/h-system.h:17, from /build/source/src/h-basic.h:17, from /build/source/src/files.hpp:3, from /build/source/src/files.cc:9: /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 4 and 7 bytes into a destination of size 4 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /build/source/src/files.cc:4913:36: warning: '%3d' directive writing between 3 and 6 bytes into a region of size 4 [-Wformat-overflow=] 4913 | sprintf(the_score.max_dun, "%3d", max_dlv[dungeon_type]); | ^~~~~ /build/source/src/files.cc:4913:36: note: directive argument in the range [-32768, 32767] In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, from /build/source/src/h-system.h:17, from /build/source/src/h-basic.h:17, from /build/source/src/files.hpp:3, from /build/source/src/files.cc:9: /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 4 and 7 bytes into a destination of size 4 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /build/source/src/files.cc:4915:41: warning: '%3d' directive writing between 3 and 6 bytes into a region of size 4 [-Wformat-overflow=] 4915 | sprintf(the_score.inside_quest, "%3d", p_ptr->inside_quest); | ^~~~~ /build/source/src/files.cc:4915:41: note: directive argument in the range [-32768, 32767] In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, from /build/source/src/h-system.h:17, from /build/source/src/h-basic.h:17, from /build/source/src/files.hpp:3, from /build/source/src/files.cc:9: /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 4 and 7 bytes into a destination of size 4 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /build/source/src/files.cc: In function 'errr top_twenty()': /build/source/src/files.cc:4804:32: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 4804 | sprintf(the_score.p_r, "%2d", p_ptr->prace); | ^~~~~ In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, from /build/source/src/h-system.h:17, from /build/source/src/h-basic.h:17, from /build/source/src/files.hpp:3, from /build/source/src/files.cc:9: /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 3 and 4 bytes into a destination of size 3 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /build/source/src/files.cc:4805:32: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 4805 | sprintf(the_score.p_s, "%2d", p_ptr->pracem); | ^~~~~ In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, from /build/source/src/h-system.h:17, from /build/source/src/h-basic.h:17, from /build/source/src/files.hpp:3, from /build/source/src/files.cc:9: /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 3 and 4 bytes into a destination of size 3 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /build/source/src/files.cc:4806:32: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 4806 | sprintf(the_score.p_c, "%2d", p_ptr->pclass); | ^~~~~ In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, from /build/source/src/h-system.h:17, from /build/source/src/h-basic.h:17, from /build/source/src/files.hpp:3, from /build/source/src/files.cc:9: /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 3 and 4 bytes into a destination of size 3 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /build/source/src/files.cc:4807:33: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 4807 | sprintf(the_score.p_cs, "%2d", p_ptr->pspec); | ^~~~~ In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, from /build/source/src/h-system.h:17, from /build/source/src/h-basic.h:17, from /build/source/src/files.hpp:3, from /build/source/src/files.cc:9: /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 3 and 4 bytes into a destination of size 3 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /build/source/src/files.cc:4810:36: warning: '%3d' directive writing between 3 and 6 bytes into a region of size 4 [-Wformat-overflow=] 4810 | sprintf(the_score.cur_lev, "%3d", p_ptr->lev); | ^~~~~ /build/source/src/files.cc:4810:36: note: directive argument in the range [-32768, 32767] In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, from /build/source/src/h-system.h:17, from /build/source/src/h-basic.h:17, from /build/source/src/files.hpp:3, from /build/source/src/files.cc:9: /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 4 and 7 bytes into a destination of size 4 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /build/source/src/files.cc:4811:36: warning: '%3d' directive writing between 3 and 6 bytes into a region of size 4 [-Wformat-overflow=] 4811 | sprintf(the_score.cur_dun, "%3d", dun_level); | ^~~~~ /build/source/src/files.cc:4811:36: note: directive argument in the range [-32768, 32767] In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, from /build/source/src/h-system.h:17, from /build/source/src/h-basic.h:17, from /build/source/src/files.hpp:3, from /build/source/src/files.cc:9: /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 4 and 7 bytes into a destination of size 4 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /build/source/src/files.cc:4812:36: warning: '%3d' directive writing between 3 and 6 bytes into a region of size 4 [-Wformat-overflow=] 4812 | sprintf(the_score.max_lev, "%3d", p_ptr->max_plv); | ^~~~~ /build/source/src/files.cc:4812:36: note: directive argument in the range [-32768, 32767] In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, from /build/source/src/h-system.h:17, from /build/source/src/h-basic.h:17, from /build/source/src/files.hpp:3, from /build/source/src/files.cc:9: /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 4 and 7 bytes into a destination of size 4 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /build/source/src/files.cc:4813:36: warning: '%3d' directive writing between 3 and 6 bytes into a region of size 4 [-Wformat-overflow=] 4813 | sprintf(the_score.max_dun, "%3d", max_dlv[dungeon_type]); | ^~~~~ /build/source/src/files.cc:4813:36: note: directive argument in the range [-32768, 32767] In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, from /build/source/src/h-system.h:17, from /build/source/src/h-basic.h:17, from /build/source/src/files.hpp:3, from /build/source/src/files.cc:9: /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 4 and 7 bytes into a destination of size 4 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /build/source/src/files.cc:4815:41: warning: '%3d' directive writing between 3 and 6 bytes into a region of size 4 [-Wformat-overflow=] 4815 | sprintf(the_score.inside_quest, "%3d", p_ptr->inside_quest); | ^~~~~ /build/source/src/files.cc:4815:41: note: directive argument in the range [-32768, 32767] In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, from /build/source/src/h-system.h:17, from /build/source/src/h-basic.h:17, from /build/source/src/files.hpp:3, from /build/source/src/files.cc:9: /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 4 and 7 bytes into a destination of size 4 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from /build/source/src/include/tome/squelch/condition.hpp:9, from /build/source/src/squelch/condition.cc:2: /build/source/src/../vendor/jsoncons/jsoncons/json.hpp: In member function 'jsoncons::basic_json::json_proxy > jsoncons::basic_json::operator[](const string_type&) [with CharT = char; Alloc = std::allocator]': /build/source/src/../vendor/jsoncons/jsoncons/json.hpp:1785:37: warning: this statement may fall through [-Wimplicit-fallthrough=] 1785 | create_object_implicitly(); | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /build/source/src/../vendor/jsoncons/jsoncons/json.hpp:1786:9: note: here 1786 | case value_types::object_t: | ^~~~ /build/source/src/../vendor/jsoncons/jsoncons/json.hpp: In member function 'void jsoncons::basic_json::set(const string_type&, jsoncons::basic_json&&) [with CharT = char; Alloc = std::allocator]': /build/source/src/../vendor/jsoncons/jsoncons/json.hpp:2568:37: warning: this statement may fall through [-Wimplicit-fallthrough=] 2568 | create_object_implicitly(); | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /build/source/src/../vendor/jsoncons/jsoncons/json.hpp:2569:9: note: here 2569 | case value_types::object_t: | ^~~~ /build/source/src/../vendor/jsoncons/jsoncons/json.hpp: In member function 'const object& jsoncons::basic_json::object_value() const [with CharT = char; Alloc = std::allocator]': /build/source/src/../vendor/jsoncons/jsoncons/json.hpp:3206:68: warning: this statement may fall through [-Wimplicit-fallthrough=] 3206 | const_cast(this)->create_object_implicitly(); // HERE | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /build/source/src/../vendor/jsoncons/jsoncons/json.hpp:3207:9: note: here 3207 | case value_types::object_t: | ^~~~ /build/source/src/files.cc: In function 'void display_player(int)': /build/source/src/files.cc:1292:28: warning: '%d' directive writing between 1 and 5 bytes into a region of size 4 [-Wformat-overflow=] 1292 | sprintf(s, "Slow (-%d)", 110 - speed); | ^~~~~~~~~~~~ /build/source/src/files.cc:1292:28: note: directive argument in the range [1, 32878] In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, from /build/source/src/h-system.h:17, from /build/source/src/h-basic.h:17, from /build/source/src/files.hpp:3, from /build/source/src/files.cc:9: /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 10 and 14 bytes into a destination of size 11 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /build/source/src/files.cc:1286:28: warning: '%d' directive writing between 1 and 5 bytes into a region of size 4 [-Wformat-overflow=] 1286 | sprintf(s, "Fast (+%d)", speed - 110); | ^~~~~~~~~~~~ /build/source/src/files.cc:1286:28: note: directive argument in the range [1, 32657] In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, from /build/source/src/h-system.h:17, from /build/source/src/h-basic.h:17, from /build/source/src/files.hpp:3, from /build/source/src/files.cc:9: /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 10 and 14 bytes into a destination of size 11 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /build/source/src/q_bounty.cc: In function 'bool_ quest_bounty_drop_item()': /build/source/src/q_bounty.cc:106:44: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 483 [-Wformat-truncation=] 106 | snprintf(msg, sizeof(msg), "You still must bring me back %s corpse.", mdesc); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, from /build/source/src/h-system.h:17, from /build/source/src/h-basic.h:17, from /build/source/src/q_bounty.hpp:3, from /build/source/src/q_bounty.cc:1: /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 38 and 549 bytes into a destination of size 512 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /build/source/src/q_bounty.cc:100:44: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 489 [-Wformat-truncation=] 100 | snprintf(msg, sizeof(msg), "You must bring me back %s corpse.", mdesc); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, from /build/source/src/h-system.h:17, from /build/source/src/h-basic.h:17, from /build/source/src/q_bounty.hpp:3, from /build/source/src/q_bounty.cc:1: /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 32 and 543 bytes into a destination of size 512 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /build/source/src/object1.cc: In function 'void show_equip_aux(bool_, const object_filter_t&)': /build/source/src/object1.cc:4203:49: warning: '%s' directive writing up to 79 bytes into a region of size 67 [-Wformat-overflow=] 4203 | sprintf(o_name, "(two handed) %s", q_name); | ^~~~~~~~~~~~~~~~~ ~~~~~~ In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, from /build/source/src/h-system.h:17, from /build/source/src/h-basic.h:17, from /build/source/src/object1.hpp:3, from /build/source/src/object1.cc:9: /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 14 and 93 bytes into a destination of size 80 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /build/source/src/object1.cc: In function 'bool_ get_item_floor(int*, cptr, cptr, int, const object_filter_t&, const select_by_name_t&)': /build/source/src/object1.cc:5006:34: warning: ') ' directive writing 2 bytes into a region of size between 0 and 159 [-Wformat-overflow=] 5006 | sprintf(tmp_val, "(%s) %s", out_val, pmt); | ^~~~~~~~~ In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, from /build/source/src/h-system.h:17, from /build/source/src/h-basic.h:17, from /build/source/src/object1.hpp:3, from /build/source/src/object1.cc:9: /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output 4 or more bytes (assuming 163) into a destination of size 160 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /build/source/src/files.cc: In function 'errr file_character(cptr, bool_)': /build/source/src/files.cc:2585:34: warning: '%s' directive writing up to 1023 bytes into a region of size 138 [-Wformat-overflow=] 2585 | sprintf(out_val, "Replace existing file %s? ", buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, from /build/source/src/h-system.h:17, from /build/source/src/h-basic.h:17, from /build/source/src/files.hpp:3, from /build/source/src/files.cc:9: /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 25 and 1048 bytes into a destination of size 160 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: *** [CMakeFiles/Makefile2:171: src/CMakeFiles/game.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 58%] Linking CXX static library libsquelch.a [ 58%] Built target squelch make: *** [Makefile:136: all] Error 2