Project

General

Profile

Emulator Issues #12765 » dolphin-failed-build-make-stderr.txt

make stderr output, build notes, warnings, errors, etc - nkeck72, 12/15/2021 05:20 PM

 
/home/noah/sources/dolphin/Externals/cubeb/src/speex/resample.c: In function ‘update_filter’:
/home/noah/sources/dolphin/Externals/cubeb/src/speex/resample.c:674:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
674 | for (j=0;j<st->filt_len;j++)
| ^
/home/noah/sources/dolphin/Externals/cubeb/src/speex/resample.c: In function ‘speex_resampler_process_float’:
/home/noah/sources/dolphin/Externals/cubeb/src/speex/resample.c:946:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
946 | for(j=0;j<ichunk;++j)
| ^
/home/noah/sources/dolphin/Externals/cubeb/src/speex/resample.c:949:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
949 | for(j=0;j<ichunk;++j)
| ^
/home/noah/sources/dolphin/Externals/cubeb/src/speex/resample.c: In function ‘speex_resampler_process_int’:
/home/noah/sources/dolphin/Externals/cubeb/src/speex/resample.c:1002:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
1002 | for(j=0;j<ichunk;++j)
| ^
/home/noah/sources/dolphin/Externals/cubeb/src/speex/resample.c:1009:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
1009 | for(j=0;j<ichunk;++j)
| ^
/home/noah/sources/dolphin/Externals/cubeb/src/speex/resample.c:1019:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
1019 | for (j=0;j<ochunk+omagic;++j)
| ^
/home/noah/sources/dolphin/Externals/mGBA/mgba/src/core/log.c: In function ‘mLogFilterSave’:
/home/noah/sources/dolphin/Externals/mGBA/mgba/src/core/log.c:129:17: warning: ‘%s’ directive argument is null [-Wformat-truncation=]
129 | snprintf(configName, sizeof(configName) - 1, "logLevel.%s", mLogCategoryId(i));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/noah/sources/dolphin/Externals/cubeb/src/cubeb_alsa.c:8: warning: "_DEFAULT_SOURCE" redefined
8 | #define _DEFAULT_SOURCE
|
<command-line>: note: this is the location of the previous definition
/home/noah/sources/dolphin/Externals/cubeb/src/cubeb_jack.cpp:9: warning: "_DEFAULT_SOURCE" redefined
9 | #define _DEFAULT_SOURCE
|
<command-line>: note: this is the location of the previous definition
/home/noah/sources/dolphin/Externals/cubeb/src/cubeb_jack.cpp: In function ‘int cbjack_enumerate_devices(cubeb*, cubeb_device_type, cubeb_device_collection*)’:
/home/noah/sources/dolphin/Externals/cubeb/src/cubeb_jack.cpp:989:12: warning: ‘rate’ may be used uninitialized in this function [-Wmaybe-uninitialized]
989 | uint32_t rate;
| ^~~~
/home/noah/sources/dolphin/Externals/mGBA/mgba/src/sm83/decoder.c: In function ‘SM83Decode’:
/home/noah/sources/dolphin/Externals/mGBA/mgba/src/sm83/decoder.c:418:16: warning: ‘decoder’ may be used uninitialized in this function [-Wmaybe-uninitialized]
418 | return decoder(opcode, info);
| ^~~~~~~~~~~~~~~~~~~~~
/home/noah/sources/dolphin/Externals/mGBA/mgba/src/gb/memory.c: In function ‘GBLoad8’:
/home/noah/sources/dolphin/Externals/mGBA/mgba/src/gb/memory.c:287:77: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
287 | } else if (cpu->tMultiplier * (cpu->pc - memory->cartBusPc) >= memory->cartBusDecay) {
| ^~
/home/noah/sources/dolphin/Externals/mGBA/mgba/src/arm/decoder.c: In function ‘ARMResolveMemoryAccess’:
/home/noah/sources/dolphin/Externals/mGBA/mgba/src/arm/decoder.c:565:67: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
565 | offset = info->memory.offset.reg == ARM_PC ? pc : regs->gprs[info->memory.offset.reg];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/noah/sources/dolphin/Externals/mGBA/mgba/src/gba/renderers/software-bg.c: In function ‘GBAVideoSoftwareRendererDrawBackgroundMode2’:
/home/noah/sources/dolphin/Externals/mGBA/mgba/src/gba/renderers/software-bg.c:70:40: warning: ‘localY’ may be used uninitialized in this function [-Wmaybe-uninitialized]
70 | localY &= sizeAdjusted - 1; \
| ^~
In file included from /home/noah/sources/dolphin/Externals/mGBA/mgba/src/gba/renderers/software-bg.c:6:
/home/noah/sources/dolphin/Externals/mGBA/mgba/src/gba/renderers/software-private.h:175:17: note: ‘localY’ was declared here
175 | int32_t localY; \
| ^~~~~~
/home/noah/sources/dolphin/Externals/mGBA/mgba/src/gba/renderers/software-bg.c:82:9: note: in expansion of macro ‘BACKGROUND_BITMAP_INIT’
82 | BACKGROUND_BITMAP_INIT;
| ^~~~~~~~~~~~~~~~~~~~~~
/home/noah/sources/dolphin/Externals/mGBA/mgba/src/gba/renderers/software-bg.c:69:40: warning: ‘localX’ may be used uninitialized in this function [-Wmaybe-uninitialized]
69 | localX &= sizeAdjusted - 1; \
| ^~
In file included from /home/noah/sources/dolphin/Externals/mGBA/mgba/src/gba/renderers/software-bg.c:6:
/home/noah/sources/dolphin/Externals/mGBA/mgba/src/gba/renderers/software-private.h:174:17: note: ‘localX’ was declared here
174 | int32_t localX; \
| ^~~~~~
/home/noah/sources/dolphin/Externals/mGBA/mgba/src/gba/renderers/software-bg.c:82:9: note: in expansion of macro ‘BACKGROUND_BITMAP_INIT’
82 | BACKGROUND_BITMAP_INIT;
| ^~~~~~~~~~~~~~~~~~~~~~
/home/noah/sources/dolphin/Externals/mGBA/mgba/src/gba/sio/lockstep.c: In function ‘_GBASIOLockstepNodeProcessEvents’:
/home/noah/sources/dolphin/Externals/mGBA/mgba/src/gba/sio/lockstep.c:454:17: warning: enumeration value ‘SIO_UART’ not handled in switch [-Wswitch]
454 | switch (node->mode) {
| ^~~~~~
/home/noah/sources/dolphin/Externals/mGBA/mgba/src/gba/sio/lockstep.c:454:17: warning: enumeration value ‘SIO_GPIO’ not handled in switch [-Wswitch]
/home/noah/sources/dolphin/Externals/mGBA/mgba/src/gba/sio/lockstep.c:454:17: warning: enumeration value ‘SIO_JOYBUS’ not handled in switch [-Wswitch]
In file included from /usr/include/c++/11.1.0/string:40,
from /home/noah/sources/dolphin/Source/Core/AudioCommon/AudioCommon.h:7,
from /home/noah/sources/dolphin/Source/Core/AudioCommon/AudioCommon.cpp:4:
In static member function ‘static std::char_traits<char>::char_type* std::char_traits<char>::copy(std::char_traits<char>::char_type*, const char_type*, std::size_t)’,
inlined from ‘static void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_S_copy(_CharT*, const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’ at /usr/include/c++/11.1.0/bits/basic_string.h:351:21,
inlined from ‘static void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_S_copy(_CharT*, const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’ at /usr/include/c++/11.1.0/bits/basic_string.h:346:7,
inlined from ‘static void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_S_copy_chars(_CharT*, const _CharT*, const _CharT*) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’ at /usr/include/c++/11.1.0/bits/basic_string.h:398:16,
inlined from ‘void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_construct(_InIterator, _InIterator, std::forward_iterator_tag) [with _FwdIterator = const char*; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’ at /usr/include/c++/11.1.0/bits/basic_string.tcc:225:25,
inlined from ‘void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_construct_aux(_InIterator, _InIterator, std::__false_type) [with _InIterator = const char*; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’ at /usr/include/c++/11.1.0/bits/basic_string.h:247:23,
inlined from ‘void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_construct(_InIterator, _InIterator) [with _InIterator = const char*; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’ at /usr/include/c++/11.1.0/bits/basic_string.h:266:20,
inlined from ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with <template-parameter-2-1> = std::allocator<char>; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’ at /usr/include/c++/11.1.0/bits/basic_string.h:527:21,
inlined from ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = std::__cxx11::basic_string<char>; _Args = {const char (&)[5]}; _Tp = std::__cxx11::basic_string<char>]’ at /usr/include/c++/11.1.0/ext/new_allocator.h:156:4,
inlined from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = std::__cxx11::basic_string<char>; _Args = {const char (&)[5]}; _Tp = std::__cxx11::basic_string<char>]’ at /usr/include/c++/11.1.0/bits/alloc_traits.h:512:17,
inlined from ‘std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const char (&)[5]}; _Tp = std::__cxx11::basic_string<char>; _Alloc = std::allocator<std::__cxx11::basic_string<char> >]’ at /usr/include/c++/11.1.0/bits/vector.tcc:115:30,
inlined from ‘std::vector<std::__cxx11::basic_string<char> > AudioCommon::GetSoundBackends()’ at /home/noah/sources/dolphin/Source/Core/AudioCommon/AudioCommon.cpp:124:26:
/usr/include/c++/11.1.0/bits/char_traits.h:409:56: warning: ‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ writing 4 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
409 | return static_cast<char_type*>(__builtin_memcpy(__s1, __s2, __n));
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/11.1.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/11.1.0/bits/allocator.h:46,
from /usr/include/c++/11.1.0/memory:64,
from /home/noah/sources/dolphin/Source/Core/AudioCommon/AudioCommon.h:6,
from /home/noah/sources/dolphin/Source/Core/AudioCommon/AudioCommon.cpp:4:
/usr/include/c++/11.1.0/ext/new_allocator.h: In function ‘std::vector<std::__cxx11::basic_string<char> > AudioCommon::GetSoundBackends()’:
/usr/include/c++/11.1.0/ext/new_allocator.h:121:48: note: at offset 80 into destination object of size 64 allocated by ‘operator new’
121 | return static_cast<_Tp*>(::operator new(__n * sizeof(_Tp)));
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/home/noah/sources/dolphin/Source/Core/DiscIO/VolumeVerifier.cpp: In member function ‘void DiscIO::VolumeVerifier::Process()’:
/home/noah/sources/dolphin/Source/Core/DiscIO/VolumeVerifier.cpp:1116:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<long unsigned int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1116 | if (m_content_index + 1 < m_content_offsets.size() &&
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/noah/sources/dolphin/Source/Core/VideoCommon/CPMemory.cpp: In function ‘void CopyPreprocessCPStateFromMain()’:
/home/noah/sources/dolphin/Source/Core/VideoCommon/CPMemory.cpp:31:9: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct CPState’ with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess]
31 | memcpy(&g_preprocess_cp_state, &g_main_cp_state, sizeof(CPState));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/noah/sources/dolphin/Source/Core/VideoCommon/CPMemory.cpp:4:
/home/noah/sources/dolphin/Source/Core/VideoCommon/CPMemory.h:608:8: note: ‘struct CPState’ declared here
608 | struct CPState final
| ^~~~~~~
/home/noah/sources/dolphin/Source/Core/VideoCommon/PixelShaderGen.cpp: In function ‘void WriteStage(ShaderCode&, const pixel_shader_uid_data*, int, APIType, bool)’:
/home/noah/sources/dolphin/Source/Core/VideoCommon/PixelShaderGen.cpp:1291:48: warning: narrowing conversion of ‘(unsigned int)stage.pixel_shader_uid_data::<unnamed struct>::tevind’ from ‘unsigned int’ to ‘unsigned int:21’ [-Wnarrowing]
1291 | const TevStageIndirect tevind{.hex = stage.tevind};
| ~~~~~~^~~~~~
/home/noah/sources/dolphin/Source/Core/VideoCommon/XFStructs.cpp: In function ‘std::pair<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> > GetXFTransferInfo(const u8*)’:
/home/noah/sources/dolphin/Source/Core/VideoCommon/XFStructs.cpp:609:19: warning: ‘fmt::v8::appender fmt::v8::format_to(fmt::v8::basic_memory_buffer<char, SIZE, Allocator>&, fmt::v8::format_string<T ...>, T&& ...) [with T = {}; long unsigned int SIZE = 500; Allocator = std::allocator<char>; fmt::v8::format_string<T ...> = fmt::v8::basic_format_string<char>]’ is deprecated [-Wdeprecated-declarations]
609 | fmt::format_to(name, "Invalid XF Transfer ");
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/noah/sources/dolphin/Source/Core/Common/BitField.h:34,
from /home/noah/sources/dolphin/Source/Core/VideoCommon/XFMemory.h:11,
from /home/noah/sources/dolphin/Source/Core/VideoCommon/XFStructs.h:9,
from /home/noah/sources/dolphin/Source/Core/VideoCommon/XFStructs.cpp:4:
/usr/include/fmt/format.h:2790:21: note: declared here
2790 | FMT_DEPRECATED auto format_to(basic_memory_buffer<char, SIZE, Allocator>& buf,
| ^~~~~~~~~
/home/noah/sources/dolphin/Source/Core/VideoCommon/XFStructs.cpp:610:19: warning: ‘fmt::v8::appender fmt::v8::format_to(fmt::v8::basic_memory_buffer<char, SIZE, Allocator>&, fmt::v8::format_string<T ...>, T&& ...) [with T = {}; long unsigned int SIZE = 500; Allocator = std::allocator<char>; fmt::v8::format_string<T ...> = fmt::v8::basic_format_string<char>]’ is deprecated [-Wdeprecated-declarations]
610 | fmt::format_to(desc, "Transfer ends past end of address space\n\n");
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/noah/sources/dolphin/Source/Core/Common/BitField.h:34,
from /home/noah/sources/dolphin/Source/Core/VideoCommon/XFMemory.h:11,
from /home/noah/sources/dolphin/Source/Core/VideoCommon/XFStructs.h:9,
from /home/noah/sources/dolphin/Source/Core/VideoCommon/XFStructs.cpp:4:
/usr/include/fmt/format.h:2790:21: note: declared here
2790 | FMT_DEPRECATED auto format_to(basic_memory_buffer<char, SIZE, Allocator>& buf,
| ^~~~~~~~~
/home/noah/sources/dolphin/Source/Core/VideoCommon/XFStructs.cpp:626:19: warning: ‘fmt::v8::appender fmt::v8::format_to(fmt::v8::basic_memory_buffer<char, SIZE, Allocator>&, fmt::v8::format_string<T ...>, T&& ...) [with T = {unsigned int&, const unsigned int&}; long unsigned int SIZE = 500; Allocator = std::allocator<char>; fmt::v8::format_string<T ...> = fmt::v8::basic_format_string<char, unsigned int&, const unsigned int&>]’ is deprecated [-Wdeprecated-declarations]
626 | fmt::format_to(name, "Write {} XF mem words at {:04x}", xf_mem_transfer_size, xf_mem_base);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/noah/sources/dolphin/Source/Core/Common/BitField.h:34,
from /home/noah/sources/dolphin/Source/Core/VideoCommon/XFMemory.h:11,
from /home/noah/sources/dolphin/Source/Core/VideoCommon/XFStructs.h:9,
from /home/noah/sources/dolphin/Source/Core/VideoCommon/XFStructs.cpp:4:
/usr/include/fmt/format.h:2790:21: note: declared here
2790 | FMT_DEPRECATED auto format_to(basic_memory_buffer<char, SIZE, Allocator>& buf,
| ^~~~~~~~~
/home/noah/sources/dolphin/Source/Core/VideoCommon/XFStructs.cpp:631:21: warning: ‘fmt::v8::appender fmt::v8::format_to(fmt::v8::basic_memory_buffer<char, SIZE, Allocator>&, fmt::v8::format_string<T ...>, T&& ...) [with T = {const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&}; long unsigned int SIZE = 500; Allocator = std::allocator<char>; fmt::v8::format_string<T ...> = fmt::v8::basic_format_string<char, const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&>]’ is deprecated [-Wdeprecated-declarations]
631 | fmt::format_to(desc, i == 0 ? "{}" : "\n{}", mem_desc);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/noah/sources/dolphin/Source/Core/Common/BitField.h:34,
from /home/noah/sources/dolphin/Source/Core/VideoCommon/XFMemory.h:11,
from /home/noah/sources/dolphin/Source/Core/VideoCommon/XFStructs.h:9,
from /home/noah/sources/dolphin/Source/Core/VideoCommon/XFStructs.cpp:4:
/usr/include/fmt/format.h:2790:21: note: declared here
2790 | FMT_DEPRECATED auto format_to(basic_memory_buffer<char, SIZE, Allocator>& buf,
| ^~~~~~~~~
/home/noah/sources/dolphin/Source/Core/VideoCommon/XFStructs.cpp:636:21: warning: ‘fmt::v8::appender fmt::v8::format_to(fmt::v8::basic_memory_buffer<char, SIZE, Allocator>&, fmt::v8::format_string<T ...>, T&& ...) [with T = {}; long unsigned int SIZE = 500; Allocator = std::allocator<char>; fmt::v8::format_string<T ...> = fmt::v8::basic_format_string<char>]’ is deprecated [-Wdeprecated-declarations]
636 | fmt::format_to(name, "; ");
| ~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /home/noah/sources/dolphin/Source/Core/Common/BitField.h:34,
from /home/noah/sources/dolphin/Source/Core/VideoCommon/XFMemory.h:11,
from /home/noah/sources/dolphin/Source/Core/VideoCommon/XFStructs.h:9,
from /home/noah/sources/dolphin/Source/Core/VideoCommon/XFStructs.cpp:4:
/usr/include/fmt/format.h:2790:21: note: declared here
2790 | FMT_DEPRECATED auto format_to(basic_memory_buffer<char, SIZE, Allocator>& buf,
| ^~~~~~~~~
/home/noah/sources/dolphin/Source/Core/VideoCommon/XFStructs.cpp:642:19: warning: ‘fmt::v8::appender fmt::v8::format_to(fmt::v8::basic_memory_buffer<char, SIZE, Allocator>&, fmt::v8::format_string<T ...>, T&& ...) [with T = {unsigned int, unsigned int&}; long unsigned int SIZE = 500; Allocator = std::allocator<char>; fmt::v8::format_string<T ...> = fmt::v8::basic_format_string<char, unsigned int, unsigned int&>]’ is deprecated [-Wdeprecated-declarations]
642 | fmt::format_to(name, "Write {} XF regs at {:04x}", end_address - base_address, base_address);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/noah/sources/dolphin/Source/Core/Common/BitField.h:34,
from /home/noah/sources/dolphin/Source/Core/VideoCommon/XFMemory.h:11,
from /home/noah/sources/dolphin/Source/Core/VideoCommon/XFStructs.h:9,
from /home/noah/sources/dolphin/Source/Core/VideoCommon/XFStructs.cpp:4:
/usr/include/fmt/format.h:2790:21: note: declared here
2790 | FMT_DEPRECATED auto format_to(basic_memory_buffer<char, SIZE, Allocator>& buf,
| ^~~~~~~~~
/home/noah/sources/dolphin/Source/Core/VideoCommon/XFStructs.cpp:649:21: warning: ‘fmt::v8::appender fmt::v8::format_to(fmt::v8::basic_memory_buffer<char, SIZE, Allocator>&, fmt::v8::format_string<T ...>, T&& ...) [with T = {const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&}; long unsigned int SIZE = 500; Allocator = std::allocator<char>; fmt::v8::format_string<T ...> = fmt::v8::basic_format_string<char, const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&>]’ is deprecated [-Wdeprecated-declarations]
649 | fmt::format_to(desc, "{}\n{}\n", regname, regdesc);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/noah/sources/dolphin/Source/Core/Common/BitField.h:34,
from /home/noah/sources/dolphin/Source/Core/VideoCommon/XFMemory.h:11,
from /home/noah/sources/dolphin/Source/Core/VideoCommon/XFStructs.h:9,
from /home/noah/sources/dolphin/Source/Core/VideoCommon/XFStructs.cpp:4:
/usr/include/fmt/format.h:2790:21: note: declared here
2790 | FMT_DEPRECATED auto format_to(basic_memory_buffer<char, SIZE, Allocator>& buf,
| ^~~~~~~~~
/home/noah/sources/dolphin/Source/Core/VideoCommon/XFStructs.cpp: In function ‘std::pair<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> > GetXFIndexedLoadInfo(u8, u32)’:
/home/noah/sources/dolphin/Source/Core/VideoCommon/XFStructs.cpp:667:19: warning: ‘fmt::v8::appender fmt::v8::format_to(fmt::v8::basic_memory_buffer<char, SIZE, Allocator>&, fmt::v8::format_string<T ...>, T&& ...) [with T = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}; long unsigned int SIZE = 500; Allocator = std::allocator<char>; fmt::v8::format_string<T ...> = fmt::v8::basic_format_string<char, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >]’ is deprecated [-Wdeprecated-declarations]
667 | fmt::format_to(written, "{}\n", GetXFMemName(address + i));
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/noah/sources/dolphin/Source/Core/Common/BitField.h:34,
from /home/noah/sources/dolphin/Source/Core/VideoCommon/XFMemory.h:11,
from /home/noah/sources/dolphin/Source/Core/VideoCommon/XFStructs.h:9,
from /home/noah/sources/dolphin/Source/Core/VideoCommon/XFStructs.cpp:4:
/usr/include/fmt/format.h:2790:21: note: declared here
2790 | FMT_DEPRECATED auto format_to(basic_memory_buffer<char, SIZE, Allocator>& buf,
| ^~~~~~~~~
/home/noah/sources/dolphin/Source/Core/Core/Core.cpp: In function ‘bool Core::RemoveOnStateChangedCallback(int*)’:
/home/noah/sources/dolphin/Source/Core/Core/Core.cpp:1031:69: warning: comparison of integer expressions of different signedness: ‘std::vector<std::function<void(Core::State)> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
1031 | if (handle && *handle >= 0 && s_on_state_changed_callbacks.size() > *handle)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/home/noah/sources/dolphin/Source/Core/Core/FifoPlayer/FifoDataFile.cpp: In static member function ‘static std::unique_ptr<FifoDataFile> FifoDataFile::Load(const string&, bool)’:
/home/noah/sources/dolphin/Source/Core/Core/FifoPlayer/FifoDataFile.cpp:286:7: warning: variable ‘size’ set but not used [-Wunused-but-set-variable]
286 | u32 size = std::min<u32>(BP_MEM_SIZE, header.bpMemSize);
| ^~~~
/home/noah/sources/dolphin/Source/Core/Core/FifoPlayer/FifoPlayer.cpp: In member function ‘void FifoPlayer::ClearEfb()’:
/home/noah/sources/dolphin/Source/Core/Core/FifoPlayer/FifoPlayer.cpp:590:17: warning: ‘tl.X10Y10::x.BitField<0, 10, unsigned int>::storage’ is used uninitialized [-Wuninitialized]
590 | cmd |= (value & 0x00ffffff);
| ~~~~~~~^~~~~~~~~~~~~
/home/noah/sources/dolphin/Source/Core/Core/FifoPlayer/FifoPlayer.cpp:461:10: note: ‘tl.X10Y10::x.BitField<0, 10, unsigned int>::storage’ was declared here
461 | X10Y10 tl;
| ^~
/home/noah/sources/dolphin/Source/Core/Core/FifoPlayer/FifoPlayer.cpp:465:10: warning: ‘wh.X10Y10::x.BitField<0, 10, unsigned int>::storage’ is used uninitialized [-Wuninitialized]
465 | X10Y10 wh;
| ^~
/home/noah/sources/dolphin/Source/Core/Core/FifoPlayer/FifoPlayer.cpp:472:12: warning: ‘copy.UPE_Copy::clamp_top.BitField<0, 1, bool, unsigned int>::storage’ is used uninitialized [-Wuninitialized]
472 | UPE_Copy copy;
| ^~~~
In file included from /usr/include/c++/11.1.0/array:40,
from /home/noah/sources/dolphin/Source/Core/Core/IOS/ES/Formats.h:9,
from /home/noah/sources/dolphin/Source/Core/Core/IOS/ES/Formats.cpp:4:
In static member function ‘static _Tp* std::__copy_move<_IsMove, true, std::random_access_iterator_tag>::__copy_m(const _Tp*, const _Tp*, _Tp*) [with _Tp = unsigned char; bool _IsMove = true]’,
inlined from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = true; _II = unsigned char*; _OI = unsigned char*]’ at /usr/include/c++/11.1.0/bits/stl_algobase.h:495:30,
inlined from ‘_OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = true; _II = unsigned char*; _OI = unsigned char*]’ at /usr/include/c++/11.1.0/bits/stl_algobase.h:522:42,
inlined from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = true; _II = unsigned char*; _OI = unsigned char*]’ at /usr/include/c++/11.1.0/bits/stl_algobase.h:529:31,
inlined from ‘_OI std::copy(_II, _II, _OI) [with _II = std::move_iterator<unsigned char*>; _OI = unsigned char*]’ at /usr/include/c++/11.1.0/bits/stl_algobase.h:620:7,
inlined from ‘static _ForwardIterator std::__uninitialized_copy<true>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = std::move_iterator<unsigned char*>; _ForwardIterator = unsigned char*]’ at /usr/include/c++/11.1.0/bits/stl_uninitialized.h:110:27,
inlined from ‘_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = std::move_iterator<unsigned char*>; _ForwardIterator = unsigned char*]’ at /usr/include/c++/11.1.0/bits/stl_uninitialized.h:151:15,
inlined from ‘_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator<_Tp>&) [with _InputIterator = std::move_iterator<unsigned char*>; _ForwardIterator = unsigned char*; _Tp = unsigned char]’ at /usr/include/c++/11.1.0/bits/stl_uninitialized.h:333:37,
inlined from ‘_ForwardIterator std::__uninitialized_move_if_noexcept_a(_InputIterator, _InputIterator, _ForwardIterator, _Allocator&) [with _InputIterator = unsigned char*; _ForwardIterator = unsigned char*; _Allocator = std::allocator<unsigned char>]’ at /usr/include/c++/11.1.0/bits/stl_uninitialized.h:355:2,
inlined from ‘void std::vector<_Tp, _Alloc>::_M_range_insert(std::vector<_Tp, _Alloc>::iterator, _ForwardIterator, _ForwardIterator, std::forward_iterator_tag) [with _ForwardIterator = __gnu_cxx::__normal_iterator<const unsigned char*, std::vector<unsigned char> >; _Tp = unsigned char; _Alloc = std::allocator<unsigned char>]’ at /usr/include/c++/11.1.0/bits/vector.tcc:783:9,
inlined from ‘void std::vector<_Tp, _Alloc>::_M_insert_dispatch(std::vector<_Tp, _Alloc>::iterator, _InputIterator, _InputIterator, std::__false_type) [with _InputIterator = __gnu_cxx::__normal_iterator<const unsigned char*, std::vector<unsigned char> >; _Tp = unsigned char; _Alloc = std::allocator<unsigned char>]’ at /usr/include/c++/11.1.0/bits/stl_vector.h:1665:19,
inlined from ‘std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::insert(std::vector<_Tp, _Alloc>::const_iterator, _InputIterator, _InputIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<const unsigned char*, std::vector<unsigned char> >; <template-parameter-2-2> = void; _Tp = unsigned char; _Alloc = std::allocator<unsigned char>]’ at /usr/include/c++/11.1.0/bits/stl_vector.h:1383:22,
inlined from ‘std::vector<unsigned char> IOS::ES::TMDReader::GetRawView() const’ at /home/noah/sources/dolphin/Source/Core/Core/IOS/ES/Formats.cpp:237:14:
/usr/include/c++/11.1.0/bits/stl_algobase.h:431:30: warning: ‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
431 | __builtin_memmove(__result, __first, sizeof(_Tp) * _Num);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/11.1.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/11.1.0/bits/allocator.h:46,
from /usr/include/c++/11.1.0/bits/stl_tree.h:64,
from /usr/include/c++/11.1.0/map:60,
from /home/noah/sources/dolphin/Source/Core/Core/IOS/ES/Formats.h:11,
from /home/noah/sources/dolphin/Source/Core/Core/IOS/ES/Formats.cpp:4:
/usr/include/c++/11.1.0/ext/new_allocator.h: In member function ‘std::vector<unsigned char> IOS::ES::TMDReader::GetRawView() const’:
/usr/include/c++/11.1.0/ext/new_allocator.h:121:48: note: at offset 88 into source object of size 88 allocated by ‘operator new’
121 | return static_cast<_Tp*>(::operator new(__n * sizeof(_Tp)));
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/11.1.0/array:40,
from /home/noah/sources/dolphin/Source/Core/Core/IOS/ES/Formats.h:9,
from /home/noah/sources/dolphin/Source/Core/Core/IOS/ES/Formats.cpp:4:
In static member function ‘static _Tp* std::__copy_move<_IsMove, true, std::random_access_iterator_tag>::__copy_m(const _Tp*, const _Tp*, _Tp*) [with _Tp = unsigned char; bool _IsMove = true]’,
inlined from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = true; _II = unsigned char*; _OI = unsigned char*]’ at /usr/include/c++/11.1.0/bits/stl_algobase.h:495:30,
inlined from ‘_OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = true; _II = unsigned char*; _OI = unsigned char*]’ at /usr/include/c++/11.1.0/bits/stl_algobase.h:522:42,
inlined from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = true; _II = unsigned char*; _OI = unsigned char*]’ at /usr/include/c++/11.1.0/bits/stl_algobase.h:529:31,
inlined from ‘_OI std::copy(_II, _II, _OI) [with _II = std::move_iterator<unsigned char*>; _OI = unsigned char*]’ at /usr/include/c++/11.1.0/bits/stl_algobase.h:620:7,
inlined from ‘static _ForwardIterator std::__uninitialized_copy<true>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = std::move_iterator<unsigned char*>; _ForwardIterator = unsigned char*]’ at /usr/include/c++/11.1.0/bits/stl_uninitialized.h:110:27,
inlined from ‘_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = std::move_iterator<unsigned char*>; _ForwardIterator = unsigned char*]’ at /usr/include/c++/11.1.0/bits/stl_uninitialized.h:151:15,
inlined from ‘_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator<_Tp>&) [with _InputIterator = std::move_iterator<unsigned char*>; _ForwardIterator = unsigned char*; _Tp = unsigned char]’ at /usr/include/c++/11.1.0/bits/stl_uninitialized.h:333:37,
inlined from ‘_ForwardIterator std::__uninitialized_move_if_noexcept_a(_InputIterator, _InputIterator, _ForwardIterator, _Allocator&) [with _InputIterator = unsigned char*; _ForwardIterator = unsigned char*; _Allocator = std::allocator<unsigned char>]’ at /usr/include/c++/11.1.0/bits/stl_uninitialized.h:355:2,
inlined from ‘void std::vector<_Tp, _Alloc>::_M_range_insert(std::vector<_Tp, _Alloc>::iterator, _ForwardIterator, _ForwardIterator, std::forward_iterator_tag) [with _ForwardIterator = __gnu_cxx::__normal_iterator<const unsigned char*, std::vector<unsigned char> >; _Tp = unsigned char; _Alloc = std::allocator<unsigned char>]’ at /usr/include/c++/11.1.0/bits/vector.tcc:783:9,
inlined from ‘void std::vector<_Tp, _Alloc>::_M_insert_dispatch(std::vector<_Tp, _Alloc>::iterator, _InputIterator, _InputIterator, std::__false_type) [with _InputIterator = __gnu_cxx::__normal_iterator<const unsigned char*, std::vector<unsigned char> >; _Tp = unsigned char; _Alloc = std::allocator<unsigned char>]’ at /usr/include/c++/11.1.0/bits/stl_vector.h:1665:19,
inlined from ‘std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::insert(std::vector<_Tp, _Alloc>::const_iterator, _InputIterator, _InputIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<const unsigned char*, std::vector<unsigned char> >; <template-parameter-2-2> = void; _Tp = unsigned char; _Alloc = std::allocator<unsigned char>]’ at /usr/include/c++/11.1.0/bits/stl_vector.h:1383:22,
inlined from ‘std::vector<unsigned char> IOS::ES::TicketReader::GetRawTicketView(u32) const’ at /home/noah/sources/dolphin/Source/Core/Core/IOS/ES/Formats.cpp:403:14:
/usr/include/c++/11.1.0/bits/stl_algobase.h:431:30: warning: ‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
431 | __builtin_memmove(__result, __first, sizeof(_Tp) * _Num);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/11.1.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/11.1.0/bits/allocator.h:46,
from /usr/include/c++/11.1.0/bits/stl_tree.h:64,
from /usr/include/c++/11.1.0/map:60,
from /home/noah/sources/dolphin/Source/Core/Core/IOS/ES/Formats.h:11,
from /home/noah/sources/dolphin/Source/Core/Core/IOS/ES/Formats.cpp:4:
/usr/include/c++/11.1.0/ext/new_allocator.h: In member function ‘std::vector<unsigned char> IOS::ES::TicketReader::GetRawTicketView(u32) const’:
/usr/include/c++/11.1.0/ext/new_allocator.h:121:48: note: at offset 4 into source object of size 4 allocated by ‘operator new’
121 | return static_cast<_Tp*>(::operator new(__n * sizeof(_Tp)));
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
In file included from /home/noah/sources/dolphin/Source/Core/Core/IOS/Device.h:11,
from /home/noah/sources/dolphin/Source/Core/Core/IOS/USB/OH0/OH0.h:15,
from /home/noah/sources/dolphin/Source/Core/Core/IOS/USB/OH0/OH0.cpp:4:
/home/noah/sources/dolphin/Source/Core/Common/ChunkFile.h: In member function ‘virtual void IOS::HLE::OH0::DoState(PointerWrap&)’:
/home/noah/sources/dolphin/Source/Core/Common/ChunkFile.h:327:13: warning: ‘value’ may be used uninitialized [-Wmaybe-uninitialized]
327 | memcpy(*ptr, data, size);
| ~~~~~~^~~~~~~~~~~~~~~~~~
/home/noah/sources/dolphin/Source/Core/Common/ChunkFile.h:95:11: note: ‘value’ was declared here
95 | V value;
| ^~~~~
/home/noah/sources/dolphin/Source/Core/Core/NetPlayCommon.cpp: In function ‘bool NetPlay::DecompressPacketIntoFolderInternal(sf::Packet&, const string&)’:
/home/noah/sources/dolphin/Source/Core/Core/NetPlayCommon.cpp:238:14: error: ‘all_of’ is not a member of ‘std’
238 | if (std::all_of(name.begin(), name.end(), [](char c) { return c == '.'; }))
| ^~~~~~
make[2]: *** [Source/Core/Core/CMakeFiles/core.dir/build.make:3002: Source/Core/Core/CMakeFiles/core.dir/NetPlayCommon.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/home/noah/sources/dolphin/Source/Core/Core/NetPlayClient.cpp: In lambda function:
/home/noah/sources/dolphin/Source/Core/Core/NetPlayClient.cpp:1747:27: warning: declaration of ‘const string path’ shadows a parameter [-Wshadow]
1747 | const std::string path = File::GetUserPath(D_USER_IDX) + "Wii" GC_MEMCARD_NETPLAY DIR_SEP;
| ^~~~
/home/noah/sources/dolphin/Source/Core/Core/NetPlayClient.cpp:1693:50: note: shadowed declaration is here
1693 | bool NetPlayClient::StartGame(const std::string& path)
| ~~~~~~~~~~~~~~~~~~~^~~~
make[1]: *** [CMakeFiles/Makefile2:1534: Source/Core/Core/CMakeFiles/core.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
(2-2/3)