ninja: Entering directory `/home/sbizna/alephbet/builddir' [1/4] Compiling C++ object alephbet.p/Source_Files_Sound_SoundFile.cpp.o FAILED: alephbet.p/Source_Files_Sound_SoundFile.cpp.o c++ -Ialephbet.p -I. -I.. -I../Source_Files -I../Source_Files/CSeries -I../Source_Files/FFmpeg -I../Source_Files/Files -I../Source_Files/GameWorld -I../Source_Files/Input -I../Source_Files/Lua -I../Source_Files/Misc -I../Source_Files/ModelView -I../Source_Files/Network -I../Source_Files/Network/Metaserver -I../Source_Files/RenderMain -I../Source_Files/RenderMain/Shaders -I../Source_Files/RenderOther -I../Source_Files/Sound -I../Source_Files/TCPMess -I../Source_Files/XML -I../subprojects/miniupnpc/include -I/usr/include/x86_64-linux-gnu -I/usr/include/libpng16 -I/usr/include/AL -I/usr/include/SDL2 -I/usr/include/opus -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++20 -O0 -g -DSDL -DHAVE_CURL -DHAVE_FFMPEG -DHAVE_MINIUPNPC -DHAVE_OPENGL -DHAVE_PNG -DHAVE_SDL_IMAGE -DHAVE_ZZIP -DHAVE_PWD_H -DHAVE_UNISTD_H -DHAVE_SYSCONF -DLUA_USE_MKSTEMP -D_REENTRANT -MD -MQ alephbet.p/Source_Files_Sound_SoundFile.cpp.o -MF alephbet.p/Source_Files_Sound_SoundFile.cpp.o.d -o alephbet.p/Source_Files_Sound_SoundFile.cpp.o -c ../Source_Files/Sound/SoundFile.cpp In file included from ../Source_Files/Sound/SoundFile.cpp:26: ../Source_Files/Misc/Logging.h: In member function ‘void LogContext::enterContextV(const char*, int, const char*, __va_list_tag*)’: ../Source_Files/Misc/Logging.h:141:17: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 141 | if(contextSet) | ^~ ../Source_Files/Misc/Logging.h:144:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 144 | GetCurrentLogger()->pushLogContextV(inFile, inLine, inContext, inArgs); | ^~~~~~~~~~~~~~~~ In file included from ../Source_Files/Sound/SoundFile.cpp:25: ../Source_Files/Sound/SoundFile.h: In constructor ‘SoundHeader::SoundHeader()’: ../Source_Files/Sound/SoundFile.h:92:16: warning: ‘SoundHeader::data_offset’ will be initialized after [-Wreorder] 92 | uint32 data_offset; | ^~~~~~~~~~~ ../Source_Files/Sound/SoundFile.h:91:14: warning: ‘bool SoundHeader::signed_8bits’ [-Wreorder] 91 | bool signed_8bits; | ^~~~~~~~~~~~ ../Source_Files/Sound/SoundFile.cpp:35:1: warning: when initialized here [-Wreorder] 35 | SoundHeader::SoundHeader() : | ^~~~~~~~~~~ ../Source_Files/Sound/SoundFile.cpp: In member function ‘std::shared_ptr > SoundHeader::LoadData(BIStreamBE&)’: ../Source_Files/Sound/SoundFile.cpp:163:24: warning: enumeration value ‘_32_float’ not handled in switch [-Wswitch] 163 | switch (audio_format) | ^ ../Source_Files/Sound/SoundFile.cpp: In member function ‘bool SoundHeader::Load(LoadedResource&)’: ../Source_Files/Sound/SoundFile.cpp:210:9: error: ‘io’ has not been declared 210 | io::stream_buffer sb(reinterpret_cast(rsrc.GetPointer()), rsrc.GetLength()); | ^~ ../Source_Files/Sound/SoundFile.cpp:210:27: error: ‘io’ has not been declared 210 | io::stream_buffer sb(reinterpret_cast(rsrc.GetPointer()), rsrc.GetLength()); | ^~ ../Source_Files/Sound/SoundFile.cpp:210:45: error: ‘sb’ was not declared in this scope 210 | io::stream_buffer sb(reinterpret_cast(rsrc.GetPointer()), rsrc.GetLength()); | ^~ ../Source_Files/Sound/SoundFile.cpp: In member function ‘std::shared_ptr > SoundHeader::LoadData(LoadedResource&)’: ../Source_Files/Sound/SoundFile.cpp:262:9: error: ‘io’ has not been declared 262 | io::stream_buffer sb(reinterpret_cast(rsrc.GetPointer()), rsrc.GetLength()); | ^~ ../Source_Files/Sound/SoundFile.cpp:262:27: error: ‘io’ has not been declared 262 | io::stream_buffer sb(reinterpret_cast(rsrc.GetPointer()), rsrc.GetLength()); | ^~ ../Source_Files/Sound/SoundFile.cpp:262:45: error: ‘sb’ was not declared in this scope 262 | io::stream_buffer sb(reinterpret_cast(rsrc.GetPointer()), rsrc.GetLength()); | ^~ ../Source_Files/Sound/SoundFile.cpp: In member function ‘bool SoundDefinition::Unpack(OpenedFile&)’: ../Source_Files/Sound/SoundFile.cpp:309:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 309 | for (int i = 0; i < sound_offsets.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ ../Source_Files/Sound/SoundFile.cpp: In member function ‘bool SoundDefinition::Load(OpenedFile&, bool)’: ../Source_Files/Sound/SoundFile.cpp:330:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 330 | for (int i = 0; i < sounds.size(); i++) | ~~^~~~~~~~~~~~~~~ ../Source_Files/Sound/SoundFile.cpp: In member function ‘std::shared_ptr > SoundDefinition::LoadData(OpenedFile&, short int)’: ../Source_Files/Sound/SoundFile.cpp:357:25: warning: comparison of integer expressions of different signedness: ‘short int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 357 | if (permutation >= sounds.size()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../Source_Files/Sound/SoundFile.cpp: In member function ‘virtual SoundDefinition* M2SoundFile::GetSoundDefinition(int, int)’: ../Source_Files/Sound/SoundFile.cpp:437:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 437 | if (source < sound_definitions.size() && sound_index < sound_definitions[source].size()) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../Source_Files/Sound/SoundFile.cpp:437:62: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 437 | if (source < sound_definitions.size() && sound_index < sound_definitions[source].size()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2/4] Compiling C++ object alephbet.p/Source_Files_Sound_ReplacementSounds.cpp.o FAILED: alephbet.p/Source_Files_Sound_ReplacementSounds.cpp.o c++ -Ialephbet.p -I. -I.. -I../Source_Files -I../Source_Files/CSeries -I../Source_Files/FFmpeg -I../Source_Files/Files -I../Source_Files/GameWorld -I../Source_Files/Input -I../Source_Files/Lua -I../Source_Files/Misc -I../Source_Files/ModelView -I../Source_Files/Network -I../Source_Files/Network/Metaserver -I../Source_Files/RenderMain -I../Source_Files/RenderMain/Shaders -I../Source_Files/RenderOther -I../Source_Files/Sound -I../Source_Files/TCPMess -I../Source_Files/XML -I../subprojects/miniupnpc/include -I/usr/include/x86_64-linux-gnu -I/usr/include/libpng16 -I/usr/include/AL -I/usr/include/SDL2 -I/usr/include/opus -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++20 -O0 -g -DSDL -DHAVE_CURL -DHAVE_FFMPEG -DHAVE_MINIUPNPC -DHAVE_OPENGL -DHAVE_PNG -DHAVE_SDL_IMAGE -DHAVE_ZZIP -DHAVE_PWD_H -DHAVE_UNISTD_H -DHAVE_SYSCONF -DLUA_USE_MKSTEMP -D_REENTRANT -MD -MQ alephbet.p/Source_Files_Sound_ReplacementSounds.cpp.o -MF alephbet.p/Source_Files_Sound_ReplacementSounds.cpp.o.d -o alephbet.p/Source_Files_Sound_ReplacementSounds.cpp.o -c ../Source_Files/Sound/ReplacementSounds.cpp In file included from ../Source_Files/Sound/ReplacementSounds.cpp:25: ../Source_Files/Sound/ReplacementSounds.h: In constructor ‘SoundReplacements::SoundReplacements()’: ../Source_Files/Sound/ReplacementSounds.h:65:29: error: use of deleted function ‘std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_map() [with _Key = std::pair; _Tp = SoundOptions; _Hash = std::hash >; _Pred = std::equal_to >; _Alloc = std::allocator, SoundOptions> >]’ 65 | SoundReplacements() { } | ^ In file included from /usr/include/c++/12/unordered_map:47, from ../Source_Files/Sound/ReplacementSounds.h:35: /usr/include/c++/12/bits/unordered_map.h:141:7: note: ‘std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_map() [with _Key = std::pair; _Tp = SoundOptions; _Hash = std::hash >; _Pred = std::equal_to >; _Alloc = std::allocator, SoundOptions> >]’ is implicitly deleted because the default definition would be ill-formed: 141 | unordered_map() = default; | ^~~~~~~~~~~~~ /usr/include/c++/12/bits/unordered_map.h:141:7: error: use of deleted function ‘std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_Hashtable() [with _Key = std::pair; _Value = std::pair, SoundOptions>; _Alloc = std::allocator, SoundOptions> >; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to >; _Hash = std::hash >; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits]’ In file included from /usr/include/c++/12/unordered_map:46: /usr/include/c++/12/bits/hashtable.h:531:7: note: ‘std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_Hashtable() [with _Key = std::pair; _Value = std::pair, SoundOptions>; _Alloc = std::allocator, SoundOptions> >; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to >; _Hash = std::hash >; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits]’ is implicitly deleted because the default definition would be ill-formed: 531 | _Hashtable() = default; | ^~~~~~~~~~ /usr/include/c++/12/bits/hashtable.h:531:7: error: use of deleted function ‘std::__detail::_Hashtable_base<_Key, _Value, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _Traits>::_Hashtable_base() [with _Key = std::pair; _Value = std::pair, SoundOptions>; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to >; _Hash = std::hash >; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _Traits = std::__detail::_Hashtable_traits]’ In file included from /usr/include/c++/12/bits/hashtable.h:35: /usr/include/c++/12/bits/hashtable_policy.h:1674:7: note: ‘std::__detail::_Hashtable_base<_Key, _Value, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _Traits>::_Hashtable_base() [with _Key = std::pair; _Value = std::pair, SoundOptions>; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to >; _Hash = std::hash >; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _Traits = std::__detail::_Hashtable_traits]’ is implicitly deleted because the default definition would be ill-formed: 1674 | _Hashtable_base() = default; | ^~~~~~~~~~~~~~~ /usr/include/c++/12/bits/hashtable_policy.h:1674:7: error: use of deleted function ‘std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _Hash, _RangeHash, _Unused, __cache_hash_code>::_Hash_code_base() [with _Key = std::pair; _Value = std::pair, SoundOptions>; _ExtractKey = std::__detail::_Select1st; _Hash = std::hash >; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; bool __cache_hash_code = true]’ /usr/include/c++/12/bits/hashtable_policy.h: In instantiation of ‘std::__detail::_Hashtable_ebo_helper<_Nm, _Tp, true>::_Hashtable_ebo_helper() [with int _Nm = 1; _Tp = std::hash >]’: /usr/include/c++/12/bits/hashtable_policy.h:1261:7: required from here /usr/include/c++/12/bits/hashtable_policy.h:1178:49: error: use of deleted function ‘std::hash >::hash()’ 1178 | _Hashtable_ebo_helper() noexcept(noexcept(_Tp())) : _Tp() { } | ^~~~~ In file included from /usr/include/c++/12/string_view:43, from /usr/include/c++/12/bits/basic_string.h:47, from /usr/include/c++/12/string:53, from ../Source_Files/Sound/ReplacementSounds.h:32: /usr/include/c++/12/bits/functional_hash.h:102:12: note: ‘std::hash >::hash()’ is implicitly deleted because the default definition would be ill-formed: 102 | struct hash : __hash_enum<_Tp> | ^~~~ /usr/include/c++/12/bits/functional_hash.h:102:12: error: no matching function for call to ‘std::__hash_enum, false>::__hash_enum()’ /usr/include/c++/12/bits/functional_hash.h:83:7: note: candidate: ‘std::__hash_enum<_Tp, >::__hash_enum(std::__hash_enum<_Tp, >&&) [with _Tp = std::pair; bool = false]’ 83 | __hash_enum(__hash_enum&&); | ^~~~~~~~~~~ /usr/include/c++/12/bits/functional_hash.h:83:7: note: candidate expects 1 argument, 0 provided /usr/include/c++/12/bits/functional_hash.h:102:12: error: ‘std::__hash_enum<_Tp, >::~__hash_enum() [with _Tp = std::pair; bool = false]’ is private within this context 102 | struct hash : __hash_enum<_Tp> | ^~~~ /usr/include/c++/12/bits/functional_hash.h:84:7: note: declared private here 84 | ~__hash_enum(); | ^ /usr/include/c++/12/bits/hashtable_policy.h:1261:7: note: ‘std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _Hash, _RangeHash, _Unused, __cache_hash_code>::_Hash_code_base() [with _Key = std::pair; _Value = std::pair, SoundOptions>; _ExtractKey = std::__detail::_Select1st; _Hash = std::hash >; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; bool __cache_hash_code = true]’ is implicitly deleted because the default definition would be ill-formed: 1261 | _Hash_code_base() = default; | ^~~~~~~~~~~~~~~ /usr/include/c++/12/bits/hashtable_policy.h:1261:7: error: use of deleted function ‘std::__detail::_Hashtable_ebo_helper<1, std::hash >, true>::~_Hashtable_ebo_helper()’ /usr/include/c++/12/bits/hashtable_policy.h:1175:12: note: ‘std::__detail::_Hashtable_ebo_helper<1, std::hash >, true>::~_Hashtable_ebo_helper()’ is implicitly deleted because the default definition would be ill-formed: 1175 | struct _Hashtable_ebo_helper<_Nm, _Tp, true> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/bits/hashtable_policy.h:1175:12: error: use of deleted function ‘std::hash >::~hash()’ /usr/include/c++/12/bits/functional_hash.h:102:12: note: ‘std::hash >::~hash()’ is implicitly deleted because the default definition would be ill-formed: 102 | struct hash : __hash_enum<_Tp> | ^~~~ /usr/include/c++/12/bits/functional_hash.h:102:12: error: ‘std::__hash_enum<_Tp, >::~__hash_enum() [with _Tp = std::pair; bool = false]’ is private within this context /usr/include/c++/12/bits/functional_hash.h:84:7: note: declared private here 84 | ~__hash_enum(); | ^ /usr/include/c++/12/bits/hashtable_policy.h:1674:7: error: use of deleted function ‘std::__detail::_Hash_code_base, std::pair, SoundOptions>, std::__detail::_Select1st, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, true>::~_Hash_code_base()’ 1674 | _Hashtable_base() = default; | ^~~~~~~~~~~~~~~ /usr/include/c++/12/bits/hashtable_policy.h:1239:12: note: ‘std::__detail::_Hash_code_base, std::pair, SoundOptions>, std::__detail::_Select1st, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, true>::~_Hash_code_base()’ is implicitly deleted because the default definition would be ill-formed: 1239 | struct _Hash_code_base | ^~~~~~~~~~~~~~~ /usr/include/c++/12/bits/hashtable_policy.h:1239:12: error: use of deleted function ‘std::__detail::_Hashtable_ebo_helper<1, std::hash >, true>::~_Hashtable_ebo_helper()’ /usr/include/c++/12/bits/hashtable.h:531:7: error: use of deleted function ‘std::__detail::_Hashtable_base, std::pair, SoundOptions>, std::__detail::_Select1st, std::equal_to >, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits >::~_Hashtable_base()’ 531 | _Hashtable() = default; | ^~~~~~~~~~ /usr/include/c++/12/bits/hashtable_policy.h:1631:12: note: ‘std::__detail::_Hashtable_base, std::pair, SoundOptions>, std::__detail::_Select1st, std::equal_to >, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits >::~_Hashtable_base()’ is implicitly deleted because the default definition would be ill-formed: 1631 | struct _Hashtable_base | ^~~~~~~~~~~~~~~ /usr/include/c++/12/bits/hashtable_policy.h:1631:12: error: use of deleted function ‘std::__detail::_Hash_code_base, std::pair, SoundOptions>, std::__detail::_Select1st, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, true>::~_Hash_code_base()’ /usr/include/c++/12/bits/hashtable.h:531:7: error: use of deleted function ‘constexpr std::_Enable_default_constructor::_Enable_default_constructor() [with _Tag = std::__detail::_Hash_node_base]’ 531 | _Hashtable() = default; | ^~~~~~~~~~ In file included from /usr/include/c++/12/bits/hashtable.h:36: /usr/include/c++/12/bits/enable_special_members.h:113:15: note: declared here 113 | constexpr _Enable_default_constructor() noexcept = delete; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/bits/hashtable.h: In instantiation of ‘std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::~_Hashtable() [with _Key = std::pair; _Value = std::pair, SoundOptions>; _Alloc = std::allocator, SoundOptions> >; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to >; _Hash = std::hash >; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits]’: /usr/include/c++/12/bits/unordered_map.h:102:11: required from here /usr/include/c++/12/bits/hashtable.h:1586:5: error: use of deleted function ‘std::__detail::_Hashtable_base, std::pair, SoundOptions>, std::__detail::_Select1st, std::equal_to >, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits >::~_Hashtable_base()’ 1586 | } | ^ /usr/include/c++/12/bits/hashtable.h:1578:21: error: static assertion failed: Cache the hash code or qualify your functors involved in hash code and bucket index computation with noexcept 1578 | static_assert(noexcept(declval() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1579 | ._M_bucket_index(declval(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1580 | (std::size_t)0)), | ~~~~~~~~~~~~~~~~ /usr/include/c++/12/bits/hashtable.h:1578:21: note: ‘false’ evaluates to false /usr/include/c++/12/bits/hashtable_policy.h: In instantiation of ‘std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _Hash, _RangeHash, _Unused, __cache_hash_code>::__hash_code std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _Hash, _RangeHash, _Unused, __cache_hash_code>::_M_hash_code(const _Key&) const [with _Key = std::pair; _Value = std::pair, SoundOptions>; _ExtractKey = std::__detail::_Select1st; _Hash = std::hash >; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; bool __cache_hash_code = true; __hash_code = long unsigned int]’: /usr/include/c++/12/bits/hashtable.h:1653:46: required from ‘std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::iterator std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::find(const key_type&) [with _Key = std::pair; _Value = std::pair, SoundOptions>; _Alloc = std::allocator, SoundOptions> >; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to >; _Hash = std::hash >; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits; iterator = std::__detail::_Insert_base, std::pair, SoundOptions>, std::allocator, SoundOptions> >, std::__detail::_Select1st, std::equal_to >, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >::iterator; key_type = std::pair]’ /usr/include/c++/12/bits/unordered_map.h:869:25: required from ‘std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::iterator std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::find(const key_type&) [with _Key = std::pair; _Tp = SoundOptions; _Hash = std::hash >; _Pred = std::equal_to >; _Alloc = std::allocator, SoundOptions> >; iterator = std::__detail::_Insert_base, std::pair, SoundOptions>, std::allocator, SoundOptions> >, std::__detail::_Select1st, std::equal_to >, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >::iterator; key_type = std::pair]’ ../Source_Files/Sound/ReplacementSounds.cpp:60:66: required from here /usr/include/c++/12/bits/hashtable_policy.h:1268:23: error: static assertion failed: hash function must be invocable with an argument of key type 1268 | static_assert(__is_invocable{}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/bits/hashtable_policy.h:1268:23: note: ‘std::__is_invocable >&, const std::pair&>()’ evaluates to false /usr/include/c++/12/bits/hashtable_policy.h:1270:25: error: no match for call to ‘(const std::hash >) (const std::pair&)’ 1270 | return _M_hash()(__k); | ~~~~~~~~~^~~~~ In file included from ../Source_Files/Sound/SoundPlayer.h:30, from ../Source_Files/Sound/SoundManager.h:32, from ../Source_Files/Sound/ReplacementSounds.cpp:27: ../Source_Files/Sound/sound_definitions.h: At global scope: ../Source_Files/Sound/sound_definitions.h:200:39: warning: ‘random_sound_definitions’ defined but not used [-Wunused-variable] 200 | static struct random_sound_definition random_sound_definitions[NUMBER_OF_RANDOM_SOUND_DEFINITIONS]= | ^~~~~~~~~~~~~~~~~~~~~~~~ ../Source_Files/Sound/sound_definitions.h:165:40: warning: ‘ambient_sound_definitions’ defined but not used [-Wunused-variable] 165 | static struct ambient_sound_definition ambient_sound_definitions[NUMBER_OF_AMBIENT_SOUND_DEFINITIONS]= | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../Source_Files/Sound/sound_definitions.h:142:41: warning: ‘sound_behavior_definitions’ defined but not used [-Wunused-variable] 142 | static struct sound_behavior_definition sound_behavior_definitions[NUMBER_OF_SOUND_BEHAVIOR_DEFINITIONS]= | ^~~~~~~~~~~~~~~~~~~~~~~~~~ [3/4] Compiling C++ object alephbet.p/Source_Files_Sound_SoundManager.cpp.o FAILED: alephbet.p/Source_Files_Sound_SoundManager.cpp.o c++ -Ialephbet.p -I. -I.. -I../Source_Files -I../Source_Files/CSeries -I../Source_Files/FFmpeg -I../Source_Files/Files -I../Source_Files/GameWorld -I../Source_Files/Input -I../Source_Files/Lua -I../Source_Files/Misc -I../Source_Files/ModelView -I../Source_Files/Network -I../Source_Files/Network/Metaserver -I../Source_Files/RenderMain -I../Source_Files/RenderMain/Shaders -I../Source_Files/RenderOther -I../Source_Files/Sound -I../Source_Files/TCPMess -I../Source_Files/XML -I../subprojects/miniupnpc/include -I/usr/include/x86_64-linux-gnu -I/usr/include/libpng16 -I/usr/include/AL -I/usr/include/SDL2 -I/usr/include/opus -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++20 -O0 -g -DSDL -DHAVE_CURL -DHAVE_FFMPEG -DHAVE_MINIUPNPC -DHAVE_OPENGL -DHAVE_PNG -DHAVE_SDL_IMAGE -DHAVE_ZZIP -DHAVE_PWD_H -DHAVE_UNISTD_H -DHAVE_SYSCONF -DLUA_USE_MKSTEMP -D_REENTRANT -MD -MQ alephbet.p/Source_Files_Sound_SoundManager.cpp.o -MF alephbet.p/Source_Files_Sound_SoundManager.cpp.o.d -o alephbet.p/Source_Files_Sound_SoundManager.cpp.o -c ../Source_Files/Sound/SoundManager.cpp In file included from ../Source_Files/Sound/SoundManager.cpp:29: ../Source_Files/Sound/ReplacementSounds.h: In constructor ‘SoundReplacements::SoundReplacements()’: ../Source_Files/Sound/ReplacementSounds.h:65:29: error: use of deleted function ‘std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_map() [with _Key = std::pair; _Tp = SoundOptions; _Hash = std::hash >; _Pred = std::equal_to >; _Alloc = std::allocator, SoundOptions> >]’ 65 | SoundReplacements() { } | ^ In file included from /usr/include/c++/12/unordered_map:47, from /usr/include/c++/12/functional:61, from ../Source_Files/Sound/SoundManager.cpp:26: /usr/include/c++/12/bits/unordered_map.h:141:7: note: ‘std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_map() [with _Key = std::pair; _Tp = SoundOptions; _Hash = std::hash >; _Pred = std::equal_to >; _Alloc = std::allocator, SoundOptions> >]’ is implicitly deleted because the default definition would be ill-formed: 141 | unordered_map() = default; | ^~~~~~~~~~~~~ /usr/include/c++/12/bits/unordered_map.h:141:7: error: use of deleted function ‘std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_Hashtable() [with _Key = std::pair; _Value = std::pair, SoundOptions>; _Alloc = std::allocator, SoundOptions> >; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to >; _Hash = std::hash >; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits]’ In file included from /usr/include/c++/12/unordered_map:46: /usr/include/c++/12/bits/hashtable.h:531:7: note: ‘std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_Hashtable() [with _Key = std::pair; _Value = std::pair, SoundOptions>; _Alloc = std::allocator, SoundOptions> >; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to >; _Hash = std::hash >; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits]’ is implicitly deleted because the default definition would be ill-formed: 531 | _Hashtable() = default; | ^~~~~~~~~~ /usr/include/c++/12/bits/hashtable.h:531:7: error: use of deleted function ‘std::__detail::_Hashtable_base<_Key, _Value, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _Traits>::_Hashtable_base() [with _Key = std::pair; _Value = std::pair, SoundOptions>; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to >; _Hash = std::hash >; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _Traits = std::__detail::_Hashtable_traits]’ In file included from /usr/include/c++/12/bits/hashtable.h:35: /usr/include/c++/12/bits/hashtable_policy.h:1674:7: note: ‘std::__detail::_Hashtable_base<_Key, _Value, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _Traits>::_Hashtable_base() [with _Key = std::pair; _Value = std::pair, SoundOptions>; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to >; _Hash = std::hash >; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _Traits = std::__detail::_Hashtable_traits]’ is implicitly deleted because the default definition would be ill-formed: 1674 | _Hashtable_base() = default; | ^~~~~~~~~~~~~~~ /usr/include/c++/12/bits/hashtable_policy.h:1674:7: error: use of deleted function ‘std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _Hash, _RangeHash, _Unused, __cache_hash_code>::_Hash_code_base() [with _Key = std::pair; _Value = std::pair, SoundOptions>; _ExtractKey = std::__detail::_Select1st; _Hash = std::hash >; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; bool __cache_hash_code = true]’ /usr/include/c++/12/bits/hashtable_policy.h: In instantiation of ‘std::__detail::_Hashtable_ebo_helper<_Nm, _Tp, true>::_Hashtable_ebo_helper() [with int _Nm = 1; _Tp = std::hash >]’: /usr/include/c++/12/bits/hashtable_policy.h:1261:7: required from here /usr/include/c++/12/bits/hashtable_policy.h:1178:49: error: use of deleted function ‘std::hash >::hash()’ 1178 | _Hashtable_ebo_helper() noexcept(noexcept(_Tp())) : _Tp() { } | ^~~~~ In file included from /usr/include/c++/12/string_view:43, from /usr/include/c++/12/bits/basic_string.h:47, from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from ../Source_Files/Sound/SoundManager.cpp:25: /usr/include/c++/12/bits/functional_hash.h:102:12: note: ‘std::hash >::hash()’ is implicitly deleted because the default definition would be ill-formed: 102 | struct hash : __hash_enum<_Tp> | ^~~~ /usr/include/c++/12/bits/functional_hash.h:102:12: error: no matching function for call to ‘std::__hash_enum, false>::__hash_enum()’ /usr/include/c++/12/bits/functional_hash.h:83:7: note: candidate: ‘std::__hash_enum<_Tp, >::__hash_enum(std::__hash_enum<_Tp, >&&) [with _Tp = std::pair; bool = false]’ 83 | __hash_enum(__hash_enum&&); | ^~~~~~~~~~~ /usr/include/c++/12/bits/functional_hash.h:83:7: note: candidate expects 1 argument, 0 provided /usr/include/c++/12/bits/functional_hash.h:102:12: error: ‘std::__hash_enum<_Tp, >::~__hash_enum() [with _Tp = std::pair; bool = false]’ is private within this context 102 | struct hash : __hash_enum<_Tp> | ^~~~ /usr/include/c++/12/bits/functional_hash.h:84:7: note: declared private here 84 | ~__hash_enum(); | ^ /usr/include/c++/12/bits/hashtable_policy.h:1261:7: note: ‘std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _Hash, _RangeHash, _Unused, __cache_hash_code>::_Hash_code_base() [with _Key = std::pair; _Value = std::pair, SoundOptions>; _ExtractKey = std::__detail::_Select1st; _Hash = std::hash >; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; bool __cache_hash_code = true]’ is implicitly deleted because the default definition would be ill-formed: 1261 | _Hash_code_base() = default; | ^~~~~~~~~~~~~~~ /usr/include/c++/12/bits/hashtable_policy.h:1261:7: error: use of deleted function ‘std::__detail::_Hashtable_ebo_helper<1, std::hash >, true>::~_Hashtable_ebo_helper()’ /usr/include/c++/12/bits/hashtable_policy.h:1175:12: note: ‘std::__detail::_Hashtable_ebo_helper<1, std::hash >, true>::~_Hashtable_ebo_helper()’ is implicitly deleted because the default definition would be ill-formed: 1175 | struct _Hashtable_ebo_helper<_Nm, _Tp, true> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/bits/hashtable_policy.h:1175:12: error: use of deleted function ‘std::hash >::~hash()’ /usr/include/c++/12/bits/functional_hash.h:102:12: note: ‘std::hash >::~hash()’ is implicitly deleted because the default definition would be ill-formed: 102 | struct hash : __hash_enum<_Tp> | ^~~~ /usr/include/c++/12/bits/functional_hash.h:102:12: error: ‘std::__hash_enum<_Tp, >::~__hash_enum() [with _Tp = std::pair; bool = false]’ is private within this context /usr/include/c++/12/bits/functional_hash.h:84:7: note: declared private here 84 | ~__hash_enum(); | ^ /usr/include/c++/12/bits/hashtable_policy.h:1674:7: error: use of deleted function ‘std::__detail::_Hash_code_base, std::pair, SoundOptions>, std::__detail::_Select1st, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, true>::~_Hash_code_base()’ 1674 | _Hashtable_base() = default; | ^~~~~~~~~~~~~~~ /usr/include/c++/12/bits/hashtable_policy.h:1239:12: note: ‘std::__detail::_Hash_code_base, std::pair, SoundOptions>, std::__detail::_Select1st, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, true>::~_Hash_code_base()’ is implicitly deleted because the default definition would be ill-formed: 1239 | struct _Hash_code_base | ^~~~~~~~~~~~~~~ /usr/include/c++/12/bits/hashtable_policy.h:1239:12: error: use of deleted function ‘std::__detail::_Hashtable_ebo_helper<1, std::hash >, true>::~_Hashtable_ebo_helper()’ /usr/include/c++/12/bits/hashtable.h:531:7: error: use of deleted function ‘std::__detail::_Hashtable_base, std::pair, SoundOptions>, std::__detail::_Select1st, std::equal_to >, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits >::~_Hashtable_base()’ 531 | _Hashtable() = default; | ^~~~~~~~~~ /usr/include/c++/12/bits/hashtable_policy.h:1631:12: note: ‘std::__detail::_Hashtable_base, std::pair, SoundOptions>, std::__detail::_Select1st, std::equal_to >, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits >::~_Hashtable_base()’ is implicitly deleted because the default definition would be ill-formed: 1631 | struct _Hashtable_base | ^~~~~~~~~~~~~~~ /usr/include/c++/12/bits/hashtable_policy.h:1631:12: error: use of deleted function ‘std::__detail::_Hash_code_base, std::pair, SoundOptions>, std::__detail::_Select1st, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, true>::~_Hash_code_base()’ /usr/include/c++/12/bits/hashtable.h:531:7: error: use of deleted function ‘constexpr std::_Enable_default_constructor::_Enable_default_constructor() [with _Tag = std::__detail::_Hash_node_base]’ 531 | _Hashtable() = default; | ^~~~~~~~~~ In file included from /usr/include/c++/12/bits/hashtable.h:36: /usr/include/c++/12/bits/enable_special_members.h:113:15: note: declared here 113 | constexpr _Enable_default_constructor() noexcept = delete; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../Source_Files/Sound/SoundManager.cpp:33: ../Source_Files/Sound/OpenALManager.h: At global scope: ../Source_Files/Sound/OpenALManager.h:39:64: warning: arithmetic between enumeration type ‘’ and floating-point type ‘float’ is deprecated [-Wdeprecated-enum-float-conversion] 39 | constexpr float abortAmplitudeThreshold = MAXIMUM_SOUND_VOLUME / 6.f / 256; | ~~~~~~~~~~~~~~~~~~~~~^~~~~ ../Source_Files/Sound/SoundManager.cpp: In member function ‘std::shared_ptr SoundManager::PlaySound(short int, world_location3d*, short int, _fixed)’: ../Source_Files/Sound/SoundManager.cpp:419:91: warning: arithmetic between floating-point type ‘float’ and enumeration type ‘’ is deprecated [-Wdeprecated-enum-float-conversion] 419 | parameters.stereo_parameters.gain_global = variables.volume * 1.f / MAXIMUM_SOUND_VOLUME; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ../Source_Files/Sound/SoundManager.cpp:420:94: warning: arithmetic between floating-point type ‘float’ and enumeration type ‘’ is deprecated [-Wdeprecated-enum-float-conversion] 420 | parameters.stereo_parameters.gain_left = variables.left_volume * 1.f / MAXIMUM_SOUND_VOLUME; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ../Source_Files/Sound/SoundManager.cpp:421:96: warning: arithmetic between floating-point type ‘float’ and enumeration type ‘’ is deprecated [-Wdeprecated-enum-float-conversion] 421 | parameters.stereo_parameters.gain_right = variables.right_volume * 1.f / MAXIMUM_SOUND_VOLUME; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ../Source_Files/Sound/SoundManager.cpp: In member function ‘std::shared_ptr SoundManager::DirectPlaySound(short int, angle, short int, _fixed)’: ../Source_Files/Sound/SoundManager.cpp:444:73: warning: arithmetic between floating-point type ‘float’ and enumeration type ‘’ is deprecated [-Wdeprecated-enum-float-conversion] 444 | parameters.stereo_parameters.gain_global = volume * 1.f / MAXIMUM_SOUND_VOLUME; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ../Source_Files/Sound/SoundManager.cpp:445:86: warning: arithmetic between floating-point type ‘float’ and enumeration type ‘’ is deprecated [-Wdeprecated-enum-float-conversion] 445 | parameters.stereo_parameters.gain_left = variables.left_volume * 1.f / MAXIMUM_SOUND_VOLUME; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ../Source_Files/Sound/SoundManager.cpp:446:88: warning: arithmetic between floating-point type ‘float’ and enumeration type ‘’ is deprecated [-Wdeprecated-enum-float-conversion] 446 | parameters.stereo_parameters.gain_right = variables.right_volume * 1.f / MAXIMUM_SOUND_VOLUME; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ../Source_Files/Sound/SoundManager.cpp: In member function ‘void SoundManager::ManagePlayers()’: ../Source_Files/Sound/SoundManager.cpp:491:99: warning: arithmetic between floating-point type ‘float’ and enumeration type ‘’ is deprecated [-Wdeprecated-enum-float-conversion] 491 | parameters.stereo_parameters.gain_global = variables.volume * 1.f / MAXIMUM_SOUND_VOLUME; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ../Source_Files/Sound/SoundManager.cpp:492:102: warning: arithmetic between floating-point type ‘float’ and enumeration type ‘’ is deprecated [-Wdeprecated-enum-float-conversion] 492 | parameters.stereo_parameters.gain_left = variables.left_volume * 1.f / MAXIMUM_SOUND_VOLUME; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ../Source_Files/Sound/SoundManager.cpp:493:104: warning: arithmetic between floating-point type ‘float’ and enumeration type ‘’ is deprecated [-Wdeprecated-enum-float-conversion] 493 | parameters.stereo_parameters.gain_right = variables.right_volume * 1.f / MAXIMUM_SOUND_VOLUME; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from ../Source_Files/Sound/SoundManager.cpp:28: ../Source_Files/Sound/SoundManager.h: In constructor ‘SoundManager::SoundManager()’: ../Source_Files/Sound/SoundManager.h:144:14: warning: ‘SoundManager::active’ will be initialized after [-Wreorder] 144 | bool active; | ^~~~~~ ../Source_Files/Sound/SoundManager.h:143:14: warning: ‘bool SoundManager::initialized’ [-Wreorder] 143 | bool initialized; | ^~~~~~~~~~~ ../Source_Files/Sound/SoundManager.cpp:740:1: warning: when initialized here [-Wreorder] 740 | SoundManager::SoundManager() : active(false), initialized(false), sounds(new SoundMemoryManager(10 << 20)) | ^~~~~~~~~~~~ ../Source_Files/Sound/SoundManager.cpp: In member function ‘float SoundManager::CalculatePitchModifier(short int, _fixed)’: ../Source_Files/Sound/SoundManager.cpp:891:37: warning: arithmetic between floating-point type ‘float’ and enumeration type ‘’ is deprecated [-Wdeprecated-enum-float-conversion] 891 | return pitch_modifier * 1.f / _normal_frequency; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ../Source_Files/Sound/SoundManager.cpp: In member function ‘void SoundManager::UpdateAmbientSoundSources()’: ../Source_Files/Sound/SoundManager.cpp:1065:109: warning: arithmetic between floating-point type ‘float’ and enumeration type ‘’ is deprecated [-Wdeprecated-enum-float-conversion] 1065 | parameters.stereo_parameters.gain_global = ambient_sounds[i].variables.volume * 1.f / MAXIMUM_SOUND_VOLUME; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ../Source_Files/Sound/SoundManager.cpp:1066:112: warning: arithmetic between floating-point type ‘float’ and enumeration type ‘’ is deprecated [-Wdeprecated-enum-float-conversion] 1066 | parameters.stereo_parameters.gain_left = ambient_sounds[i].variables.left_volume * 1.f / MAXIMUM_SOUND_VOLUME; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ../Source_Files/Sound/SoundManager.cpp:1067:114: warning: arithmetic between floating-point type ‘float’ and enumeration type ‘’ is deprecated [-Wdeprecated-enum-float-conversion] 1067 | parameters.stereo_parameters.gain_right = ambient_sounds[i].variables.right_volume * 1.f / MAXIMUM_SOUND_VOLUME; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ../Source_Files/Sound/SoundManager.cpp:1081:109: warning: arithmetic between floating-point type ‘float’ and enumeration type ‘’ is deprecated [-Wdeprecated-enum-float-conversion] 1081 | parameters.stereo_parameters.gain_global = ambient_sounds[i].variables.volume * 1.f / MAXIMUM_SOUND_VOLUME; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ../Source_Files/Sound/SoundManager.cpp:1082:112: warning: arithmetic between floating-point type ‘float’ and enumeration type ‘’ is deprecated [-Wdeprecated-enum-float-conversion] 1082 | parameters.stereo_parameters.gain_left = ambient_sounds[i].variables.left_volume * 1.f / MAXIMUM_SOUND_VOLUME; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ../Source_Files/Sound/SoundManager.cpp:1083:114: warning: arithmetic between floating-point type ‘float’ and enumeration type ‘’ is deprecated [-Wdeprecated-enum-float-conversion] 1083 | parameters.stereo_parameters.gain_right = ambient_sounds[i].variables.right_volume * 1.f / MAXIMUM_SOUND_VOLUME; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/bits/hashtable.h: In instantiation of ‘std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::~_Hashtable() [with _Key = std::pair; _Value = std::pair, SoundOptions>; _Alloc = std::allocator, SoundOptions> >; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to >; _Hash = std::hash >; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits]’: /usr/include/c++/12/bits/unordered_map.h:102:11: required from here /usr/include/c++/12/bits/hashtable.h:1586:5: error: use of deleted function ‘std::__detail::_Hashtable_base, std::pair, SoundOptions>, std::__detail::_Select1st, std::equal_to >, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits >::~_Hashtable_base()’ 1586 | } | ^ /usr/include/c++/12/bits/hashtable.h:1578:21: error: static assertion failed: Cache the hash code or qualify your functors involved in hash code and bucket index computation with noexcept 1578 | static_assert(noexcept(declval() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1579 | ._M_bucket_index(declval(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1580 | (std::size_t)0)), | ~~~~~~~~~~~~~~~~ /usr/include/c++/12/bits/hashtable.h:1578:21: note: ‘false’ evaluates to false ninja: build stopped: subcommand failed. INFO: autodetecting backend as ninja INFO: calculating backend command to run: /usr/bin/ninja -C /home/sbizna/alephbet/builddir