pineappleEA/Pineapple-Linux

Linux compilation failing

Blad3forc3 opened this issue · 4 comments

../src/video_core/command_classes/codecs/codec.cpp:70:23: warning: ‘AVCodecContext::refcounted_frames’ is deprecated [-Wdeprecated-declarations]
70 | av_codec_ctx->refcounted_frames = 1;
| ^~~~~~~~~~~~~~~~~
In file included from ../src/./video_core/command_classes/codecs/codec.h:17,
from ../src/video_core/command_classes/codecs/codec.cpp:9:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:2396:9: note: declared here
2396 | int refcounted_frames;
| ^~~~~~~~~~~~~~~~~
[794/1051] Building CXX object src/core/CMakeFiles/core.dir/hle/service/bcat/backend/boxcat.cpp.o
ninja: build stopped: subcommand failed.


Compilation failed!
You might want to try an older version of yuzu

I'll need some more information to hopefully fix the issue.
What distro are you compiling? Also could you post the full terminal output?
Additionally, what does gcc -v output?

gcc -v

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:hsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.3.0-17ubuntu120.04' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-HskZEa/gcc-9-9.3.0/debian/tmp-nvptx/usr,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1
20.04)

KDE Neon

/$$ /$$$$$$$$ /$$$$$$ /$$
|/ | $$/ /$$ $$ | $$
/$$$$$$ /$$ /$$$$$$$ | $$ | $$ \ $$ /$$$$$$ /$$$$$$ | $$ /$$$$$$
/$$
_ $$| $$| $$__ $$| $$$$$ | $$$$$$$$ /$$__ $$ /$$__ $$| $$ /$$__ $$
| $$ \ $$| $$| $$ \ $$| $$/ | $$ $$| $$ \ $$| $$ \ $$| $$| $$$$$$$$
| $$ | $$| $$| $$ | $$| $$ | $$ | $$| $$ | $$| $$ | $$| $$| $$/
| $$$$$$$/| $$| $$ | $$| $$$$$$$$| $$ | $$| $$$$$$$/| $$$$$$$/| $$| $$$$$$$
| $$____/ |/|
/ |
/|/|/ |/| $$/ | $$/ |/ _/
| $$ | $$ | $$
| $$ | $$ | $$
|/ |
/ |
_/
on pizza
Brought to you by EmuWorld!
NOW BACK FROM THE DEAD! Check option 4 to get a new invite.
REMINDER:In case the build fails, grab the latest AppImage from https://edisionnano.github.io
Latest version is 1181
[1] Download it
[2] Download an older version
[3] Uninstall
[4] To display Discord Invite
or anything else to exit.
Option:1

12/02 16:53:26 [NOTICE] Downloading 1 item(s)

*** Download Progress Summary as of Wed Dec 2 16:54:26 2020 ***

[#d8177a 61MiB/63MiB(96%) CN:1 DL:0.9MiB ETA:2s]
FILE: /tmp/pineapple/YuzuEA-1181.7z

[#d8177a 63MiB/63MiB(99%) CN:1 DL:699KiB]
12/02 16:54:30 [NOTICE] Download complete: /tmp/pineapple/YuzuEA-1181.7z

Download Results:
gid |stat|avg speed |path/URI
======+====+===========+=======================================================
d8177a|OK | 0.9MiB/s|/tmp/pineapple/YuzuEA-1181.7z

Status Legend:
(OK):download completed.

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_GB.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs Intel(R) Core(TM) i5-4460 CPU @ 3.20GHz (306C3),ASM,AES-NI)

Scanning the drive for archives:
1 file, 66555588 bytes (64 MiB)

Extracting archive: YuzuEA-1181.7z

Path = YuzuEA-1181.7z
Type = 7z
Physical Size = 66555588
Headers Size = 978
Method = LZMA2:24 BCJ
Solid = +
Blocks = 2

Everything is Ok

Files: 6
Size: 34377223
Compressed: 66555588
patching file CMakeModules/GenerateSCMRev.cmake
patching file src/common/CMakeLists.txt
patching file src/common/CMakeLists.txt
Hunk #1 succeeded at 209 (offset 7 lines).
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - 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: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Defaulting to a Release build
-- Downloading compatibility list for yuzu...
-- [download 0% complete]
-- [download 1% complete]
-- [download 2% complete]
-- [download 3% complete]
-- [download 4% complete]
-- [download 5% complete]
-- [download 6% complete]
-- [download 7% complete]
-- [download 8% complete]
-- [download 9% complete]
-- [download 10% complete]
-- [download 11% complete]
-- [download 12% complete]
-- [download 13% complete]
-- [download 14% complete]
-- [download 15% complete]
-- [download 16% complete]
-- [download 17% complete]
-- [download 18% complete]
-- [download 19% complete]
-- [download 20% complete]
-- [download 21% complete]
-- [download 22% complete]
-- [download 23% complete]
-- [download 24% complete]
-- [download 25% complete]
-- [download 26% complete]
-- [download 27% complete]
-- [download 28% complete]
-- [download 29% complete]
-- [download 30% complete]
-- [download 31% complete]
-- [download 32% complete]
-- [download 33% complete]
-- [download 34% complete]
-- [download 35% complete]
-- [download 36% complete]
-- [download 37% complete]
-- [download 39% complete]
-- [download 40% complete]
-- [download 43% complete]
-- [download 44% complete]
-- [download 45% complete]
-- [download 46% complete]
-- [download 47% complete]
-- [download 48% complete]
-- [download 49% complete]
-- [download 50% complete]
-- [download 52% complete]
-- [download 53% complete]
-- [download 54% complete]
-- [download 55% complete]
-- [download 56% complete]
-- [download 58% complete]
-- [download 61% complete]
-- [download 63% complete]
-- [download 66% complete]
-- [download 69% complete]
-- [download 72% complete]
-- [download 74% complete]
-- [download 77% complete]
-- [download 80% complete]
-- [download 82% complete]
-- [download 84% complete]
-- [download 87% complete]
-- [download 90% complete]
-- [download 92% complete]
-- [download 95% complete]
-- [download 97% complete]
-- [download 98% complete]
-- [download 100% complete]
-- Target architecture: x86_64
-- Could NOT find Boost: Found unsuitable version "1.71.0", but required is at least "1.73" (found /usr/include, )
-- Could NOT find Catch2 (missing: Catch2_INCLUDE_DIR Catch2_VERSION) (Required is at least version "2.13")
-- Could NOT find fmt: Found unsuitable version "7.0.3", but required is at least "7.1" (found /usr/local/lib/libfmt.so)
-- Found lz4: /usr/lib/x86_64-linux-gnu/liblz4.so (found suitable version "1.9.2", minimum required is "1.8")
-- Could NOT find nlohmann_json (missing: nlohmann_json_INCLUDE_DIR nlohmann_json_VERSION) (Required is at least version "3.8")
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found suitable version "1.2.11", minimum required is "1.2")
-- Found zstd: /usr/lib/x86_64-linux-gnu/libzstd.so (found suitable version "1.4.4", minimum required is "1.4")
-- Packages boost/1.73.0;catch2/2.13.0;fmt/7.1.2;nlohmann_json/3.8.0 not found!
-- Downloading conan.cmake from https://github.com/conan-io/cmake-conan
-- Conan: checking conan executable
-- Conan: Found program /home/ade/.local/bin/conan
-- Conan: Version found Conan version 1.29.0

-- Conan: checking conan executable
-- Conan: Found program /home/ade/.local/bin/conan
-- Conan: Version found Conan version 1.29.0

-- Conan: Adding bincrafters remote repository (https://api.bintray.com/conan/bincrafters/public-conan)
-- Conan: Automatic detection of conan settings from cmake
-- Conan: Settings= -s;build_type=Release;-s;compiler=gcc;-s;compiler.version=9;-s;compiler.libcxx=libstdc++11
-- Conan: checking conan executable
-- Conan: Found program /home/ade/.local/bin/conan
-- Conan: Version found Conan version 1.29.0

-- Conan executing: /home/ade/.local/bin/conan install . -s build_type=Release -s compiler=gcc -s compiler.version=9 -s compiler.libcxx=libstdc++11 -g=cmake -g=cmake_find_package_multi -g=cmake --build=missing
Configuration:
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=gcc
compiler.libcxx=libstdc++11
compiler.version=9
os=Linux
os_build=Linux
[options]
[build_requires]
[env]

conanfile.txt: Installing package
Requirements
boost/1.73.0 from 'conan-center' - Cache
bzip2/1.0.8 from 'conan-center' - Cache
catch2/2.13.0 from 'conan-center' - Cache
fmt/7.1.2 from 'conan-center' - Cache
nlohmann_json/3.8.0 from 'conan-center' - Cache
zlib/1.2.11 from 'conan-center' - Cache
Packages
boost/1.73.0:020be167c6748e1e82d613b2837bf63074e10744 - Cache
bzip2/1.0.8:da606cf731e334010b0bf6e85a2a6f891b9f36b0 - Cache
catch2/2.13.0:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
fmt/7.1.2:b911f48570f9bb2902d9e83b2b9ebf9d376c8c56 - Cache
nlohmann_json/3.8.0:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
zlib/1.2.11:6af9cc7cb931c5ad942174fd7838eb655717c709 - Cache

Installing (downloading, building) binaries...
bzip2/1.0.8: Already installed!
catch2/2.13.0: Already installed!
fmt/7.1.2: Already installed!
nlohmann_json/3.8.0: Already installed!
zlib/1.2.11: Already installed!
boost/1.73.0: Already installed!
boost/1.73.0: LIBRARIES: ['boost_wave', 'boost_container', 'boost_contract', 'boost_exception', 'boost_graph', 'boost_iostreams', 'boost_locale', 'boost_log', 'boost_program_options', 'boost_random', 'boost_regex', 'boost_serialization', 'boost_wserialization', 'boost_coroutine', 'boost_fiber', 'boost_context', 'boost_timer', 'boost_thread', 'boost_chrono', 'boost_date_time', 'boost_atomic', 'boost_filesystem', 'boost_system', 'boost_type_erasure', 'boost_log_setup', 'boost_math_c99', 'boost_math_c99f', 'boost_math_c99l', 'boost_math_tr1', 'boost_math_tr1f', 'boost_math_tr1l', 'boost_nowide', 'boost_stacktrace_addr2line', 'boost_stacktrace_backtrace', 'boost_stacktrace_basic', 'boost_stacktrace_noop', 'boost_unit_test_framework']
boost/1.73.0: Package folder: /home/ade/.conan/data/boost/1.73.0///package/020be167c6748e1e82d613b2837bf63074e10744
conanfile.txt: Generator txt created conanbuildinfo.txt
conanfile.txt: Generator cmake created conanbuildinfo.cmake
conanfile.txt: Generator cmake_find_package_multi created BoostConfigVersion.cmake
conanfile.txt: Generator cmake_find_package_multi created BoostConfig.cmake
conanfile.txt: Generator cmake_find_package_multi created BoostTargets.cmake
conanfile.txt: Generator cmake_find_package_multi created BoostTarget-release.cmake
conanfile.txt: Generator cmake_find_package_multi created Catch2ConfigVersion.cmake
conanfile.txt: Generator cmake_find_package_multi created Catch2Config.cmake
conanfile.txt: Generator cmake_find_package_multi created Catch2Targets.cmake
conanfile.txt: Generator cmake_find_package_multi created Catch2Target-release.cmake
conanfile.txt: Generator cmake_find_package_multi created fmtConfigVersion.cmake
conanfile.txt: Generator cmake_find_package_multi created fmtConfig.cmake
conanfile.txt: Generator cmake_find_package_multi created fmtTargets.cmake
conanfile.txt: Generator cmake_find_package_multi created fmtTarget-release.cmake
conanfile.txt: Generator cmake_find_package_multi created nlohmann_jsonConfigVersion.cmake
conanfile.txt: Generator cmake_find_package_multi created nlohmann_jsonConfig.cmake
conanfile.txt: Generator cmake_find_package_multi created nlohmann_jsonTargets.cmake
conanfile.txt: Generator cmake_find_package_multi created nlohmann_jsonTarget-release.cmake
conanfile.txt: Generator cmake_find_package_multi created ZLIBConfigVersion.cmake
conanfile.txt: Generator cmake_find_package_multi created ZLIBConfig.cmake
conanfile.txt: Generator cmake_find_package_multi created ZLIBTargets.cmake
conanfile.txt: Generator cmake_find_package_multi created ZLIBTarget-release.cmake
conanfile.txt: Generator cmake_find_package_multi created BZip2ConfigVersion.cmake
conanfile.txt: Generator cmake_find_package_multi created BZip2Config.cmake
conanfile.txt: Generator cmake_find_package_multi created BZip2Targets.cmake
conanfile.txt: Generator cmake_find_package_multi created BZip2Target-release.cmake
conanfile.txt: Generated conaninfo.txt
conanfile.txt: Generated graphinfo
-- Conan: Loading conanbuildinfo.cmake
-- Dependency ZLIB already found
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'libusb-1.0'
-- Found libusb-1.0, version 1.0.23
-- Found libusb-1.0: /usr/include/libusb-1.0, /usr/lib/x86_64-linux-gnu/libusb-1.0.so
CMake Warning (dev) at /usr/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:424 (message):
The package name passed to find_package_handle_standard_args (FFMPEG)
does not match the name of the calling package (FFmpeg). This can lead to
problems in calling code that expects find_package result variables
(e.g., _FOUND) to follow a certain pattern.
Call Stack (most recent call first):
externals/find-modules/FindFFmpeg.cmake:23 (find_package_handle_standard_args)
CMakeLists.txt:358 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.

-- Could NOT find FFMPEG (missing: FFMPEG_LIBRARY FFMPEG_INCLUDE_DIR)
-- Checking for module 'libavcodec'
-- Found libavcodec, version 58.54.100
-- Checking for module 'libavutil'
-- Found libavutil, version 56.31.100
-- Checking for module 'libswscale'
-- Found libswscale, version 5.5.100
-- Found FFMPEG or Libav: /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so, /usr/include/x86_64-linux-gnu
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE
CMake Warning at CMakeLists.txt:416 (message):
Clang format not found! Disabling the clang format target

CMake Warning (dev) at externals/dynarmic/CMakeLists.txt:15 (option):
Policy CMP0077 is not set: option() honors normal variables. Run "cmake
--help-policy CMP0077" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.

For compatibility with older versions of CMake, option is clearing the
normal variable 'DYNARMIC_TESTS'.
This warning is for project developers. Use -Wno-dev to suppress it.

-- Target architecture: x86_64
CMake Deprecation Warning at externals/mbedtls/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.

Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.

-- Found Perl: /usr/bin/perl (found version "5.30.0")
-- Performing Test SOUNDTOUCH_HAS_MMMX
-- Performing Test SOUNDTOUCH_HAS_MMMX - Success
-- Performing Test SOUNDTOUCH_HAS_MSSE
-- Performing Test SOUNDTOUCH_HAS_MSSE - Success
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Looking for include file AudioUnit/AudioUnit.h
-- Looking for include file AudioUnit/AudioUnit.h - not found
-- Looking for include file pulse/pulseaudio.h
-- Looking for include file pulse/pulseaudio.h - found
-- Looking for include file alsa/asoundlib.h
-- Looking for include file alsa/asoundlib.h - found
-- Looking for include file jack/jack.h
-- Looking for include file jack/jack.h - found
-- Looking for include file audioclient.h
-- Looking for include file audioclient.h - not found
-- Looking for include files windows.h, mmsystem.h
-- Looking for include files windows.h, mmsystem.h - not found
-- Looking for include file SLES/OpenSLES.h
-- Looking for include file SLES/OpenSLES.h - not found
-- Looking for include file android/log.h
-- Looking for include file android/log.h - not found
-- Looking for include file sndio.h
-- Looking for include file sndio.h - found
-- Looking for include file sys/audioio.h
-- Looking for include file sys/audioio.h - not found
-- Looking for include file kai.h
-- Looking for include file kai.h - not found
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.17") found components: doxygen dot
CMake Deprecation Warning at externals/sirit/externals/SPIRV-Headers/CMakeLists.txt:31 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.

Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.

-- Found Libzip: /usr/lib/x86_64-linux-gnu/libzip.so (found suitable version "1.5.1", minimum required is "1.5")
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found suitable version "1.1.1f", minimum required is "1.1")
-- Dependency ZLIB already found
-- Dependency BZip2 already found
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/pineapple/yuzu-windows-msvc-early-access/yuzu-windows-msvc-source-20201201-ed9dddef4/build
[269/1051] Building C object externals/cubeb/CMakeFiles/speex.dir/src/speex/resample.c.o
../externals/cubeb/src/speex/resample.c: In function ‘update_filter’:
../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;jfilt_len;j++)
| ^
../externals/cubeb/src/speex/resample.c: In function ‘speex_resampler_process_float’:
../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)
| ^
../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)
| ^
../externals/cubeb/src/speex/resample.c: In function ‘speex_resampler_process_int’:
../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)
| ^
../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)
| ^
../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)
| ^
[280/1051] Building CXX object externals/cubeb/CMakeFiles/cubeb.dir/src/cubeb_jack.cpp.o
../externals/cubeb/src/cubeb_jack.cpp: In function ‘int cbjack_stream_init(cubeb*, cubeb_stream**, const char*, cubeb_devid, cubeb_stream_params*, cubeb_devid, cubeb_stream_params*, unsigned int, cubeb_data_callback, cubeb_state_callback, void*)’:
../externals/cubeb/src/cubeb_jack.cpp:53:25: warning: comparison with string literal results in unspecified behavior [-Waddress]
53 | #define JACK_DEFAULT_IN "JACK capture"
| ^~~~~~~~~~~~~~
../externals/cubeb/src/cubeb_jack.cpp:749:40: note: in expansion of macro ‘JACK_DEFAULT_IN’
749 | if ((input_device && input_device != JACK_DEFAULT_IN) ||
| ^~~~~~~~~~~~~~~
../externals/cubeb/src/cubeb_jack.cpp:54:26: warning: comparison with string literal results in unspecified behavior [-Waddress]
54 | #define JACK_DEFAULT_OUT "JACK playback"
| ^~~~~~~~~~~~~~~
../externals/cubeb/src/cubeb_jack.cpp:750:42: note: in expansion of macro ‘JACK_DEFAULT_OUT’
750 | (output_device && output_device != JACK_DEFAULT_OUT)) {
| ^~~~~~~~~~~~~~~~
../externals/cubeb/src/cubeb_jack.cpp: In function ‘int cbjack_enumerate_devices(cubeb*, cubeb_device_type, cubeb_device_collection*)’:
../externals/cubeb/src/cubeb_jack.cpp:1057:23: warning: ‘rate’ may be used uninitialized in this function [-Wmaybe-uninitialized]
1057 | cur->default_rate = rate;
| ~~~~~~~~~~~~~~~~~~^~~~~~
[284/1051] Building CXX object externals/discord-rpc/src/CMakeFiles/discord-rpc.dir/rpc_connection.cpp.o
In file included from ../externals/discord-rpc/src/serialization.h:15,
from ../externals/discord-rpc/src/rpc_connection.h:4,
from ../externals/discord-rpc/src/rpc_connection.cpp:1:
../externals/discord-rpc/thirdparty/rapidjson-1.1.0/include/rapidjson/document.h: In instantiation of ‘void rapidjson::GenericValue<Encoding, Allocator>::SetObjectRaw(rapidjson::GenericValue<Encoding, Allocator>::Member*, rapidjson::SizeType, Allocator&) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; rapidjson::GenericValue<Encoding, Allocator>::Member = rapidjson::GenericMember<rapidjson::UTF8<>, rapidjson::MemoryPoolAllocator<> >; rapidjson::SizeType = unsigned int]’:
../externals/discord-rpc/thirdparty/rapidjson-1.1.0/include/rapidjson/document.h:2363:9: required from ‘bool rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::EndObject(rapidjson::SizeType) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = FixedLinearAllocator<2048>; rapidjson::SizeType = unsigned int]’
../externals/discord-rpc/thirdparty/rapidjson-1.1.0/include/rapidjson/reader.h:1736:18: required from ‘rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Transit(rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState, rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Token, rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState, InputStream&, Handler&) [with unsigned int parseFlags = 1; InputStream = rapidjson::GenericInsituStringStream<rapidjson::UTF8<> >; Handler = rapidjson::GenericDocument<rapidjson::UTF8<>, rapidjson::MemoryPoolAllocator<>, FixedLinearAllocator<2048> >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = FixedLinearAllocator<2048>]’
../externals/discord-rpc/thirdparty/rapidjson-1.1.0/include/rapidjson/reader.h:1832:35: required from ‘rapidjson::ParseResult rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParse(InputStream&, Handler&) [with unsigned int parseFlags = 1; InputStream = rapidjson::GenericInsituStringStream<rapidjson::UTF8<> >; Handler = rapidjson::GenericDocument<rapidjson::UTF8<>, rapidjson::MemoryPoolAllocator<>, FixedLinearAllocator<2048> >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = FixedLinearAllocator<2048>]’
../externals/discord-rpc/thirdparty/rapidjson-1.1.0/include/rapidjson/reader.h:487:58: required from ‘rapidjson::ParseResult rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Parse(InputStream&, Handler&) [with unsigned int parseFlags = 1; InputStream = rapidjson::GenericInsituStringStream<rapidjson::UTF8<> >; Handler = rapidjson::GenericDocument<rapidjson::UTF8<>, rapidjson::MemoryPoolAllocator<>, FixedLinearAllocator<2048> >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = FixedLinearAllocator<2048>]’
../externals/discord-rpc/thirdparty/rapidjson-1.1.0/include/rapidjson/document.h:2159:22: required from ‘rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::ParseStream(InputStream&) [with unsigned int parseFlags = 1; SourceEncoding = rapidjson::UTF8<>; InputStream = rapidjson::GenericInsituStringStream<rapidjson::UTF8<> >; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = FixedLinearAllocator<2048>]’
../externals/discord-rpc/thirdparty/rapidjson-1.1.0/include/rapidjson/document.h:2175:65: required from ‘rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::ParseStream(InputStream&) [with unsigned int parseFlags = 1; InputStream = rapidjson::GenericInsituStringStream<rapidjson::UTF8<> >; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = FixedLinearAllocator<2048>]’
../externals/discord-rpc/thirdparty/rapidjson-1.1.0/include/rapidjson/document.h:2200:60: required from ‘rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::ParseInsitu(rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Ch*) [with unsigned int parseFlags = 0; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = FixedLinearAllocator<2048>; rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Ch = char]’
../externals/discord-rpc/thirdparty/rapidjson-1.1.0/include/rapidjson/document.h:2208:51: required from ‘rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::ParseInsitu(rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Ch*) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = FixedLinearAllocator<2048>; rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Ch = char]’
../externals/discord-rpc/src/rpc_connection.cpp:115:50: required from here
../externals/discord-rpc/thirdparty/rapidjson-1.1.0/include/rapidjson/document.h:1952:24: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘rapidjson::GenericValue<rapidjson::UTF8<> >::Member’ {aka ‘struct rapidjson::GenericMember<rapidjson::UTF8<>, rapidjson::MemoryPoolAllocator<> >’} with no trivial copy-assignment; use copy-assignment instead [-Wclass-memaccess]
1952 | std::memcpy(m, members, count * sizeof(Member));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../externals/discord-rpc/src/serialization.h:15,
from ../externals/discord-rpc/src/rpc_connection.h:4,
from ../externals/discord-rpc/src/rpc_connection.cpp:1:
../externals/discord-rpc/thirdparty/rapidjson-1.1.0/include/rapidjson/document.h:71:8: note: ‘rapidjson::GenericValue<rapidjson::UTF8<> >::Member’ {aka ‘struct rapidjson::GenericMember<rapidjson::UTF8<>, rapidjson::MemoryPoolAllocator<> >’} declared here
71 | struct GenericMember {
| ^~~~~~~~~~~~~
In file included from ../externals/discord-rpc/src/serialization.h:15,
from ../externals/discord-rpc/src/rpc_connection.h:4,
from ../externals/discord-rpc/src/rpc_connection.cpp:1:
../externals/discord-rpc/thirdparty/rapidjson-1.1.0/include/rapidjson/document.h: In instantiation of ‘void rapidjson::GenericValue<Encoding, Allocator>::SetArrayRaw(rapidjson::GenericValue<Encoding, Allocator>, rapidjson::SizeType, Allocator&) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; rapidjson::SizeType = unsigned int]’:
../externals/discord-rpc/thirdparty/rapidjson-1.1.0/include/rapidjson/document.h:2371:9: required from ‘bool rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::EndArray(rapidjson::SizeType) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = FixedLinearAllocator<2048>; rapidjson::SizeType = unsigned int]’
../externals/discord-rpc/thirdparty/rapidjson-1.1.0/include/rapidjson/reader.h:1766:18: required from ‘rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Transit(rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState, rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Token, rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState, InputStream&, Handler&) [with unsigned int parseFlags = 1; InputStream = rapidjson::GenericInsituStringStream<rapidjson::UTF8<> >; Handler = rapidjson::GenericDocument<rapidjson::UTF8<>, rapidjson::MemoryPoolAllocator<>, FixedLinearAllocator<2048> >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = FixedLinearAllocator<2048>]’
../externals/discord-rpc/thirdparty/rapidjson-1.1.0/include/rapidjson/reader.h:1832:35: required from ‘rapidjson::ParseResult rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParse(InputStream&, Handler&) [with unsigned int parseFlags = 1; InputStream = rapidjson::GenericInsituStringStream<rapidjson::UTF8<> >; Handler = rapidjson::GenericDocument<rapidjson::UTF8<>, rapidjson::MemoryPoolAllocator<>, FixedLinearAllocator<2048> >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = FixedLinearAllocator<2048>]’
../externals/discord-rpc/thirdparty/rapidjson-1.1.0/include/rapidjson/reader.h:487:58: required from ‘rapidjson::ParseResult rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Parse(InputStream&, Handler&) [with unsigned int parseFlags = 1; InputStream = rapidjson::GenericInsituStringStream<rapidjson::UTF8<> >; Handler = rapidjson::GenericDocument<rapidjson::UTF8<>, rapidjson::MemoryPoolAllocator<>, FixedLinearAllocator<2048> >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = FixedLinearAllocator<2048>]’
../externals/discord-rpc/thirdparty/rapidjson-1.1.0/include/rapidjson/document.h:2159:22: required from ‘rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::ParseStream(InputStream&) [with unsigned int parseFlags = 1; SourceEncoding = rapidjson::UTF8<>; InputStream = rapidjson::GenericInsituStringStream<rapidjson::UTF8<> >; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = FixedLinearAllocator<2048>]’
../externals/discord-rpc/thirdparty/rapidjson-1.1.0/include/rapidjson/document.h:2175:65: required from ‘rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::ParseStream(InputStream&) [with unsigned int parseFlags = 1; InputStream = rapidjson::GenericInsituStringStream<rapidjson::UTF8<> >; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = FixedLinearAllocator<2048>]’
../externals/discord-rpc/thirdparty/rapidjson-1.1.0/include/rapidjson/document.h:2200:60: required from ‘rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::ParseInsitu(rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Ch
) [with unsigned int parseFlags = 0; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = FixedLinearAllocator<2048>; rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Ch = char]’
../externals/discord-rpc/thirdparty/rapidjson-1.1.0/include/rapidjson/document.h:2208:51: required from ‘rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::ParseInsitu(rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Ch*) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = FixedLinearAllocator<2048>; rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Ch = char]’
../externals/discord-rpc/src/rpc_connection.cpp:115:50: required from here
../externals/discord-rpc/thirdparty/rapidjson-1.1.0/include/rapidjson/document.h:1939:24: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class rapidjson::GenericValue<rapidjson::UTF8<> >’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
1939 | std::memcpy(e, values, count * sizeof(GenericValue));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../externals/discord-rpc/thirdparty/rapidjson-1.1.0/include/rapidjson/document.h:540:7: note: ‘class rapidjson::GenericValue<rapidjson::UTF8<> >’ declared here
540 | class GenericValue {
| ^~~~~~~~~~~~
cc1plus: warning: unrecognized command line option ‘-Wno-global-constructors’
cc1plus: warning: unrecognized command line option ‘-Wno-exit-time-destructors’
cc1plus: warning: unrecognized command line option ‘-Wno-covered-switch-default’
cc1plus: warning: unrecognized command line option ‘-Wno-c++98-compat-pedantic’
cc1plus: warning: unrecognized command line option ‘-Wno-c++98-compat’
[463/1051] Building CXX object src/common/CMakeFiles/common.dir/scm_rev.cpp.o
src/common/scm_rev.cpp:15:31: warning: unknown escape sequence: '\040'
15 | #define TITLE_BAR_FORMAT_IDLE "yuzu\ Early\ Access\ 1181"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/common/scm_rev.cpp:29:40: note: in expansion of macro ‘TITLE_BAR_FORMAT_IDLE’
29 | const char g_title_bar_format_idle[] = TITLE_BAR_FORMAT_IDLE;
| ^~~~~~~~~~~~~~~~~~~~~
src/common/scm_rev.cpp:15:31: warning: unknown escape sequence: '\040'
15 | #define TITLE_BAR_FORMAT_IDLE "yuzu\ Early\ Access\ 1181"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/common/scm_rev.cpp:29:40: note: in expansion of macro ‘TITLE_BAR_FORMAT_IDLE’
29 | const char g_title_bar_format_idle[] = TITLE_BAR_FORMAT_IDLE;
| ^~~~~~~~~~~~~~~~~~~~~
src/common/scm_rev.cpp:15:31: warning: unknown escape sequence: '\040'
15 | #define TITLE_BAR_FORMAT_IDLE "yuzu\ Early\ Access\ 1181"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/common/scm_rev.cpp:29:40: note: in expansion of macro ‘TITLE_BAR_FORMAT_IDLE’
29 | const char g_title_bar_format_idle[] = TITLE_BAR_FORMAT_IDLE;
| ^~~~~~~~~~~~~~~~~~~~~
src/common/scm_rev.cpp:16:34: warning: unknown escape sequence: '\040'
16 | #define TITLE_BAR_FORMAT_RUNNING "yuzu\ Early\ Access\ 1181\ |\ {3}"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/common/scm_rev.cpp:16:34: note: in definition of macro ‘TITLE_BAR_FORMAT_RUNNING’
16 | #define TITLE_BAR_FORMAT_RUNNING "yuzu\ Early\ Access\ 1181\ |\ {3}"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/common/scm_rev.cpp:16:34: warning: unknown escape sequence: '\040'
16 | #define TITLE_BAR_FORMAT_RUNNING "yuzu\ Early\ Access\ 1181\ |\ {3}"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/common/scm_rev.cpp:16:34: note: in definition of macro ‘TITLE_BAR_FORMAT_RUNNING’
16 | #define TITLE_BAR_FORMAT_RUNNING "yuzu\ Early\ Access\ 1181\ |\ {3}"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/common/scm_rev.cpp:16:34: warning: unknown escape sequence: '\040'
16 | #define TITLE_BAR_FORMAT_RUNNING "yuzu\ Early\ Access\ 1181\ |\ {3}"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/common/scm_rev.cpp:16:34: note: in definition of macro ‘TITLE_BAR_FORMAT_RUNNING’
16 | #define TITLE_BAR_FORMAT_RUNNING "yuzu\ Early\ Access\ 1181\ |\ {3}"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/common/scm_rev.cpp:16:34: warning: unknown escape sequence: '\040'
16 | #define TITLE_BAR_FORMAT_RUNNING "yuzu\ Early\ Access\ 1181\ |\ {3}"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/common/scm_rev.cpp:16:34: note: in definition of macro ‘TITLE_BAR_FORMAT_RUNNING’
16 | #define TITLE_BAR_FORMAT_RUNNING "yuzu\ Early\ Access\ 1181\ |\ {3}"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/common/scm_rev.cpp:16:34: warning: unknown escape sequence: '\040'
16 | #define TITLE_BAR_FORMAT_RUNNING "yuzu\ Early\ Access\ 1181\ |\ {3}"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/common/scm_rev.cpp:16:34: note: in definition of macro ‘TITLE_BAR_FORMAT_RUNNING’
16 | #define TITLE_BAR_FORMAT_RUNNING "yuzu\ Early\ Access\ 1181\ |\ {3}"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[486/1051] Generating include/video_core/host_shaders/vulkan_blit_color_float_frag_spv.h
/tmp/pineapple/yuzu-windows-msvc-early-access/yuzu-windows-msvc-source-20201201-ed9dddef4/src/video_core/host_shaders/vulkan_blit_color_float.frag
[487/1051] Generating include/video_core/host_shaders/vulkan_blit_depth_stencil_frag_spv.h
/tmp/pineapple/yuzu-windows-msvc-early-access/yuzu-windows-msvc-source-20201201-ed9dddef4/src/video_core/host_shaders/vulkan_blit_depth_stencil.frag
[488/1051] Generating include/video_core/host_shaders/vulkan_present_frag_spv.h
/tmp/pineapple/yuzu-windows-msvc-early-access/yuzu-windows-msvc-source-20201201-ed9dddef4/src/video_core/host_shaders/vulkan_present.frag
[489/1051] Generating include/video_core/host_shaders/vulkan_present_vert_spv.h
/tmp/pineapple/yuzu-windows-msvc-early-access/yuzu-windows-msvc-source-20201201-ed9dddef4/src/video_core/host_shaders/vulkan_present.vert
[490/1051] Generating include/video_core/host_shaders/vulkan_quad_array_comp_spv.h
/tmp/pineapple/yuzu-windows-msvc-early-access/yuzu-windows-msvc-source-20201201-ed9dddef4/src/video_core/host_shaders/vulkan_quad_array.comp
[491/1051] Generating include/video_core/host_shaders/block_linear_unswizzle_2d_comp_spv.h
/tmp/pineapple/yuzu-windows-msvc-early-access/yuzu-windows-msvc-source-20201201-ed9dddef4/src/video_core/host_shaders/block_linear_unswizzle_2d.comp
[492/1051] Generating include/video_core/host_shaders/vulkan_quad_indexed_comp_spv.h
/tmp/pineapple/yuzu-windows-msvc-early-access/yuzu-windows-msvc-source-20201201-ed9dddef4/src/video_core/host_shaders/vulkan_quad_indexed.comp
[493/1051] Generating include/video_core/host_shaders/block_linear_unswizzle_3d_comp_spv.h
/tmp/pineapple/yuzu-windows-msvc-early-access/yuzu-windows-msvc-source-20201201-ed9dddef4/src/video_core/host_shaders/block_linear_unswizzle_3d.comp
[495/1051] Generating include/video_core/host_shaders/vulkan_uint8_comp_spv.h
/tmp/pineapple/yuzu-windows-msvc-early-access/yuzu-windows-msvc-source-20201201-ed9dddef4/src/video_core/host_shaders/vulkan_uint8.comp
[497/1051] Generating include/video_core/host_shaders/pitch_unswizzle_comp_spv.h
/tmp/pineapple/yuzu-windows-msvc-early-access/yuzu-windows-msvc-source-20201201-ed9dddef4/src/video_core/host_shaders/pitch_unswizzle.comp
[498/1051] Generating include/video_core/host_shaders/convert_depth_to_float_frag_spv.h
/tmp/pineapple/yuzu-windows-msvc-early-access/yuzu-windows-msvc-source-20201201-ed9dddef4/src/video_core/host_shaders/convert_depth_to_float.frag
[499/1051] Generating include/video_core/host_shaders/full_screen_triangle_vert_spv.h
/tmp/pineapple/yuzu-windows-msvc-early-access/yuzu-windows-msvc-source-20201201-ed9dddef4/src/video_core/host_shaders/full_screen_triangle.vert
[500/1051] Generating include/video_core/host_shaders/convert_float_to_depth_frag_spv.h
/tmp/pineapple/yuzu-windows-msvc-early-access/yuzu-windows-msvc-source-20201201-ed9dddef4/src/video_core/host_shaders/convert_float_to_depth.frag
[505/1051] Building CXX object src/tests/CMakeFiles/tests.dir/core/arm/arm_test_common.cpp.o
../src/tests/core/arm/arm_test_common.cpp: In constructor ‘ArmTests::TestEnvironment::TestEnvironment(bool)’:
../src/tests/core/arm/arm_test_common.cpp:18:77: warning: ‘static Core::System& Core::System::GetInstance()’ is deprecated: Use of the global system instance is deprecated [-Wdeprecated-declarations]
18 | test_memory(std::make_shared(this)), kernel{Core::System::GetInstance()} {
| ^~~~~~~~~~~
In file included from ../src/tests/core/arm/arm_test_common.cpp:8:
../src/./core/core.h:128:86: note: declared here
128 | [[deprecated("Use of the global system instance is deprecated")]] static System& GetInstance() {
| ^~~~~~~~~~~
../src/tests/core/arm/arm_test_common.cpp:18:89: warning: ‘static Core::System& Core::System::GetInstance()’ is deprecated: Use of the global system instance is deprecated [-Wdeprecated-declarations]
18 | test_memory(std::make_shared(this)), kernel{Core::System::GetInstance()} {
| ^
In file included from ../src/tests/core/arm/arm_test_common.cpp:8:
../src/./core/core.h:128:86: note: declared here
128 | [[deprecated("Use of the global system instance is deprecated")]] static System& GetInstance() {
| ^~~~~~~~~~~
../src/tests/core/arm/arm_test_common.cpp:18:89: warning: ‘static Core::System& Core::System::GetInstance()’ is deprecated: Use of the global system instance is deprecated [-Wdeprecated-declarations]
18 | test_memory(std::make_shared(this)), kernel{Core::System::GetInstance()} {
| ^
In file included from ../src/tests/core/arm/arm_test_common.cpp:8:
../src/./core/core.h:128:86: note: declared here
128 | [[deprecated("Use of the global system instance is deprecated")]] static System& GetInstance() {
| ^~~~~~~~~~~
../src/tests/core/arm/arm_test_common.cpp:19:34: warning: ‘static Core::System& Core::System::GetInstance()’ is deprecated: Use of the global system instance is deprecated [-Wdeprecated-declarations]
19 | auto& system = Core::System::GetInstance();
| ^~~~~~~~~~~
In file included from ../src/tests/core/arm/arm_test_common.cpp:8:
../src/./core/core.h:128:86: note: declared here
128 | [[deprecated("Use of the global system instance is deprecated")]] static System& GetInstance() {
| ^~~~~~~~~~~
../src/tests/core/arm/arm_test_common.cpp:19:46: warning: ‘static Core::System& Core::System::GetInstance()’ is deprecated: Use of the global system instance is deprecated [-Wdeprecated-declarations]
19 | auto& system = Core::System::GetInstance();
| ^
In file included from ../src/tests/core/arm/arm_test_common.cpp:8:
../src/./core/core.h:128:86: note: declared here
128 | [[deprecated("Use of the global system instance is deprecated")]] static System& GetInstance() {
| ^~~~~~~~~~~
../src/tests/core/arm/arm_test_common.cpp:19:46: warning: ‘static Core::System& Core::System::GetInstance()’ is deprecated: Use of the global system instance is deprecated [-Wdeprecated-declarations]
19 | auto& system = Core::System::GetInstance();
| ^
In file included from ../src/tests/core/arm/arm_test_common.cpp:8:
../src/./core/core.h:128:86: note: declared here
128 | [[deprecated("Use of the global system instance is deprecated")]] static System& GetInstance() {
| ^~~~~~~~~~~
../src/tests/core/arm/arm_test_common.cpp: In destructor ‘ArmTests::TestEnvironment::~TestEnvironment()’:
../src/tests/core/arm/arm_test_common.cpp:31:34: warning: ‘static Core::System& Core::System::GetInstance()’ is deprecated: Use of the global system instance is deprecated [-Wdeprecated-declarations]
31 | auto& system = Core::System::GetInstance();
| ^~~~~~~~~~~
In file included from ../src/tests/core/arm/arm_test_common.cpp:8:
../src/./core/core.h:128:86: note: declared here
128 | [[deprecated("Use of the global system instance is deprecated")]] static System& GetInstance() {
| ^~~~~~~~~~~
../src/tests/core/arm/arm_test_common.cpp:31:46: warning: ‘static Core::System& Core::System::GetInstance()’ is deprecated: Use of the global system instance is deprecated [-Wdeprecated-declarations]
31 | auto& system = Core::System::GetInstance();
| ^
In file included from ../src/tests/core/arm/arm_test_common.cpp:8:
../src/./core/core.h:128:86: note: declared here
128 | [[deprecated("Use of the global system instance is deprecated")]] static System& GetInstance() {
| ^~~~~~~~~~~
../src/tests/core/arm/arm_test_common.cpp:31:46: warning: ‘static Core::System& Core::System::GetInstance()’ is deprecated: Use of the global system instance is deprecated [-Wdeprecated-declarations]
31 | auto& system = Core::System::GetInstance();
| ^
In file included from ../src/tests/core/arm/arm_test_common.cpp:8:
../src/./core/core.h:128:86: note: declared here
128 | [[deprecated("Use of the global system instance is deprecated")]] static System& GetInstance() {
| ^~~~~~~~~~~
[509/1051] Building CXX object src/yuzu_cmd/CMakeFiles/yuzu-cmd.dir/config.cpp.o
../src/yuzu_cmd/config.cpp: In member function ‘void Config::ReadValues()’:
../src/yuzu_cmd/config.cpp:348:16: warning: unused variable ‘size’ [-Wunused-variable]
348 | const auto size = sdl2_config->GetInteger("System", "users_size", 0);
| ^~~~
[510/1051] Building CXX object src/core/CMakeFiles/core.dir/arm/dynarmic/arm_dynarmic_32.cpp.o
../src/core/arm/dynarmic/arm_dynarmic_32.cpp: In member function ‘virtual void Core::DynarmicCallbacks32::ExceptionRaised(u32, Dynarmic::A32::Exception)’:
../src/core/arm/dynarmic/arm_dynarmic_32.cpp:74:16: warning: enumeration value ‘DecodeError’ not handled in switch [-Wswitch]
74 | switch (exception) {
| ^
../src/core/arm/dynarmic/arm_dynarmic_32.cpp:74:16: warning: enumeration value ‘SendEvent’ not handled in switch [-Wswitch]
../src/core/arm/dynarmic/arm_dynarmic_32.cpp:74:16: warning: enumeration value ‘SendEventLocal’ not handled in switch [-Wswitch]
../src/core/arm/dynarmic/arm_dynarmic_32.cpp:74:16: warning: enumeration value ‘WaitForInterrupt’ not handled in switch [-Wswitch]
../src/core/arm/dynarmic/arm_dynarmic_32.cpp:74:16: warning: enumeration value ‘WaitForEvent’ not handled in switch [-Wswitch]
../src/core/arm/dynarmic/arm_dynarmic_32.cpp:74:16: warning: enumeration value ‘Yield’ not handled in switch [-Wswitch]
../src/core/arm/dynarmic/arm_dynarmic_32.cpp:74:16: warning: enumeration value ‘PreloadData’ not handled in switch [-Wswitch]
../src/core/arm/dynarmic/arm_dynarmic_32.cpp:74:16: warning: enumeration value ‘PreloadDataWithIntentToWrite’ not handled in switch [-Wswitch]
[528/1051] Building CXX object src/core/CMakeFiles/core.dir/crypto/key_manager.cpp.o
In file included from ../src/core/crypto/key_manager.cpp:24:
../src/core/crypto/key_manager.cpp: In function ‘u64 Core::Crypto::GetSignatureTypeDataSize(Core::Crypto::SignatureType)’:
../src/./common/logging/log.h:173:25: warning: control reaches end of non-void function [-Wreturn-type]
173 | ::Log::FmtLogMessage(::Log::Class::log_class, ::Log::Level::Critical,
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
174 | ::Log::TrimSourcePath(FILE), LINE, func, VA_ARGS)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/./common/assert.h:42:7: note: in expansion of macro ‘LOG_CRITICAL’
42 | { LOG_CRITICAL(Debug, "Unreachable code!"); }
| ^~~~~~~~~~~~
../src/core/crypto/key_manager.cpp:145:5: note: in expansion of macro ‘UNREACHABLE’
145 | UNREACHABLE();
| ^~~~~~~~~~~
../src/core/crypto/key_manager.cpp: In function ‘u64 Core::Crypto::GetSignatureTypePaddingSize(Core::Crypto::SignatureType)’:
../src/./common/logging/log.h:173:25: warning: control reaches end of non-void function [-Wreturn-type]
173 | ::Log::FmtLogMessage(::Log::Class::log_class, ::Log::Level::Critical,
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
174 | ::Log::TrimSourcePath(FILE), LINE, func, VA_ARGS)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/./common/assert.h:42:7: note: in expansion of macro ‘LOG_CRITICAL’
42 | { LOG_CRITICAL(Debug, "Unreachable code!"); }
| ^~~~~~~~~~~~
../src/core/crypto/key_manager.cpp:159:5: note: in expansion of macro ‘UNREACHABLE’
159 | UNREACHABLE();
| ^~~~~~~~~~~
../src/core/crypto/key_manager.cpp: In member function ‘Core::Crypto::SignatureType Core::Crypto::Ticket::GetSignatureType() const’:
../src/./common/logging/log.h:173:25: warning: control reaches end of non-void function [-Wreturn-type]
173 | ::Log::FmtLogMessage(::Log::Class::log_class, ::Log::Level::Critical,
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
174 | ::Log::TrimSourcePath(FILE), LINE, func, VA_ARGS)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/./common/assert.h:42:7: note: in expansion of macro ‘LOG_CRITICAL’
42 | { LOG_CRITICAL(Debug, "Unreachable code!"); }
| ^~~~~~~~~~~~
../src/core/crypto/key_manager.cpp:173:5: note: in expansion of macro ‘UNREACHABLE’
173 | UNREACHABLE();
| ^~~~~~~~~~~
../src/core/crypto/key_manager.cpp: In member function ‘Core::Crypto::TicketData& Core::Crypto::Ticket::GetData()’:
../src/./common/logging/log.h:173:25: warning: control reaches end of non-void function [-Wreturn-type]
173 | ::Log::FmtLogMessage(::Log::Class::log_class, ::Log::Level::Critical,
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
174 | ::Log::TrimSourcePath(FILE), LINE, func, VA_ARGS)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/./common/assert.h:42:7: note: in expansion of macro ‘LOG_CRITICAL’
42 | { LOG_CRITICAL(Debug, "Unreachable code!"); }
| ^~~~~~~~~~~~
../src/core/crypto/key_manager.cpp:187:5: note: in expansion of macro ‘UNREACHABLE’
187 | UNREACHABLE();
| ^~~~~~~~~~~
../src/core/crypto/key_manager.cpp: In member function ‘const Core::Crypto::TicketData& Core::Crypto::Ticket::GetData() const’:
../src/./common/logging/log.h:173:25: warning: control reaches end of non-void function [-Wreturn-type]
173 | ::Log::FmtLogMessage(::Log::Class::log_class, ::Log::Level::Critical,
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
174 | ::Log::TrimSourcePath(FILE), LINE, func, VA_ARGS)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/./common/assert.h:42:7: note: in expansion of macro ‘LOG_CRITICAL’
42 | { LOG_CRITICAL(Debug, "Unreachable code!"); }
| ^~~~~~~~~~~~
../src/core/crypto/key_manager.cpp:201:5: note: in expansion of macro ‘UNREACHABLE’
201 | UNREACHABLE();
| ^~~~~~~~~~~
[536/1051] Building CXX object src/core/CMakeFiles/core.dir/file_sys/nca_patch.cpp.o
In file included from ../src/./common/assert.h:9,
from ../src/core/file_sys/nca_patch.cpp:10:
../src/core/file_sys/nca_patch.cpp: In function ‘std::pair<long unsigned int, long unsigned int> FileSys::{anonymous}::SearchBucketEntry(u64, const BlockType&, const BucketType&) [with bool Subsection = false; BlockType = FileSys::RelocationBlock; BucketType = std::vectorFileSys::RelocationBucket]’:
../src/./common/logging/log.h:173:25: warning: control reaches end of non-void function [-Wreturn-type]
173 | ::Log::FmtLogMessage(::Log::Class::log_class, ::Log::Level::Critical,
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
174 | ::Log::TrimSourcePath(FILE), LINE, func, VA_ARGS)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/./common/assert.h:44:7: note: in expansion of macro ‘LOG_CRITICAL’
44 | { LOG_CRITICAL(Debug, "Unreachable code!\n" VA_ARGS); }
| ^~~~~~~~~~~~
../src/core/file_sys/nca_patch.cpp:55:5: note: in expansion of macro ‘UNREACHABLE_MSG’
55 | UNREACHABLE_MSG("Offset could not be found in BKTR block.");
| ^~~~~~~~~~~~~~~
../src/core/file_sys/nca_patch.cpp: In function ‘std::pair<long unsigned int, long unsigned int> FileSys::{anonymous}::SearchBucketEntry(u64, const BlockType&, const BucketType&) [with bool Subsection = true; BlockType = FileSys::SubsectionBlock; BucketType = std::vectorFileSys::SubsectionBucket]’:
../src/./common/logging/log.h:173:25: warning: control reaches end of non-void function [-Wreturn-type]
173 | ::Log::FmtLogMessage(::Log::Class::log_class, ::Log::Level::Critical,
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
174 | ::Log::TrimSourcePath(FILE), LINE, func, VA_ARGS)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/./common/assert.h:44:7: note: in expansion of macro ‘LOG_CRITICAL’
44 | { LOG_CRITICAL(Debug, "Unreachable code!\n" VA_ARGS); }
| ^~~~~~~~~~~~
../src/core/file_sys/nca_patch.cpp:55:5: note: in expansion of macro ‘UNREACHABLE_MSG’
55 | UNREACHABLE_MSG("Offset could not be found in BKTR block.");
| ^~~~~~~~~~~~~~~
[557/1051] Building CXX object src/core/CMakeFiles/core.dir/file_sys/registered_cache.cpp.o
In file included from ../src/./common/assert.h:9,
from ../src/core/file_sys/registered_cache.cpp:9:
../src/core/file_sys/registered_cache.cpp: In function ‘FileSys::ContentRecordType FileSys::GetCRTypeFromNCAType(FileSys::NCAContentType)’:
../src/core/file_sys/registered_cache.cpp:108:58: warning: control reaches end of non-void function [-Wreturn-type]
108 | UNREACHABLE_MSG("Invalid NCAContentType={:02X}", static_cast(type));
| ^~~~~~~~~~~~~~~~~~~~~
../src/./common/logging/log.h:174:79: note: in definition of macro ‘LOG_CRITICAL’
174 | ::Log::TrimSourcePath(FILE), LINE, func, VA_ARGS)
| ^~~~~~~~~~~
../src/core/file_sys/registered_cache.cpp:108:9: note: in expansion of macro ‘UNREACHABLE_MSG’
108 | UNREACHABLE_MSG("Invalid NCAContentType={:02X}", static_cast(type));
| ^~~~~~~~~~~~~~~
[582/1051] Building CXX object src/core/CMakeFiles/core.dir/hle/kernel/memory/address_space_info.cpp.o
In file included from ../src/./common/assert.h:9,
from ../src/core/hle/kernel/memory/address_space_info.cpp:10:
../src/core/hle/kernel/memory/address_space_info.cpp: In static member function ‘static u64 Kernel::Memory::AddressSpaceInfo::GetAddressSpaceStart(std::size_t, Kernel::Memory::AddressSpaceInfo::Type)’:
../src/./common/logging/log.h:173:25: warning: control reaches end of non-void function [-Wreturn-type]
173 | ::Log::FmtLogMessage(::Log::Class::log_class, ::Log::Level::Critical,
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
174 | ::Log::TrimSourcePath(FILE), LINE, func, VA_ARGS)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/./common/assert.h:42:7: note: in expansion of macro ‘LOG_CRITICAL’
42 | { LOG_CRITICAL(Debug, "Unreachable code!"); }
| ^~~~~~~~~~~~
../src/core/hle/kernel/memory/address_space_info.cpp:98:5: note: in expansion of macro ‘UNREACHABLE’
98 | UNREACHABLE();
| ^~~~~~~~~~~
../src/core/hle/kernel/memory/address_space_info.cpp: In static member function ‘static std::size_t Kernel::Memory::AddressSpaceInfo::GetAddressSpaceSize(std::size_t, Kernel::Memory::AddressSpaceInfo::Type)’:
../src/./common/logging/log.h:173:25: warning: control reaches end of non-void function [-Wreturn-type]
173 | ::Log::FmtLogMessage(::Log::Class::log_class, ::Log::Level::Critical,
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
174 | ::Log::TrimSourcePath(FILE), LINE, func, VA_ARGS)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/./common/assert.h:42:7: note: in expansion of macro ‘LOG_CRITICAL’
42 | { LOG_CRITICAL(Debug, "Unreachable code!"); }
| ^~~~~~~~~~~~
../src/core/hle/kernel/memory/address_space_info.cpp:114:5: note: in expansion of macro ‘UNREACHABLE’
114 | UNREACHABLE();
| ^~~~~~~~~~~
[586/1051] Building CXX object src/core/CMakeFiles/core.dir/hle/kernel/hle_ipc.cpp.o
In file included from ../src/core/hle/kernel/hle_ipc.cpp:16:
../src/./core/hle/ipc_helpers.h: In instantiation of ‘void IPC::RequestParser::PopRaw(T&) [with T = IPC::DomainMessageHeader]’:
../src/./core/hle/ipc_helpers.h:396:5: required from ‘T IPC::RequestParser::PopRaw() [with T = IPC::DomainMessageHeader]’
../src/core/hle/kernel/hle_ipc.cpp:152:73: required from here
../src/./core/hle/ipc_helpers.h:389:16: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘struct IPC::DomainMessageHeader’ from an array of ‘using u32 = uint32_t’ {aka ‘unsigned int’} [-Wclass-memaccess]
389 | std::memcpy(&value, cmdbuf + index, sizeof(T));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/./core/hle/ipc_helpers.h:15,
from ../src/core/hle/kernel/hle_ipc.cpp:16:
../src/./core/hle/ipc.h:153:8: note: ‘struct IPC::DomainMessageHeader’ declared here
153 | struct DomainMessageHeader {
| ^~~~~~~~~~~~~~~~~~~
In file included from ../src/core/hle/kernel/hle_ipc.cpp:16:
../src/./core/hle/ipc_helpers.h: In instantiation of ‘void IPC::RequestParser::PopRaw(T&) [with T = IPC::DataPayloadHeader]’:
../src/./core/hle/ipc_helpers.h:396:5: required from ‘T IPC::RequestParser::PopRaw() [with T = IPC::DataPayloadHeader]’
../src/core/hle/kernel/hle_ipc.cpp:160:61: required from here
../src/./core/hle/ipc_helpers.h:389:16: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘struct IPC::DataPayloadHeader’ from an array of ‘using u32 = uint32_t’ {aka ‘unsigned int’} [-Wclass-memaccess]
389 | std::memcpy(&value, cmdbuf + index, sizeof(T));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/./core/hle/ipc_helpers.h:15,
from ../src/core/hle/kernel/hle_ipc.cpp:16:
../src/./core/hle/ipc.h:147:8: note: ‘struct IPC::DataPayloadHeader’ declared here
147 | struct DataPayloadHeader {
| ^~~~~~~~~~~~~~~~~
[614/1051] Building CXX object src/core/CMakeFiles/core.dir/hle/service/acc/acc.cpp.o
In file included from ../src/core/hle/service/acc/acc.cpp:18:
../src/./core/hle/ipc_helpers.h: In instantiation of ‘void IPC::RequestParser::PopRaw(T&) [with T = Service::Account::ProfileBase]’:
../src/./core/hle/ipc_helpers.h:396:5: required from ‘T IPC::RequestParser::PopRaw() [with T = Service::Account::ProfileBase]’
../src/core/hle/service/acc/acc.cpp:360:50: required from here
../src/./core/hle/ipc_helpers.h:389:16: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘struct Service::Account::ProfileBase’ from an array of ‘using u32 = uint32_t’ {aka ‘unsigned int’} [-Wclass-memaccess]
389 | std::memcpy(&value, cmdbuf + index, sizeof(T));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/core/hle/service/acc/acc.cpp:27:
../src/./core/hle/service/acc/profile_manager.h:45:8: note: ‘struct Service::Account::ProfileBase’ declared here
45 | struct ProfileBase {
| ^~~~~~~~~~~
In file included from ../src/core/hle/service/acc/acc.cpp:18:
../src/./core/hle/ipc_helpers.h: In instantiation of ‘void IPC::RequestParser::PopRaw(T&) [with T = Common::UUID]’:
../src/./core/hle/ipc_helpers.h:396:5: required from ‘T IPC::RequestParser::PopRaw() [with T = Common::UUID]’
../src/core/hle/service/acc/acc.cpp:631:52: required from here
../src/./core/hle/ipc_helpers.h:389:16: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘struct Common::UUID’ from an array of ‘using u32 = uint32_t’ {aka ‘unsigned int’} [-Wclass-memaccess]
389 | std::memcpy(&value, cmdbuf + index, sizeof(T));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/./core/hle/service/acc/profile_manager.h:12,
from ../src/core/hle/service/acc/acc.cpp:27:
../src/./common/uuid.h:15:8: note: ‘struct Common::UUID’ declared here
15 | struct UUID {
| ^~~~
[643/1051] Building CXX object src/core/CMakeFiles/core.dir/hle/service/audio/audout_u.cpp.o
In file included from ../src/core/hle/service/audio/audout_u.cpp:15:
../src/./core/hle/ipc_helpers.h: In instantiation of ‘void IPC::RequestParser::PopRaw(T&) [with T = Service::Audio::AudoutParams]’:
../src/./core/hle/ipc_helpers.h:396:5: required from ‘T IPC::RequestParser::PopRaw() [with T = Service::Audio::AudoutParams]’
../src/core/hle/service/audio/audout_u.cpp:255:41: required from here
../src/./core/hle/ipc_helpers.h:389:16: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘struct Service::Audio::AudoutParams’ from an array of ‘using u32 = uint32_t’ {aka ‘unsigned int’} [-Wclass-memaccess]
389 | std::memcpy(&value, cmdbuf + index, sizeof(T));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/core/hle/service/audio/audout_u.cpp:29:8: note: ‘struct Service::Audio::AudoutParams’ declared here
29 | struct AudoutParams {
| ^~~~~~~~~~~~
[671/1051] Building CXX object src/core/CMakeFiles/core.dir/hle/service/friend/friend.cpp.o
In file included from ../src/core/hle/service/friend/friend.cpp:9:
../src/./core/hle/ipc_helpers.h: In instantiation of ‘void IPC::RequestParser::PopRaw(T&) [with T = Common::UUID]’:
../src/./core/hle/ipc_helpers.h:396:5: required from ‘T IPC::RequestParser::PopRaw() [with T = Common::UUID]’
../src/core/hle/service/friend/friend.cpp:158:51: required from here
../src/./core/hle/ipc_helpers.h:389:16: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘struct Common::UUID’ from an array of ‘using u32 = uint32_t’ {aka ‘unsigned int’} [-Wclass-memaccess]
389 | std::memcpy(&value, cmdbuf + index, sizeof(T));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/core/hle/service/friend/friend.cpp:7:
../src/./common/uuid.h:15:8: note: ‘struct Common::UUID’ declared here
15 | struct UUID {
| ^~~~
[673/1051] Building CXX object src/core/CMakeFiles/core.dir/hle/service/filesystem/fsp_srv.cpp.o
In file included from ../src/core/hle/service/filesystem/fsp_srv.cpp:27:
../src/./core/hle/ipc_helpers.h: In instantiation of ‘void IPC::RequestParser::PopRaw(T&) [with T = FileSys::SaveDataAttribute]’:
../src/./core/hle/ipc_helpers.h:396:5: required from ‘T IPC::RequestParser::PopRaw() [with T = FileSys::SaveDataAttribute]’
../src/core/hle/service/filesystem/fsp_srv.cpp:820:62: required from here
../src/./core/hle/ipc_helpers.h:389:16: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘struct FileSys::SaveDataAttribute’ from an array of ‘using u32 = uint32_t’ {aka ‘unsigned int’} [-Wclass-memaccess]
389 | std::memcpy(&value, cmdbuf + index, sizeof(T));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/core/hle/service/filesystem/fsp_srv.cpp:24:
../src/./core/file_sys/savedata_factory.h:54:8: note: ‘struct FileSys::SaveDataAttribute’ declared here
54 | struct SaveDataAttribute {
| ^~~~~~~~~~~~~~~~~
In file included from ../src/core/hle/service/filesystem/fsp_srv.cpp:27:
../src/./core/hle/ipc_helpers.h: In instantiation of ‘void IPC::RequestParser::PopRaw(T&) [with T = Service::FileSystem::FSP_SRV::OpenSaveDataFileSystem(Kernel::HLERequestContext&)::Parameters]’:
../src/./core/hle/ipc_helpers.h:396:5: required from ‘T IPC::RequestParser::PopRaw() [with T = Service::FileSystem::FSP_SRV::OpenSaveDataFileSystem(Kernel::HLERequestContext&)::Parameters]’
../src/core/hle/service/filesystem/fsp_srv.cpp:841:51: required from here
../src/./core/hle/ipc_helpers.h:389:16: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘struct Service::FileSystem::FSP_SRV::OpenSaveDataFileSystem(Kernel::HLERequestContext&)::Parameters’ from an array of ‘using u32 = uint32_t’ {aka ‘unsigned int’} [-Wclass-memaccess]
389 | std::memcpy(&value, cmdbuf + index, sizeof(T));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/core/hle/service/filesystem/fsp_srv.cpp:836:12: note: ‘struct Service::FileSystem::FSP_SRV::OpenSaveDataFileSystem(Kernel::HLERequestContext&)::Parameters’ declared here
836 | struct Parameters {
| ^~~~~~~~~~
In file included from ../src/core/hle/service/filesystem/fsp_srv.cpp:27:
../src/./core/hle/ipc_helpers.h: In instantiation of ‘void IPC::RequestParser::PopRaw(T&) [with T = Service::FileSystem::FSP_SRV::ReadSaveDataFileSystemExtraDataWithMaskBySaveDataAttribute(Kernel::HLERequestContext&)::Parameters]’:
../src/./core/hle/ipc_helpers.h:396:5: required from ‘T IPC::RequestParser::PopRaw() [with T = Service::FileSystem::FSP_SRV::ReadSaveDataFileSystemExtraDataWithMaskBySaveDataAttribute(Kernel::HLERequestContext&)::Parameters]’
../src/core/hle/service/filesystem/fsp_srv.cpp:910:51: required from here
../src/./core/hle/ipc_helpers.h:389:16: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘struct Service::FileSystem::FSP_SRV::ReadSaveDataFileSystemExtraDataWithMaskBySaveDataAttribute(Kernel::HLERequestContext&)::Parameters’ from an array of ‘using u32 = uint32_t’ {aka ‘unsigned int’} [-Wclass-memaccess]
389 | std::memcpy(&value, cmdbuf + index, sizeof(T));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/core/hle/service/filesystem/fsp_srv.cpp:905:12: note: ‘struct Service::FileSystem::FSP_SRV::ReadSaveDataFileSystemExtraDataWithMaskBySaveDataAttribute(Kernel::HLERequestContext&)::Parameters’ declared here
905 | struct Parameters {
| ^~~~~~~~~~
[688/1051] Building CXX object src/core/CMakeFiles/core.dir/hle/service/hid/hid.cpp.o
In file included from ../src/core/hle/service/hid/hid.cpp:14:
../src/./core/hle/ipc_helpers.h: In instantiation of ‘void IPC::RequestParser::PopRaw(T&) [with T = Service::HID::Controller_NPad::DeviceHandle]’:
../src/./core/hle/ipc_helpers.h:396:5: required from ‘T IPC::RequestParser::PopRaw() [with T = Service::HID::Controller_NPad::DeviceHandle]’
../src/core/hle/service/hid/hid.cpp:158:85: required from here
../src/./core/hle/ipc_helpers.h:389:16: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘struct Service::HID::Controller_NPad::DeviceHandle’ from an array of ‘using u32 = uint32_t’ {aka ‘unsigned int’} [-Wclass-memaccess]
389 | std::memcpy(&value, cmdbuf + index, sizeof(T));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/core/hle/service/hid/hid.cpp:33:
../src/./core/hle/service/hid/controllers/npad.h:97:12: note: ‘struct Service::HID::Controller_NPad::DeviceHandle’ declared here
97 | struct DeviceHandle {
| ^~~~~~~~~~~~
In file included from ../src/core/hle/service/hid/hid.cpp:14:
../src/./core/hle/ipc_helpers.h: In instantiation of ‘void IPC::RequestParser::PopRaw(T&) [with T = Service::HID::Hid::ActivateXpad(Kernel::HLERequestContext&)::Parameters]’:
../src/./core/hle/ipc_helpers.h:396:5: required from ‘T IPC::RequestParser::PopRaw() [with T = Service::HID::Hid::ActivateXpad(Kernel::HLERequestContext&)::Parameters]’
../src/core/hle/service/hid/hid.cpp:407:49: required from here
../src/./core/hle/ipc_helpers.h:389:16: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘struct Service::HID::Hid::ActivateXpad(Kernel::HLERequestContext&)::Parameters’ from an array of ‘using u32 = uint32_t’ {aka ‘unsigned int’} [-Wclass-memaccess]
389 | std::memcpy(&value, cmdbuf + index, sizeof(T));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/core/hle/service/hid/hid.cpp:401:12: note: ‘struct Service::HID::Hid::ActivateXpad(Kernel::HLERequestContext&)::Parameters’ declared here
401 | struct Parameters {
| ^~~~~~~~~~
In file included from ../src/core/hle/service/hid/hid.cpp:14:
../src/./core/hle/ipc_helpers.h: In instantiation of ‘void IPC::RequestParser::PopRaw(T&) [with T = Service::HID::Hid::ActivateSixAxisSensor(Kernel::HLERequestContext&)::Parameters]’:
../src/./core/hle/ipc_helpers.h:396:5: required from ‘T IPC::RequestParser::PopRaw() [with T = Service::HID::Hid::ActivateSixAxisSensor(Kernel::HLERequestContext&)::Parameters]’
../src/core/hle/service/hid/hid.cpp:437:49: required from here
../src/./core/hle/ipc_helpers.h:389:16: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘struct Service::HID::Hid::ActivateSixAxisSensor(Kernel::HLERequestContext&)::Parameters’ from an array of ‘using u32 = uint32_t’ {aka ‘unsigned int’} [-Wclass-memaccess]
389 | std::memcpy(&value, cmdbuf + index, sizeof(T));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/core/hle/service/hid/hid.cpp:431:12: note: ‘struct Service::HID::Hid::ActivateSixAxisSensor(Kernel::HLERequestContext&)::Parameters’ declared here
431 | struct Parameters {
| ^~~~~~~~~~
In file included from ../src/core/hle/service/hid/hid.cpp:14:
../src/./core/hle/ipc_helpers.h: In instantiation of ‘void IPC::RequestParser::PopRaw(T&) [with T = Service::HID::Hid::DeactivateSixAxisSensor(Kernel::HLERequestContext&)::Parameters]’:
../src/./core/hle/ipc_helpers.h:396:5: required from ‘T IPC::RequestParser::PopRaw() [with T = Service::HID::Hid::DeactivateSixAxisSensor(Kernel::HLERequestContext&)::Parameters]’
../src/core/hle/service/hid/hid.cpp:458:49: required from here
../src/./core/hle/ipc_helpers.h:389:16: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘struct Service::HID::Hid::DeactivateSixAxisSensor(Kernel::HLERequestContext&)::Parameters’ from an array of ‘using u32 = uint32_t’ {aka ‘unsigned int’} [-Wclass-memaccess]
389 | std::memcpy(&value, cmdbuf + index, sizeof(T));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/core/hle/service/hid/hid.cpp:452:12: note: ‘struct Service::HID::Hid::DeactivateSixAxisSensor(Kernel::HLERequestContext&)::Parameters’ declared here
452 | struct Parameters {
| ^~~~~~~~~~
In file included from ../src/core/hle/service/hid/hid.cpp:14:
../src/./core/hle/ipc_helpers.h: In instantiation of ‘void IPC::RequestParser::PopRaw(T&) [with T = Service::HID::Hid::StartSixAxisSensor(Kernel::HLERequestContext&)::Parameters]’:
../src/./core/hle/ipc_helpers.h:396:5: required from ‘T IPC::RequestParser::PopRaw() [with T = Service::HID::Hid::StartSixAxisSensor(Kernel::HLERequestContext&)::Parameters]’
../src/core/hle/service/hid/hid.cpp:479:49: required from here
../src/./core/hle/ipc_helpers.h:389:16: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘struct Service::HID::Hid::StartSixAxisSensor(Kernel::HLERequestContext&)::Parameters’ from an array of ‘using u32 = uint32_t’ {aka ‘unsigned int’} [-Wclass-memaccess]
389 | std::memcpy(&value, cmdbuf + index, sizeof(T));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/core/hle/service/hid/hid.cpp:473:12: note: ‘struct Service::HID::Hid::StartSixAxisSensor(Kernel::HLERequestContext&)::Parameters’ declared here
473 | struct Parameters {
| ^~~~~~~~~~
In file included from ../src/core/hle/service/hid/hid.cpp:14:
../src/./core/hle/ipc_helpers.h: In instantiation of ‘void IPC::RequestParser::PopRaw(T&) [with T = Service::HID::Hid::StopSixAxisSensor(Kernel::HLERequestContext&)::Parameters]’:
../src/./core/hle/ipc_helpers.h:396:5: required from ‘T IPC::RequestParser::PopRaw() [with T = Service::HID::Hid::StopSixAxisSensor(Kernel::HLERequestContext&)::Parameters]’
../src/core/hle/service/hid/hid.cpp:500:49: required from here
../src/./core/hle/ipc_helpers.h:389:16: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘struct Service::HID::Hid::StopSixAxisSensor(Kernel::HLERequestContext&)::Parameters’ from an array of ‘using u32 = uint32_t’ {aka ‘unsigned int’} [-Wclass-memaccess]
389 | std::memcpy(&value, cmdbuf + index, sizeof(T));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/core/hle/service/hid/hid.cpp:494:12: note: ‘struct Service::HID::Hid::StopSixAxisSensor(Kernel::HLERequestContext&)::Parameters’ declared here
494 | struct Parameters {
| ^~~~~~~~~~
In file included from ../src/core/hle/service/hid/hid.cpp:14:
../src/./core/hle/ipc_helpers.h: In instantiation of ‘void IPC::RequestParser::PopRaw(T&) [with T = Service::HID::Hid::EnableSixAxisSensorFusion(Kernel::HLERequestContext&)::Parameters]’:
../src/./core/hle/ipc_helpers.h:396:5: required from ‘T IPC::RequestParser::PopRaw() [with T = Service::HID::Hid::EnableSixAxisSensorFusion(Kernel::HLERequestContext&)::Parameters]’
../src/core/hle/service/hid/hid.cpp:522:49: required from here
../src/./core/hle/ipc_helpers.h:389:16: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘struct Service::HID::Hid::EnableSixAxisSensorFusion(Kernel::HLERequestContext&)::Parameters’ from an array of ‘using u32 = uint32_t’ {aka ‘unsigned int’} [-Wclass-memaccess]
389 | std::memcpy(&value, cmdbuf + index, sizeof(T));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/core/hle/service/hid/hid.cpp:515:12: note: ‘struct Service::HID::Hid::EnableSixAxisSensorFusion(Kernel::HLERequestContext&)::Parameters’ declared here
515 | struct Parameters {
| ^~~~~~~~~~
In file included from ../src/core/hle/service/hid/hid.cpp:14:
../src/./core/hle/ipc_helpers.h: In instantiation of ‘void IPC::RequestParser::PopRaw(T&) [with T = Service::HID::Hid::GetGyroscopeZeroDriftMode(Kernel::HLERequestContext&)::Parameters]’:
../src/./core/hle/ipc_helpers.h:396:5: required from ‘T IPC::RequestParser::PopRaw() [with T = Service::HID::Hid::GetGyroscopeZeroDriftMode(Kernel::HLERequestContext&)::Parameters]’
../src/core/hle/service/hid/hid.cpp:562:49: required from here
../src/./core/hle/ipc_helpers.h:389:16: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘struct Service::HID::Hid::GetGyroscopeZeroDriftMode(Kernel::HLERequestContext&)::Parameters’ from an array of ‘using u32 = uint32_t’ {aka ‘unsigned int’} [-Wclass-memaccess]
389 | std::memcpy(&value, cmdbuf + index, sizeof(T));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/core/hle/service/hid/hid.cpp:556:12: note: ‘struct Service::HID::Hid::GetGyroscopeZeroDriftMode(Kernel::HLERequestContext&)::Parameters’ declared here
556 | struct Parameters {
| ^~~~~~~~~~
In file included from ../src/core/hle/service/hid/hid.cpp:14:
../src/./core/hle/ipc_helpers.h: In instantiation of ‘void IPC::RequestParser::PopRaw(T&) [with T = Service::HID::Hid::ResetGyroscopeZeroDriftMode(Kernel::HLERequestContext&)::Parameters]’:
../src/./core/hle/ipc_helpers.h:396:5: required from ‘T IPC::RequestParser::PopRaw() [with T = Service::HID::Hid::ResetGyroscopeZeroDriftMode(Kernel::HLERequestContext&)::Parameters]’
../src/core/hle/service/hid/hid.cpp:583:49: required from here
../src/./core/hle/ipc_helpers.h:389:16: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘struct Service::HID::Hid::ResetGyroscopeZeroDriftMode(Kernel::HLERequestContext&)::Parameters’ from an array of ‘using u32 = uint32_t’ {aka ‘unsigned int’} [-Wclass-memaccess]
389 | std::memcpy(&value, cmdbuf + index, sizeof(T));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/core/hle/service/hid/hid.cpp:577:12: note: ‘struct Service::HID::Hid::ResetGyroscopeZeroDriftMode(Kernel::HLERequestContext&)::Parameters’ declared here
577 | struct Parameters {
| ^~~~~~~~~~
In file included from ../src/core/hle/service/hid/hid.cpp:14:
../src/./core/hle/ipc_helpers.h: In instantiation of ‘void IPC::RequestParser::PopRaw(T&) [with T = Service::HID::Hid::IsSixAxisSensorAtRest(Kernel::HLERequestContext&)::Parameters]’:
../src/./core/hle/ipc_helpers.h:396:5: required from ‘T IPC::RequestParser::PopRaw() [with T = Service::HID::Hid::IsSixAxisSensorAtRest(Kernel::HLERequestContext&)::Parameters]’
../src/core/hle/service/hid/hid.cpp:605:49: required from here
../src/./core/hle/ipc_helpers.h:389:16: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘struct Service::HID::Hid::IsSixAxisSensorAtRest(Kernel::HLERequestContext&)::Parameters’ from an array of ‘using u32 = uint32_t’ {aka ‘unsigned int’} [-Wclass-memaccess]
389 | std::memcpy(&value, cmdbuf + index, sizeof(T));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/core/hle/service/hid/hid.cpp:599:12: note: ‘struct Service::HID::Hid::IsSixAxisSensorAtRest(Kernel::HLERequestContext&)::Parameters’ declared here
599 | struct Parameters {
| ^~~~~~~~~~
In file included from ../src/core/hle/service/hid/hid.cpp:14:
../src/./core/hle/ipc_helpers.h: In instantiation of ‘void IPC::RequestParser::PopRaw(T&) [with T = Service::HID::Hid::ActivateGesture(Kernel::HLERequestContext&)::Parameters]’:
../src/./core/hle/ipc_helpers.h:396:5: required from ‘T IPC::RequestParser::PopRaw() [with T = Service::HID::Hid::ActivateGesture(Kernel::HLERequestContext&)::Parameters]’
../src/core/hle/service/hid/hid.cpp:626:49: required from here
../src/./core/hle/ipc_helpers.h:389:16: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘struct Service::HID::Hid::ActivateGesture(Kernel::HLERequestContext&)::Parameters’ from an array of ‘using u32 = uint32_t’ {aka ‘unsigned int’} [-Wclass-memaccess]
389 | std::memcpy(&value, cmdbuf + index, sizeof(T));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/core/hle/service/hid/hid.cpp:620:12: note: ‘struct Service::HID::Hid::ActivateGesture(Kernel::HLERequestContext&)::Parameters’ declared here
620 | struct Parameters {
| ^~~~~~~~~~
In file included from ../src/core/hle/service/hid/hid.cpp:14:
../src/./core/hle/ipc_helpers.h: In instantiation of ‘void IPC::RequestParser::PopRaw(T&) [with T = Service::HID::Hid::AcquireNpadStyleSetUpdateEventHandle(Kernel::HLERequestContext&)::Parameters]’:
../src/./core/hle/ipc_helpers.h:396:5: required from ‘T IPC::RequestParser::PopRaw() [with T = Service::HID::Hid::AcquireNpadStyleSetUpdateEventHandle(Kernel::HLERequestContext&)::Parameters]’
../src/core/hle/service/hid/hid.cpp:709:49: required from here
../src/./core/hle/ipc_helpers.h:389:16: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘struct Service::HID::Hid::AcquireNpadStyleSetUpdateEventHandle(Kernel::HLERequestContext&)::Parameters’ from an array of ‘using u32 = uint32_t’ {aka ‘unsigned int’} [-Wclass-memaccess]
389 | std::memcpy(&value, cmdbuf + index, sizeof(T));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/core/hle/service/hid/hid.cpp:702:12: note: ‘struct Service::HID::Hid::AcquireNpadStyleSetUpdateEventHandle(Kernel::HLERequestContext&)::Parameters’ declared here
702 | struct Parameters {
| ^~~~~~~~~~
In file included from ../src/core/hle/service/hid/hid.cpp:14:
../src/./core/hle/ipc_helpers.h: In instantiation of ‘void IPC::RequestParser::PopRaw(T&) [with T = Service::HID::Hid::DisconnectNpad(Kernel::HLERequestContext&)::Parameters]’:
../src/./core/hle/ipc_helpers.h:396:5: required from ‘T IPC::RequestParser::PopRaw() [with T = Service::HID::Hid::DisconnectNpad(Kernel::HLERequestContext&)::Parameters]’
../src/core/hle/service/hid/hid.cpp:728:49: required from here
../src/./core/hle/ipc_helpers.h:389:16: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘struct Service::HID::Hid::DisconnectNpad(Kernel::HLERequestContext&)::Parameters’ from an array of ‘using u32 = uint32_t’ {aka ‘unsigned int’} [-Wclass-memaccess]
389 | std::memcpy(&value, cmdbuf + index, sizeof(T));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/core/hle/service/hid/hid.cpp:722:12: note: ‘struct Service::HID::Hid::DisconnectNpad(Kernel::HLERequestContext&)::Parameters’ declared here
722 | struct Parameters {
| ^~~~~~~~~~
In file included from ../src/core/hle/service/hid/hid.cpp:14:
../src/./core/hle/ipc_helpers.h: In instantiation of ‘void IPC::RequestParser::PopRaw(T&) [with T = Service::HID::Hid::ActivateNpadWithRevision(Kernel::HLERequestContext&)::Parameters]’:
../src/./core/hle/ipc_helpers.h:396:5: required from ‘T IPC::RequestParser::PopRaw() [with T = Service::HID::Hid::ActivateNpadWithRevision(Kernel::HLERequestContext&)::Parameters]’
../src/core/hle/service/hid/hid.cpp:762:49: required from here
../src/./core/hle/ipc_helpers.h:389:16: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘struct Service::HID::Hid::ActivateNpadWithRevision(Kernel::HLERequestContext&)::Parameters’ from an array of ‘using u32 = uint32_t’ {aka ‘unsigned int’} [-Wclass-memaccess]
389 | std::memcpy(&value, cmdbuf + index, sizeof(T));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/core/hle/service/hid/hid.cpp:756:12: note: ‘struct Service::HID::Hid::ActivateNpadWithRevision(Kernel::HLERequestContext&)::Parameters’ declared here
756 | struct Parameters {
| ^~~~~~~~~~
In file included from ../src/core/hle/service/hid/hid.cpp:14:
../src/./core/hle/ipc_helpers.h: In instantiation of ‘void IPC::RequestParser::PopRaw(T&) [with T = Service::HID::Hid::SetNpadJoyAssignmentModeSingleByDefault(Kernel::HLERequestContext&)::Parameters]’:
../src/./core/hle/ipc_helpers.h:396:5: required from ‘T IPC::RequestParser::PopRaw() [with T = Service::HID::Hid::SetNpadJoyAssignmentModeSingleByDefault(Kernel::HLERequestContext&)::Parameters]’
../src/core/hle/service/hid/hid.cpp:806:49: required from here
../src/./core/hle/ipc_helpers.h:389:16: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘struct Service::HID::Hid::SetNpadJoyAssignmentModeSingleByDefault(Kernel::HLERequestContext&)::Parameters’ from an array of ‘using u32 = uint32_t’ {aka ‘unsigned int’} [-Wclass-memaccess]
389 | std::memcpy(&value, cmdbuf + index, sizeof(T));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/core/hle/service/hid/hid.cpp:800:12: note: ‘struct Service::HID::Hid::SetNpadJoyAssignmentModeSingleByDefault(Kernel::HLERequestContext&)::Parameters’ declared here
800 | struct Parameters {
| ^~~~~~~~~~
In file included from ../src/core/hle/service/hid/hid.cpp:14:
../src/./core/hle/ipc_helpers.h: In instantiation of ‘void IPC::RequestParser::PopRaw(T&) [with T = Service::HID::Hid::SetNpadJoyAssignmentModeSingle(Kernel::HLERequestContext&)::Parameters]’:
../src/./core/hle/ipc_helpers.h:396:5: required from ‘T IPC::RequestParser::PopRaw() [with T = Service::HID::Hid::SetNpadJoyAssignmentModeSingle(Kernel::HLERequestContext&)::Parameters]’
../src/core/hle/service/hid/hid.cpp:828:49: required from here
../src/./core/hle/ipc_helpers.h:389:16: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘struct Service::HID::Hid::SetNpadJoyAssignmentModeSingle(Kernel::HLERequestContext&)::Parameters’ from an array of ‘using u32 = uint32_t’ {aka ‘unsigned int’} [-Wclass-memaccess]
389 | std::memcpy(&value, cmdbuf + index, sizeof(T));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/core/hle/service/hid/hid.cpp:821:12: note: ‘struct Service::HID::Hid::SetNpadJoyAssignmentModeSingle(Kernel::HLERequestContext&)::Parameters’ declared here
821 | struct Parameters {
| ^~~~~~~~~~
In file included from ../src/core/hle/service/hid/hid.cpp:14:
../src/./core/hle/ipc_helpers.h: In instantiation of ‘void IPC::RequestParser::PopRaw(T&) [with T = Service::HID::Hid::SetNpadJoyAssignmentModeDual(Kernel::HLERequestContext&)::Parameters]’:
../src/./core/hle/ipc_helpers.h:396:5: required from ‘T IPC::RequestParser::PopRaw() [with T = Service::HID::Hid::SetNpadJoyAssignmentModeDual(Kernel::HLERequestContext&)::Parameters]’
../src/core/hle/service/hid/hid.cpp:850:49: required from here
../src/./core/hle/ipc_helpers.h:389:16: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘struct Service::HID::Hid::SetNpadJoyAssignmentModeDual(Kernel::HLERequestContext&)::Parameters’ from an array of ‘using u32 = uint32_t’ {aka ‘unsigned int’} [-Wclass-memaccess]
389 | std::memcpy(&value, cmdbuf + index, sizeof(T));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/core/hle/service/hid/hid.cpp:844:12: note: ‘struct Service::HID::Hid::SetNpadJoyAssignmentModeDual(Kernel::HLERequestContext&)::Parameters’ declared here
844 | struct Parameters {
| ^~~~~~~~~~
In file included from ../src/core/hle/service/hid/hid.cpp:14:
../src/./core/hle/ipc_helpers.h: In instantiation of ‘void IPC::RequestParser::PopRaw(T&) [with T = Service::HID::Hid::IsUnintendedHomeButtonInputProtectionEnabled(Kernel::HLERequestContext&)::Parameters]’:
../src/./core/hle/ipc_helpers.h:396:5: required from ‘T IPC::RequestParser::PopRaw() [with T = Service::HID::Hid::IsUnintendedHomeButtonInputProtectionEnabled(Kernel::HLERequestContext&)::Parameters]’
../src/core/hle/service/hid/hid.cpp:958:49: required from here
../src/./core/hle/ipc_helpers.h:389:16: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘struct Service::HID::Hid::IsUnintendedHomeButtonInputProtectionEnabled(Kernel::HLERequestContext&)::Parameters’ from an array of ‘using u32 = uint32_t’ {aka ‘unsigned int’} [-Wclass-memaccess]
389 | std::memcpy(&value, cmdbuf + index, sizeof(T));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/core/hle/service/hid/hid.cpp:952:12: note: ‘struct Service::HID::Hid::IsUnintendedHomeButtonInputProtectionEnabled(Kernel::HLERequestContext&)::Parameters’ declared here
952 | struct Parameters {
| ^~~~~~~~~~
In file included from ../src/core/hle/service/hid/hid.cpp:14:
../src/./core/hle/ipc_helpers.h: In instantiation of ‘void IPC::RequestParser::PopRaw(T&) [with T = Service::HID::Hid::EnableUnintendedHomeButtonInputProtection(Kernel::HLERequestContext&)::Parameters]’:
../src/./core/hle/ipc_helpers.h:396:5: required from ‘T IPC::RequestParser::PopRaw() [with T = Service::HID::Hid::EnableUnintendedHomeButtonInputProtection(Kernel::HLERequestContext&)::Parameters]’
../src/core/hle/service/hid/hid.cpp:978:49: required from here
../src/./core/hle/ipc_helpers.h:389:16: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘struct Service::HID::Hid::EnableUnintendedHomeButtonInputProtection(Kernel::HLERequestContext&)::Parameters’ from an array of ‘using u32 = uint32_t’ {aka ‘unsigned int’} [-Wclass-memaccess]
389 | std::memcpy(&value, cmdbuf + index, sizeof(T));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/core/hle/service/hid/hid.cpp:971:12: note: ‘struct Service::HID::Hid::EnableUnintendedHomeButtonInputProtection(Kernel::HLERequestContext&)::Parameters’ declared here
971 | struct Parameters {
| ^~~~~~~~~~
In file included from ../src/core/hle/service/hid/hid.cpp:14:
../src/./core/hle/ipc_helpers.h: In instantiation of ‘void IPC::RequestParser::PopRaw(T&) [with T = Service::HID::Hid::SendVibrationValue(Kernel::HLERequestContext&)::Parameters]’:
../src/./core/hle/ipc_helpers.h:396:5: required from ‘T IPC::RequestParser::PopRaw() [with T = Service::HID::Hid::SendVibrationValue(Kernel::HLERequestContext&)::Parameters]’
../src/core/hle/service/hid/hid.cpp:1033:49: required from here
../src/./core/hle/ipc_helpers.h:389:16: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘struct Service::HID::Hid::SendVibrationValue(Kernel::HLERequestContext&)::Parameters’ from an array of ‘using u32 = uint32_t’ {aka ‘unsigned int’} [-Wclass-memaccess]
389 | std::memcpy(&value, cmdbuf + index, sizeof(T));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/core/hle/service/hid/hid.cpp:1026:12: note: ‘struct Service::HID::Hid::SendVibrationValue(Kernel::HLERequestContext&)::Parameters’ declared here
1026 | struct Parameters {
| ^~~~~~~~~~
In file included from ../src/core/hle/service/hid/hid.cpp:14:
../src/./core/hle/ipc_helpers.h: In instantiation of ‘void IPC::RequestParser::PopRaw(T&) [with T = Service::HID::Hid::GetActualVibrationValue(Kernel::HLERequestContext&)::Parameters]’:
../src/./core/hle/ipc_helpers.h:396:5: required from ‘T IPC::RequestParser::PopRaw() [with T = Service::HID::Hid::GetActualVibrationValue(Kernel::HLERequestContext&)::Parameters]’
../src/core/hle/service/hid/hid.cpp:1056:49: required from here
../src/./core/hle/ipc_helpers.h:389:16: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘struct Service::HID::Hid::GetActualVibrationValue(Kernel::HLERequestContext&)::Parameters’ from an array of ‘using u32 = uint32_t’ {aka ‘unsigned int’} [-Wclass-memaccess]
389 | std::memcpy(&value, cmdbuf + index, sizeof(T));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/core/hle/service/hid/hid.cpp:1050:12: note: ‘struct Service::HID::Hid::GetActualVibrationValue(Kernel::HLERequestContext&)::Parameters’ declared here
1050 | struct Parameters {
| ^~~~~~~~~~
In file included from ../src/core/hle/service/hid/hid.cpp:14:
../src/./core/hle/ipc_helpers.h: In instantiation of ‘void IPC::RequestParser::PopRaw(T&) [with T = Service::HID::Hid::IsVibrationDeviceMounted(Kernel::HLERequestContext&)::Parameters]’:
../src/./core/hle/ipc_helpers.h:396:5: required from ‘T IPC::RequestParser::PopRaw() [with T = Service::HID::Hid::IsVibrationDeviceMounted(Kernel::HLERequestContext&)::Parameters]’
../src/core/hle/service/hid/hid.cpp:1153:49: required from here
../src/./core/hle/ipc_helpers.h:389:16: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘struct Service::HID::Hid::IsVibrationDeviceMounted(Kernel::HLERequestContext&)::Parameters’ from an array of ‘using u32 = uint32_t’ {aka ‘unsigned int’} [-Wclass-memaccess]
389 | std::memcpy(&value, cmdbuf + index, sizeof(T));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/core/hle/service/hid/hid.cpp:1147:12: note: ‘struct Service::HID::Hid::IsVibrationDeviceMounted(Kernel::HLERequestContext&)::Parameters’ declared here
1147 | struct Parameters {
| ^~~~~~~~~~
In file included from ../src/core/hle/service/hid/hid.cpp:14:
../src/./core/hle/ipc_helpers.h: In instantiation of ‘void IPC::RequestParser::PopRaw(T&) [with T = Service::HID::Hid::StartConsoleSixAxisSensor(Kernel::HLERequestContext&)::Parameters]’:
../src/./core/hle/ipc_helpers.h:396:5: required from ‘T IPC::RequestParser::PopRaw() [with T = Service::HID::Hid::StartConsoleSixAxisSensor(Kernel::HLERequestContext&)::Parameters]’
../src/core/hle/service/hid/hid.cpp:1186:49: required from here
../src/./core/hle/ipc_helpers.h:389:16: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘struct Service::HID::Hid::StartConsoleSixAxisSensor(Kernel::HLERequestContext&)::Parameters’ from an array of ‘using u32 = uint32_t’ {aka ‘unsigned int’} [-Wclass-memaccess]
389 | std::memcpy(&value, cmdbuf + index, sizeof(T));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/core/hle/service/hid/hid.cpp:1180:12: note: ‘struct Service::HID::Hid::StartConsoleSixAxisSensor(Kernel::HLERequestContext&)::Parameters’ declared here
1180 | struct Parameters {
| ^~~~~~~~~~
In file included from ../src/core/hle/service/hid/hid.cpp:14:
../src/./core/hle/ipc_helpers.h: In instantiation of ‘void IPC::RequestParser::PopRaw(T&) [with T = Service::HID::Hid::StopConsoleSixAxisSensor(Kernel::HLERequestContext&)::Parameters]’:
../src/./core/hle/ipc_helpers.h:396:5: required from ‘T IPC::RequestParser::PopRaw() [with T = Service::HID::Hid::StopConsoleSixAxisSensor(Kernel::HLERequestContext&)::Parameters]’
../src/core/hle/service/hid/hid.cpp:1206:49: required from here
../src/./core/hle/ipc_helpers.h:389:16: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘struct Service::HID::Hid::StopConsoleSixAxisSensor(Kernel::HLERequestContext&)::Parameters’ from an array of ‘using u32 = uint32_t’ {aka ‘unsigned int’} [-Wclass-memaccess]
389 | std::memcpy(&value, cmdbuf + index, sizeof(T));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/core/hle/service/hid/hid.cpp:1200:12: note: ‘struct Service::HID::Hid::StopConsoleSixAxisSensor(Kernel::HLERequestContext&)::Parameters’ declared here
1200 | struct Parameters {
| ^~~~~~~~~~
[698/1051] Building CXX object src/core/CMakeFiles/core.dir/hle/service/mii/mii.cpp.o
In file included from ../src/core/hle/service/mii/mii.cpp:8:
../src/./core/hle/ipc_helpers.h: In instantiation of ‘void IPC::RequestParser::PopRaw(T&) [with T = Service::Mii::MiiInfo]’:
../src/./core/hle/ipc_helpers.h:396:5: required from ‘T IPC::RequestParser::PopRaw() [with T = Service::Mii::MiiInfo]’
../src/core/hle/service/mii/mii.cpp:149:44: required from here
../src/./core/hle/ipc_helpers.h:389:16: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘struct Service::Mii::MiiInfo’ from an array of ‘using u32 = uint32_t’ {aka ‘unsigned int’} [-Wclass-memaccess]
389 | std::memcpy(&value, cmdbuf + index, sizeof(T));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/core/hle/service/mii/mii.cpp:10:
../src/./core/hle/service/mii/manager.h:29:8: note: ‘struct Service::Mii::MiiInfo’ declared here
29 | struct MiiInfo {
| ^~~~~~~
[724/1051] Building CXX object src/core/CMakeFiles/core.dir/hle/service/nvflinger/buffer_queue.cpp.o
../src/core/hle/service/nvflinger/buffer_queue.cpp: In member function ‘u32 Service::NVFlinger::BufferQueue::Query(Service::NVFlinger::BufferQueue::QueryType)’:
../src/core/hle/service/nvflinger/buffer_queue.cpp:158:12: warning: enumeration value ‘NativeWindowWidth’ not handled in switch [-Wswitch]
158 | switch (type) {
| ^
../src/core/hle/service/nvflinger/buffer_queue.cpp:158:12: warning: enumeration value ‘NativeWindowHeight’ not handled in switch [-Wswitch]
[725/1051] Building CXX object src/core/CMakeFiles/core.dir/hle/service/pcie/pcie.cpp.o
../src/core/hle/service/pcie/pcie.cpp: In constructor ‘Service::PCIe::PCIe::PCIe(Core::System&)’:
../src/core/hle/service/pcie/pcie.cpp:51:75: warning: ‘.Service::PCIe::PCIe::.Service::ServiceFrameworkService::PCIe::PCIe::.Service::ServiceFrameworkBase::system’ is used uninitialized in this function [-Wuninitialized]
51 | explicit PCIe(Core::System& system_) : ServiceFramework{system, "pcie"} {
| ^
[745/1051] Building CXX object src/core/CMakeFiles/core.dir/hle/service/sockets/sockets_translate.cpp.o
In file included from ../src/./common/assert.h:9,
from ../src/core/hle/service/sockets/sockets_translate.cpp:7:
../src/core/hle/service/sockets/sockets_translate.cpp: In function ‘Network::Type Service::Sockets::Translate(Service::Sockets::Type)’:
../src/core/hle/service/sockets/sockets_translate.cpp:66:52: warning: control reaches end of non-void function [-Wreturn-type]
66 | UNIMPLEMENTED_MSG("Unimplemented type={}", static_cast(type));
| ^~~~~~~~~~~~~~~~~~~~~~
../src/./common/logging/log.h:174:79: note: in definition of macro ‘LOG_CRITICAL’
174 | ::Log::TrimSourcePath(FILE), LINE, func, VA_ARGS)
| ^~~~~~~~~~~
../src/./common/assert.h:55:32: note: in expansion of macro ‘ASSERT_MSG’
55 | #define UNIMPLEMENTED_MSG(...) ASSERT_MSG(false, VA_ARGS)
| ^~~~~~~~~~
../src/core/hle/service/sockets/sockets_translate.cpp:66:9: note: in expansion of macro ‘UNIMPLEMENTED_MSG’
66 | UNIMPLEMENTED_MSG("Unimplemented type={}", static_cast(type));
| ^~~~~~~~~~~~~~~~~
[760/1051] Building CXX object src/core/CMakeFiles/core.dir/hle/service/time/time.cpp.o
In file included from ../src/core/hle/service/time/time.cpp:10:
../src/./core/hle/ipc_helpers.h: In instantiation of ‘void IPC::RequestParser::PopRaw(T&) [with T = Service::Time::Clock::SystemClockContext]’:
../src/./core/hle/ipc_helpers.h:396:5: required from ‘T IPC::RequestParser::PopRaw() [with T = Service::Time::Clock::SystemClockContext]’
../src/core/hle/service/time/time.cpp:239:61: required from here
../src/./core/hle/ipc_helpers.h:389:16: warning: ‘void
memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘struct Service::Time::Clock::SystemClockContext’ from an array of ‘using u32 = uint32_t’ {aka ‘unsigned int’} [-Wclass-memaccess]
389 | std::memcpy(&value, cmdbuf + index, sizeof(T));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/./core/hle/service/time/time.h:8,
from ../src/./core/hle/service/time/interface.h:7,
from ../src/core/hle/service/time/time.cpp:15:
../src/./core/hle/service/time/clock_types.h:48:8: note: ‘struct Service::Time::Clock::SystemClockContext’ declared here
48 | struct SystemClockContext {
| ^~~~~~~~~~~~~~~~~~
In file included from ../src/core/hle/service/time/time.cpp:10:
../src/./core/hle/ipc_helpers.h: In instantiation of ‘void IPC::RequestParser::PopRaw(T&) [with T = Service::Time::Clock::ClockSnapshot]’:
../src/./core/hle/ipc_helpers.h:396:5: required from ‘T IPC::RequestParser::PopRaw() [with T = Service::Time::Clock::ClockSnapshot]’
../src/core/hle/service/time/time.cpp:323:61: required from here
../src/./core/hle/ipc_helpers.h:389:16: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘struct Service::Time::Clock::ClockSnapshot’ from an array of ‘using u32 = uint32_t’ {aka ‘unsigned int’} [-Wclass-memaccess]
389 | std::memcpy(&value, cmdbuf + index, sizeof(T));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/./core/hle/service/time/time.h:8,
from ../src/./core/hle/service/time/interface.h:7,
from ../src/core/hle/service/time/time.cpp:15:
../src/./core/hle/service/time/clock_types.h:75:8: note: ‘struct Service::Time::Clock::ClockSnapshot’ declared here
75 | struct ClockSnapshot {
| ^~~~~~~~~~~~~
[762/1051] Building CXX object src/core/CMakeFiles/core.dir/hle/service/time/time_zone_service.cpp.o
In file included from ../src/core/hle/service/time/time_zone_service.cpp:6:
../src/./core/hle/ipc_helpers.h: In instantiation of ‘void IPC::RequestParser::PopRaw(T&) [with T = Service::Time::TimeZone::CalendarTime]’:
../src/./core/hle/ipc_helpers.h:396:5: required from ‘T IPC::RequestParser::PopRaw() [with T = Service::Time::TimeZone::CalendarTime]’
../src/core/hle/service/time/time_zone_service.cpp:129:64: required from here
../src/./core/hle/ipc_helpers.h:389:16: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘struct Service::Time::TimeZone::CalendarTime’ from an array of ‘using u32 = uint32_t’ {aka ‘unsigned int’} [-Wclass-memaccess]
389 | std::memcpy(&value, cmdbuf + index, sizeof(T));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/./core/hle/service/time/clock_types.h:11,
from ../src/./core/hle/service/time/time_zone_manager.h:11,
from ../src/./core/hle/service/time/time_zone_content_manager.h:10,
from ../src/core/hle/service/time/time_zone_service.cpp:7:
../src/./core/hle/service/time/time_zone_types.h:57:8: note: ‘struct Service::Time::TimeZone::CalendarTime’ declared here
57 | struct CalendarTime {
| ^~~~~~~~~~~~
[791/1051] Building CXX object src/video_core/CMakeFiles/video_core.dir/cdma_pusher.cpp.o
FAILED: src/video_core/CMakeFiles/video_core.dir/cdma_pusher.cpp.o
/usr/bin/c++ -DARCHITECTURE_x86_64=1 -DBOOST_ASIO_DISABLE_CONCEPTS -DBOOST_DATE_TIME_NO_LIB -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_NO_LIB -DHAS_VULKAN -DNDEBUG -DXBYAK_NO_OP_NAMES -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_CXX11_ABI=1 -I/home/ade/.conan/data/catch2/2.13.0///package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include -I/home/ade/.conan/data/nlohmann_json/3.8.0///package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include -I/home/ade/.conan/data/zlib/1.2.11///package/6af9cc7cb931c5ad942174fd7838eb655717c709/include -I../src/. -Isrc/video_core/host_shaders/include -I../src/video_core/sirit -I../src/video_core/../../externals/Vulkan-Headers/include -I../externals/./microprofile -I../externals/glad/include -I../externals/sirit/src/../include -I../externals/sirit/externals/SPIRV-Headers/include -isystem /home/ade/.conan/data/boost/1.73.0///package/020be167c6748e1e82d613b2837bf63074e10744/include -isystem /home/ade/.conan/data/fmt/7.1.2///package/b911f48570f9bb2902d9e83b2b9ebf9d376c8c56/include -isystem /home/ade/.conan/data/bzip2/1.0.8///package/da606cf731e334010b0bf6e85a2a6f891b9f36b0/include -isystem /usr/include/SDL2 -isystem ../externals/./xbyak/xbyak -O3 -DNDEBUG -D_GLIBCXX_USE_CXX11_ABI=1 -Wall -Werror=implicit-fallthrough -Werror=missing-declarations -Werror=reorder -Werror=unused-result -Wextra -Wmissing-declarations -Wno-attributes -Wno-invalid-offsetof -Wno-unused-parameter -fconcepts -mcx16 -Werror=conversion -Wno-error=sign-conversion -Werror=pessimizing-move -Werror=redundant-move -Werror=switch -Werror=type-limits -Werror=unused-variable -Werror=class-memaccess -Werror=unused-but-set-parameter -Werror=unused-but-set-variable -std=gnu++2a -MD -MT src/video_core/CMakeFiles/video_core.dir/cdma_pusher.cpp.o -MF src/video_core/CMakeFiles/video_core.dir/cdma_pusher.cpp.o.d -o src/video_core/CMakeFiles/video_core.dir/cdma_pusher.cpp.o -c ../src/video_core/cdma_pusher.cpp
In file included from ../src/./video_core/engines/const_buffer_engine_interface.h:13,
from ../src/./video_core/engines/maxwell_3d.h:20,
from ../src/video_core/cdma_pusher.cpp:27:
../src/./video_core/textures/texture.h: In member function ‘constexpr bool Tegra::Texture::TICEntry::operator==(const Tegra::Texture::TICEntry&) const’:
../src/./video_core/textures/texture.h:226:20: error: call to non-‘constexpr’ function ‘bool std::operator==(const std::array<_Tp, _Nm>&, const std::array<_Tp, _Nm>&) [with _Tp = long unsigned int; long unsigned int _Nm = 4]’
226 | return raw == rhs.raw;
| ~~~~^~~~~~~~~~
../src/./video_core/textures/texture.h: In member function ‘constexpr bool Tegra::Texture::TICEntry::operator!=(const Tegra::Texture::TICEntry&) const’:
../src/./video_core/textures/texture.h:230:20: error: call to non-‘constexpr’ function ‘bool std::operator!=(const std::array<_Tp, _Nm>&, const std::array<_Tp, _Nm>&) [with _Tp = long unsigned int; long unsigned int _Nm = 4]’
230 | return raw != rhs.raw;
| ~~~~^~~~~~~~~~
../src/./video_core/textures/texture.h: In member function ‘constexpr bool Tegra::Texture::TSCEntry::operator==(const Tegra::Texture::TSCEntry&) const’:
../src/./video_core/textures/texture.h:364:20: error: call to non-‘constexpr’ function ‘bool std::operator==(const std::array<_Tp, _Nm>&, const std::array<_Tp, _Nm>&) [with _Tp = long unsigned int; long unsigned int _Nm = 4]’
364 | return raw == rhs.raw;
| ~~~~^~~~~~~~~~
../src/./video_core/textures/texture.h: In member function ‘constexpr bool Tegra::Texture::TSCEntry::operator!=(const Tegra::Texture::TSCEntry&) const’:
../src/./video_core/textures/texture.h:368:20: error: call to non-‘constexpr’ function ‘bool std::operator!=(const std::array<_Tp, _Nm>&, const std::array<_Tp, _Nm>&) [with _Tp = long unsigned int; long unsigned int _Nm = 4]’
368 | return raw != rhs.raw;
| ~~~~^~~~~~~~~~
[792/1051] Building CXX object src/video_core/CMakeFiles/video_core.dir/command_classes/codecs/codec.cpp.o
../src/video_core/command_classes/codecs/codec.cpp: In member function ‘void Tegra::Codec::Decode()’:
../src/video_core/command_classes/codecs/codec.cpp:70:23: warning: ‘AVCodecContext::refcounted_frames’ is deprecated [-Wdeprecated-declarations]
70 | av_codec_ctx->refcounted_frames = 1;
| ^~~~~~~~~~~~~~~~~
In file included from ../src/./video_core/command_classes/codecs/codec.h:17,
from ../src/video_core/command_classes/codecs/codec.cpp:9:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:2396:9: note: declared here
2396 | int refcounted_frames;
| ^~~~~~~~~~~~~~~~~
../src/video_core/command_classes/codecs/codec.cpp:70:23: warning: ‘AVCodecContext::refcounted_frames’ is deprecated [-Wdeprecated-declarations]
70 | av_codec_ctx->refcounted_frames = 1;
| ^~~~~~~~~~~~~~~~~
In file included from ../src/./video_core/command_classes/codecs/codec.h:17,
from ../src/video_core/command_classes/codecs/codec.cpp:9:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:2396:9: note: declared here
2396 | int refcounted_frames;
| ^~~~~~~~~~~~~~~~~
../src/video_core/command_classes/codecs/codec.cpp:70:23: warning: ‘AVCodecContext::refcounted_frames’ is deprecated [-Wdeprecated-declarations]
70 | av_codec_ctx->refcounted_frames = 1;
| ^~~~~~~~~~~~~~~~~
In file included from ../src/./video_core/command_classes/codecs/codec.h:17,
from ../src/video_core/command_classes/codecs/codec.cpp:9:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:2396:9: note: declared here
2396 | int refcounted_frames;
| ^~~~~~~~~~~~~~~~~
[794/1051] Building CXX object src/core/CMakeFiles/core.dir/hle/service/bcat/backend/boxcat.cpp.o
ninja: build stopped: subcommand failed.


Compilation failed!
You might want to try an older version of yuzu
If that doesn't help, feel free to contact us on discord in the #linux channel

Make sure gcc-10 g++-10 and libavcodec-dev are installed. Also try running export CC=/usr/bin/gcc-10 && export CXX=/usr/bin/g++-10 before you run the script

Upgrading gcc to 10 has worked. Already had libavcodec-dev installed. Tank you