Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/gamescope.spec'], chrootPath='/var/lib/mock/f38-build-723649-99135/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/gamescope.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1668729600 Wrote: /builddir/build/SRPMS/gamescope-3.11.49-1.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/gamescope.spec'], chrootPath='/var/lib/mock/f38-build-723649-99135/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/gamescope.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1668729600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6yDx7o + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gamescope-3.11.49 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/gamescope-3.11.49.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd gamescope-3.11.49 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mkdir -p pkgconfig + cp /builddir/build/SOURCES/stb.pc pkgconfig/stb.pc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.xtMKSK + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd gamescope-3.11.49 + export PKG_CONFIG_PATH=pkgconfig + PKG_CONFIG_PATH=pkgconfig + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/meson setup --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --wrap-mode=nodownload --auto-features=enabled . redhat-linux-build -Dpipewire=enabled '-Dforce_fallback_for=[]' The Meson build system Version: 1.0.1 Source dir: /builddir/build/BUILD/gamescope-3.11.49 Build dir: /builddir/build/BUILD/gamescope-3.11.49/redhat-linux-build Build type: native build Project name: gamescope Project version: undefined C compiler for the host machine: gcc (gcc 13.1.1 "gcc (GCC) 13.1.1 20230511 (Red Hat 13.1.1-2)") C linker for the host machine: gcc ld.bfd 2.40-9 C++ compiler for the host machine: g++ (gcc 13.1.1 "g++ (GCC) 13.1.1 20230511 (Red Hat 13.1.1-2)") C++ linker for the host machine: g++ ld.bfd 2.40-9 Host machine cpu family: riscv64 Host machine cpu: riscv64 Compiler for C++ supports arguments -Wno-unused-parameter: YES Compiler for C++ supports arguments -Wno-missing-field-initializers: YES Compiler for C++ supports arguments -Wno-c99-designator: NO Compiler for C++ supports arguments -Wno-invalid-offsetof: YES Compiler for C++ supports arguments -Wno-unused-const-variable: YES Found pkg-config: /usr/bin/pkg-config (1.8.0) Run-time dependency x11 found: YES 1.8.4 Run-time dependency xdamage found: YES 1.1.5 Run-time dependency xcomposite found: YES 0.4.5 Run-time dependency xrender found: YES 0.9.11 Run-time dependency xext found: YES 1.3.5 Run-time dependency xfixes found: YES 6.0.0 Run-time dependency xxf86vm found: YES 1.1.5 Run-time dependency xtst found: YES 1.2.4 Run-time dependency xres found: YES 1.2.1 Run-time dependency libdrm found: YES 2.4.114 Run-time dependency vulkan found: YES 1.3.239 Run-time dependency wayland-server found: YES 1.22.0 Run-time dependency wayland-protocols found: YES 1.31 Run-time dependency xkbcommon found: YES 1.5.0 Run-time dependency threads found: YES Run-time dependency libcap found: YES 2.48 Run-time dependency sdl2 found: YES 2.26.3 Run-time dependency libpipewire-0.3 found: YES 0.3.71 Library rt found: YES Run-time dependency stb found: YES 0.1.0 Run-time dependency wlroots found: YES 0.15.1 Check usable header "vulkan/vulkan.h" with dependency vulkan: YES Program glslangValidator found: YES (/usr/bin/glslangValidator) Run-time dependency libliftoff found: YES 0.3.0 Found pkg-config: /usr/bin/pkg-config (1.8.0) Build-time dependency wayland-scanner found: YES 1.22.0 Program /usr/bin/wayland-scanner found: YES (/usr/bin/wayland-scanner) Build targets in project: 9 gamescope undefined User defined options auto_features : enabled bindir : /usr/bin buildtype : plain datadir : /usr/share force_fallback_for: [] includedir : /usr/include infodir : /usr/share/info libdir : /usr/lib64 libexecdir : /usr/libexec localedir : /usr/share/locale localstatedir : /var mandir : /usr/share/man prefix : /usr sbindir : /usr/sbin sharedstatedir : /var/lib sysconfdir : /etc wrap_mode : nodownload pipewire : enabled Found ninja-1.11.1 at /usr/bin/ninja + /usr/bin/meson compile -C redhat-linux-build -j 4 --verbose ninja: Entering directory `/builddir/build/BUILD/gamescope-3.11.49/redhat-linux-build' [1/34] /usr/bin/wayland-scanner private-code ../protocol/gamescope-xwayland.xml protocol/gamescope-xwayland-protocol.c [2/34] /usr/bin/wayland-scanner server-header ../protocol/gamescope-xwayland.xml protocol/gamescope-xwayland-protocol.h [3/34] /usr/bin/wayland-scanner private-code ../protocol/gamescope-pipewire.xml protocol/gamescope-pipewire-protocol.c [4/34] /usr/bin/wayland-scanner server-header ../protocol/gamescope-pipewire.xml protocol/gamescope-pipewire-protocol.h [5/34] /usr/bin/wayland-scanner private-code ../protocol/gamescope-input-method.xml protocol/gamescope-input-method-protocol.c [6/34] /usr/bin/wayland-scanner private-code ../protocol/gamescope-tearing-control-unstable-v1.xml protocol/gamescope-tearing-control-unstable-v1-protocol.c [7/34] /usr/bin/wayland-scanner server-header ../protocol/gamescope-input-method.xml protocol/gamescope-input-method-protocol.h [8/34] /usr/bin/wayland-scanner server-header ../protocol/gamescope-tearing-control-unstable-v1.xml protocol/gamescope-tearing-control-unstable-v1-protocol.h [9/34] /usr/bin/glslangValidator -V ../src/shaders/cs_composite_blit.comp --vn cs_composite_blit -o gamescope.p/cs_composite_blit.h --depfile gamescope.p/cs_composite_blit.h.d --quiet [10/34] /usr/bin/glslangValidator -V ../src/shaders/cs_composite_blur.comp --vn cs_composite_blur -o gamescope.p/cs_composite_blur.h --depfile gamescope.p/cs_composite_blur.h.d --quiet [11/34] /usr/bin/glslangValidator -V ../src/shaders/cs_composite_blur_cond.comp --vn cs_composite_blur_cond -o gamescope.p/cs_composite_blur_cond.h --depfile gamescope.p/cs_composite_blur_cond.h.d --quiet [12/34] /usr/bin/glslangValidator -V ../src/shaders/cs_composite_rcas.comp --vn cs_composite_rcas -o gamescope.p/cs_composite_rcas.h --depfile gamescope.p/cs_composite_rcas.h.d --quiet [13/34] /usr/bin/glslangValidator -V ../src/shaders/cs_gaussian_blur_horizontal.comp --vn cs_gaussian_blur_horizontal -o gamescope.p/cs_gaussian_blur_horizontal.h --depfile gamescope.p/cs_gaussian_blur_horizontal.h.d --quiet [14/34] /usr/bin/glslangValidator -V ../src/shaders/cs_easu.comp --vn cs_easu -o gamescope.p/cs_easu.h --depfile gamescope.p/cs_easu.h.d --quiet [15/34] /usr/bin/glslangValidator -V ../src/shaders/cs_nis.comp --vn cs_nis -o gamescope.p/cs_nis.h --depfile gamescope.p/cs_nis.h.d --quiet [16/34] /usr/bin/glslangValidator -V ../src/shaders/cs_easu_fp16.comp --vn cs_easu_fp16 -o gamescope.p/cs_easu_fp16.h --depfile gamescope.p/cs_easu_fp16.h.d --quiet [17/34] /usr/bin/glslangValidator -V ../src/shaders/cs_nis_fp16.comp --vn cs_nis_fp16 -o gamescope.p/cs_nis_fp16.h --depfile gamescope.p/cs_nis_fp16.h.d --quiet [18/34] gcc -Igamescope.p -I. -I.. -Iprotocol -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/pixman-1 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/stb -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_REENTRANT -pthread -MD -MQ gamescope.p/meson-generated_.._protocol_gamescope-xwayland-protocol.c.o -MF gamescope.p/meson-generated_.._protocol_gamescope-xwayland-protocol.c.o.d -o gamescope.p/meson-generated_.._protocol_gamescope-xwayland-protocol.c.o -c protocol/gamescope-xwayland-protocol.c [19/34] gcc -Igamescope.p -I. -I.. -Iprotocol -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/pixman-1 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/stb -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_REENTRANT -pthread -MD -MQ gamescope.p/meson-generated_.._protocol_gamescope-pipewire-protocol.c.o -MF gamescope.p/meson-generated_.._protocol_gamescope-pipewire-protocol.c.o.d -o gamescope.p/meson-generated_.._protocol_gamescope-pipewire-protocol.c.o -c protocol/gamescope-pipewire-protocol.c [20/34] gcc -Igamescope.p -I. -I.. -Iprotocol -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/pixman-1 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/stb -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_REENTRANT -pthread -MD -MQ gamescope.p/meson-generated_.._protocol_gamescope-tearing-control-unstable-v1-protocol.c.o -MF gamescope.p/meson-generated_.._protocol_gamescope-tearing-control-unstable-v1-protocol.c.o.d -o gamescope.p/meson-generated_.._protocol_gamescope-tearing-control-unstable-v1-protocol.c.o -c protocol/gamescope-tearing-control-unstable-v1-protocol.c [21/34] gcc -Igamescope.p -I. -I.. -Iprotocol -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/pixman-1 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/stb -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_REENTRANT -pthread -MD -MQ gamescope.p/meson-generated_.._protocol_gamescope-input-method-protocol.c.o -MF gamescope.p/meson-generated_.._protocol_gamescope-input-method-protocol.c.o.d -o gamescope.p/meson-generated_.._protocol_gamescope-input-method-protocol.c.o -c protocol/gamescope-input-method-protocol.c [22/34] g++ -Igamescope.p -I. -I.. -Iprotocol -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/pixman-1 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/stb -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c++14 -DWLR_USE_UNSTABLE -Wno-unused-parameter -Wno-missing-field-initializers -Wno-invalid-offsetof -Wno-unused-const-variable -DHAVE_PIPEWIRE=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_REENTRANT -pthread -MD -MQ gamescope.p/src_main.cpp.o -MF gamescope.p/src_main.cpp.o.d -o gamescope.p/src_main.cpp.o -c ../src/main.cpp FAILED: gamescope.p/src_main.cpp.o g++ -Igamescope.p -I. -I.. -Iprotocol -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/pixman-1 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/stb -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c++14 -DWLR_USE_UNSTABLE -Wno-unused-parameter -Wno-missing-field-initializers -Wno-invalid-offsetof -Wno-unused-const-variable -DHAVE_PIPEWIRE=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_REENTRANT -pthread -MD -MQ gamescope.p/src_main.cpp.o -MF gamescope.p/src_main.cpp.o.d -o gamescope.p/src_main.cpp.o -c ../src/main.cpp ../src/main.cpp:197:64: error: return type ‘std::string’ {aka ‘class std::__cxx11::basic_string’} is incomplete 197 | static std::string build_optstring(const struct option *options) | ^ ../src/main.cpp: In function ‘void build_optstring(const option*)’: ../src/main.cpp:199:21: error: aggregate ‘std::string optstring’ has incomplete type and cannot be defined 199 | std::string optstring; | ^~~~~~~~~ In file included from ../src/drm.hpp:7, from ../src/rendervulkan.hpp:47, from ../src/steamcompmgr.hpp:18, from ../src/main.cpp:19: ../src/main.cpp:204:78: error: incomplete type ‘std::string’ {aka ‘std::__cxx11::basic_string’} used in nested name specifier 204 | assert(optstring.find((char) options[i].val) == std::string::npos); | ^~~~ ../src/main.cpp: In function ‘int main(int, char**)’: ../src/main.cpp:328:28: error: variable ‘std::string optstring’ has initializer but incomplete type 328 | static std::string optstring = build_optstring(gamescope_options); | ^~~~~~~~~ ../src/main.cpp:539:37: error: variable ‘std::string strPreviousR600Debug’ has initializer but incomplete type 539 | std::string strPreviousR600Debug = pchR600Debug; | ^~~~~~~~~~~~~~~~~~~~ [23/34] g++ -Igamescope.p -I. -I.. -Iprotocol -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/pixman-1 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/stb -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c++14 -DWLR_USE_UNSTABLE -Wno-unused-parameter -Wno-missing-field-initializers -Wno-invalid-offsetof -Wno-unused-const-variable -DHAVE_PIPEWIRE=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_REENTRANT -pthread -MD -MQ gamescope.p/src_drm.cpp.o -MF gamescope.p/src_drm.cpp.o.d -o gamescope.p/src_drm.cpp.o -c ../src/drm.cpp FAILED: gamescope.p/src_drm.cpp.o g++ -Igamescope.p -I. -I.. -Iprotocol -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/pixman-1 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/stb -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c++14 -DWLR_USE_UNSTABLE -Wno-unused-parameter -Wno-missing-field-initializers -Wno-invalid-offsetof -Wno-unused-const-variable -DHAVE_PIPEWIRE=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_REENTRANT -pthread -MD -MQ gamescope.p/src_drm.cpp.o -MF gamescope.p/src_drm.cpp.o.d -o gamescope.p/src_drm.cpp.o -c ../src/drm.cpp ../src/drm.cpp:35:23: error: use of deleted function ‘std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_map() [with _Key = std::__cxx11::basic_string; _Tp = int; _Hash = std::hash >; _Pred = std::equal_to >; _Alloc = std::allocator, int> >]’ 35 | struct drm_t g_DRM = {}; | ^ In file included from /usr/include/c++/13/unordered_map:41, from ../src/rendervulkan.hpp:50, from ../src/drm.hpp:41, from ../src/drm.cpp:21: /usr/include/c++/13/bits/unordered_map.h:148:7: note: ‘std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_map() [with _Key = std::__cxx11::basic_string; _Tp = int; _Hash = std::hash >; _Pred = std::equal_to >; _Alloc = std::allocator, int> >]’ is implicitly deleted because the default definition would be ill-formed: 148 | unordered_map() = default; | ^~~~~~~~~~~~~ /usr/include/c++/13/bits/unordered_map.h:148:7: error: use of deleted function ‘std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_Hashtable() [with _Key = std::__cxx11::basic_string; _Value = std::pair, int>; _Alloc = std::allocator, int> >; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to >; _Hash = std::hash >; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits]’ In file included from /usr/include/c++/13/bits/unordered_map.h:33: /usr/include/c++/13/bits/hashtable.h:530:7: note: ‘std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_Hashtable() [with _Key = std::__cxx11::basic_string; _Value = std::pair, int>; _Alloc = std::allocator, int> >; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to >; _Hash = std::hash >; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits]’ is implicitly deleted because the default definition would be ill-formed: 530 | _Hashtable() = default; | ^~~~~~~~~~ /usr/include/c++/13/bits/hashtable.h:530:7: error: use of deleted function ‘std::__detail::_Hashtable_base<_Key, _Value, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _Traits>::_Hashtable_base() [with _Key = std::__cxx11::basic_string; _Value = std::pair, int>; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to >; _Hash = std::hash >; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _Traits = std::__detail::_Hashtable_traits]’ In file included from /usr/include/c++/13/bits/hashtable.h:35: /usr/include/c++/13/bits/hashtable_policy.h:1710:7: note: ‘std::__detail::_Hashtable_base<_Key, _Value, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _Traits>::_Hashtable_base() [with _Key = std::__cxx11::basic_string; _Value = std::pair, int>; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to >; _Hash = std::hash >; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _Traits = std::__detail::_Hashtable_traits]’ is implicitly deleted because the default definition would be ill-formed: 1710 | _Hashtable_base() = default; | ^~~~~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h:1710:7: error: use of deleted function ‘std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _Hash, _RangeHash, _Unused, __cache_hash_code>::_Hash_code_base() [with _Key = std::__cxx11::basic_string; _Value = std::pair, int>; _ExtractKey = std::__detail::_Select1st; _Hash = std::hash >; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; bool __cache_hash_code = true]’ /usr/include/c++/13/bits/hashtable_policy.h: In instantiation of ‘std::__detail::_Hashtable_ebo_helper<_Nm, _Tp, true>::_Hashtable_ebo_helper() [with int _Nm = 1; _Tp = std::hash >]’: /usr/include/c++/13/bits/hashtable_policy.h:1297:7: required from here /usr/include/c++/13/bits/hashtable_policy.h:1214:49: error: use of deleted function ‘std::hash >::hash()’ 1214 | _Hashtable_ebo_helper() noexcept(noexcept(_Tp())) : _Tp() { } | ^~~~~ In file included from /usr/include/c++/13/bits/unique_ptr.h:38, from /usr/include/c++/13/memory:78, from ../src/rendervulkan.hpp:7: /usr/include/c++/13/bits/functional_hash.h:102:12: note: ‘std::hash >::hash()’ is implicitly deleted because the default definition would be ill-formed: 102 | struct hash : __hash_enum<_Tp> | ^~~~ /usr/include/c++/13/bits/functional_hash.h:102:12: error: no matching function for call to ‘std::__hash_enum, false>::__hash_enum()’ /usr/include/c++/13/bits/functional_hash.h:83:7: note: candidate: ‘std::__hash_enum<_Tp, >::__hash_enum(std::__hash_enum<_Tp, >&&) [with _Tp = std::__cxx11::basic_string; bool = false]’ 83 | __hash_enum(__hash_enum&&); | ^~~~~~~~~~~ /usr/include/c++/13/bits/functional_hash.h:83:7: note: candidate expects 1 argument, 0 provided /usr/include/c++/13/bits/functional_hash.h:102:12: error: ‘std::__hash_enum<_Tp, >::~__hash_enum() [with _Tp = std::__cxx11::basic_string; bool = false]’ is private within this context 102 | struct hash : __hash_enum<_Tp> | ^~~~ /usr/include/c++/13/bits/functional_hash.h:84:7: note: declared private here 84 | ~__hash_enum(); | ^ /usr/include/c++/13/bits/hashtable_policy.h:1297:7: note: ‘std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _Hash, _RangeHash, _Unused, __cache_hash_code>::_Hash_code_base() [with _Key = std::__cxx11::basic_string; _Value = std::pair, int>; _ExtractKey = std::__detail::_Select1st; _Hash = std::hash >; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; bool __cache_hash_code = true]’ is implicitly deleted because the default definition would be ill-formed: 1297 | _Hash_code_base() = default; | ^~~~~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h:1297:7: error: use of deleted function ‘std::__detail::_Hashtable_ebo_helper<1, std::hash >, true>::~_Hashtable_ebo_helper()’ /usr/include/c++/13/bits/hashtable_policy.h:1211:12: note: ‘std::__detail::_Hashtable_ebo_helper<1, std::hash >, true>::~_Hashtable_ebo_helper()’ is implicitly deleted because the default definition would be ill-formed: 1211 | struct _Hashtable_ebo_helper<_Nm, _Tp, true> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h:1211:12: error: use of deleted function ‘std::hash >::~hash()’ /usr/include/c++/13/bits/functional_hash.h:102:12: note: ‘std::hash >::~hash()’ is implicitly deleted because the default definition would be ill-formed: 102 | struct hash : __hash_enum<_Tp> | ^~~~ /usr/include/c++/13/bits/functional_hash.h:102:12: error: ‘std::__hash_enum<_Tp, >::~__hash_enum() [with _Tp = std::__cxx11::basic_string; bool = false]’ is private within this context /usr/include/c++/13/bits/functional_hash.h:84:7: note: declared private here 84 | ~__hash_enum(); | ^ /usr/include/c++/13/bits/hashtable_policy.h:1710:7: error: use of deleted function ‘std::__detail::_Hash_code_base, std::pair, int>, std::__detail::_Select1st, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, true>::~_Hash_code_base()’ 1710 | _Hashtable_base() = default; | ^~~~~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h:1275:12: note: ‘std::__detail::_Hash_code_base, std::pair, int>, std::__detail::_Select1st, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, true>::~_Hash_code_base()’ is implicitly deleted because the default definition would be ill-formed: 1275 | struct _Hash_code_base | ^~~~~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h:1275:12: error: use of deleted function ‘std::__detail::_Hashtable_ebo_helper<1, std::hash >, true>::~_Hashtable_ebo_helper()’ /usr/include/c++/13/bits/hashtable.h:530:7: error: use of deleted function ‘std::__detail::_Hashtable_base, std::pair, int>, std::__detail::_Select1st, std::equal_to >, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits >::~_Hashtable_base()’ 530 | _Hashtable() = default; | ^~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h:1667:12: note: ‘std::__detail::_Hashtable_base, std::pair, int>, std::__detail::_Select1st, std::equal_to >, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits >::~_Hashtable_base()’ is implicitly deleted because the default definition would be ill-formed: 1667 | struct _Hashtable_base | ^~~~~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h:1667:12: error: use of deleted function ‘std::__detail::_Hash_code_base, std::pair, int>, std::__detail::_Select1st, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, true>::~_Hash_code_base()’ /usr/include/c++/13/bits/hashtable.h:530:7: error: use of deleted function ‘constexpr std::_Enable_default_constructor::_Enable_default_constructor() [with _Tag = std::__detail::_Hash_node_base]’ 530 | _Hashtable() = default; | ^~~~~~~~~~ In file included from /usr/include/c++/13/bits/hashtable.h:36: /usr/include/c++/13/bits/enable_special_members.h:113:15: note: declared here 113 | constexpr _Enable_default_constructor() noexcept = delete; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/drm.cpp: In function ‘bool get_plane_formats(drm_t*, plane*, wlr_drm_format_set*)’: ../src/drm.cpp:83:31: error: no matching function for call to ‘std::map, const _drmModeProperty*>::count(const char [11])’ 83 | if (plane->props.count("IN_FORMATS") > 0) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/c++/13/map:63, from ../src/drm.hpp:46: /usr/include/c++/13/bits/stl_map.h:1271:9: note: candidate: ‘template decltype (((const std::map<_Key, _Tp, _Compare, _Alloc>*)this)->std::map<_Key, _Tp, _Compare, _Alloc>::_M_t._M_count_tr(__x)) std::map<_Key, _Tp, _Compare, _Alloc>::count(const _Kt&) const [with _Key = std::__cxx11::basic_string; _Tp = const _drmModeProperty*; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >]’ 1271 | count(const _Kt& __x) const -> decltype(_M_t._M_count_tr(__x)) | ^~~~~ /usr/include/c++/13/bits/stl_map.h:1271:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_map.h: In substitution of ‘template decltype (((const std::map, const _drmModeProperty*>*)this)->std::map, const _drmModeProperty*>::_M_t.std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::_M_count_tr<_Kt, _Req>(__x)) std::map, const _drmModeProperty*>::count(const _Kt&) const [with _Kt = char [11]]’: ../src/drm.cpp:83:24: required from here /usr/include/c++/13/bits/stl_map.h:1271:65: error: no matching function for call to ‘std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::_M_count_tr(const char [11]) const’ 1271 | count(const _Kt& __x) const -> decltype(_M_t._M_count_tr(__x)) | ~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/c++/13/map:62: /usr/include/c++/13/bits/stl_tree.h:1315:9: note: candidate: ‘template std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::size_type std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_count_tr(const _Kt&) const [with _Req = _Kt; _Key = std::__cxx11::basic_string; _Val = std::pair, const _drmModeProperty*>; _KeyOfValue = std::_Select1st, const _drmModeProperty*> >; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >]’ 1315 | _M_count_tr(const _Kt& __k) const | ^~~~~~~~~~~ /usr/include/c++/13/bits/stl_tree.h:1315:9: note: template argument deduction/substitution failed: In file included from /usr/include/c++/13/bits/unique_ptr.h:37: /usr/include/c++/13/bits/stl_function.h: In substitution of ‘template using std::__has_is_transparent_t = typename std::__has_is_transparent<_Func, _SfinaeType>::type [with _Func = std::less >; _SfinaeType = char [11]]’: /usr/include/c++/13/bits/stl_tree.h:1313:9: required by substitution of ‘template decltype (((const std::map, const _drmModeProperty*>*)this)->std::map, const _drmModeProperty*>::_M_t.std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::_M_count_tr<_Kt, _Req>(__x)) std::map, const _drmModeProperty*>::count(const _Kt&) const [with _Kt = char [11]]’ ../src/drm.cpp:83:24: required from here /usr/include/c++/13/bits/stl_function.h:1430:11: error: no type named ‘type’ in ‘struct std::__has_is_transparent >, char [11], void>’ 1430 | using __has_is_transparent_t | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_map.h:1265:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::size_type std::map<_Key, _Tp, _Compare, _Alloc>::count(const key_type&) const [with _Key = std::__cxx11::basic_string; _Tp = const _drmModeProperty*; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >; size_type = long unsigned int; key_type = std::__cxx11::basic_string]’ 1265 | count(const key_type& __x) const | ^~~~~ /usr/include/c++/13/bits/stl_map.h:1265:29: note: no known conversion for argument 1 from ‘const char [11]’ to ‘const std::map, const _drmModeProperty*>::key_type&’ {aka ‘const std::__cxx11::basic_string&’} 1265 | count(const key_type& __x) const | ~~~~~~~~~~~~~~~~^~~ ../src/drm.cpp:84:62: error: no match for ‘operator[]’ (operand types are ‘std::map, long unsigned int>’ and ‘const char [11]’) 84 | uint64_t blob_id = plane->initial_prop_values["IN_FORMATS"]; | ^ /usr/include/c++/13/bits/stl_map.h:504:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = std::__cxx11::basic_string; _Tp = long unsigned int; _Compare = std::less >; _Alloc = std::allocator, long unsigned int> >; mapped_type = long unsigned int; key_type = std::__cxx11::basic_string]’ 504 | operator[](const key_type& __k) | ^~~~~~~~ /usr/include/c++/13/bits/stl_map.h:504:34: note: no known conversion for argument 1 from ‘const char [11]’ to ‘const std::map, long unsigned int>::key_type&’ {aka ‘const std::__cxx11::basic_string&’} 504 | operator[](const key_type& __k) | ~~~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/stl_map.h:524:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = long unsigned int; _Compare = std::less >; _Alloc = std::allocator, long unsigned int> >; mapped_type = long unsigned int; key_type = std::__cxx11::basic_string]’ 524 | operator[](key_type&& __k) | ^~~~~~~~ /usr/include/c++/13/bits/stl_map.h:524:29: note: no known conversion for argument 1 from ‘const char [11]’ to ‘std::map, long unsigned int>::key_type&&’ {aka ‘std::__cxx11::basic_string&&’} 524 | operator[](key_type&& __k) | ~~~~~~~~~~~^~~ ../src/drm.cpp: In function ‘plane* find_primary_plane(drm_t*)’: ../src/drm.cpp:147:73: error: no match for ‘operator[]’ (operand types are ‘std::map, long unsigned int>’ and ‘const char [5]’) 147 | uint64_t plane_type = drm->planes[i].initial_prop_values["type"]; | ^ /usr/include/c++/13/bits/stl_map.h:504:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = std::__cxx11::basic_string; _Tp = long unsigned int; _Compare = std::less >; _Alloc = std::allocator, long unsigned int> >; mapped_type = long unsigned int; key_type = std::__cxx11::basic_string]’ 504 | operator[](const key_type& __k) | ^~~~~~~~ /usr/include/c++/13/bits/stl_map.h:504:34: note: no known conversion for argument 1 from ‘const char [5]’ to ‘const std::map, long unsigned int>::key_type&’ {aka ‘const std::__cxx11::basic_string&’} 504 | operator[](const key_type& __k) | ~~~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/stl_map.h:524:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = long unsigned int; _Compare = std::less >; _Alloc = std::allocator, long unsigned int> >; mapped_type = long unsigned int; key_type = std::__cxx11::basic_string]’ 524 | operator[](key_type&& __k) | ^~~~~~~~ /usr/include/c++/13/bits/stl_map.h:524:29: note: no known conversion for argument 1 from ‘const char [5]’ to ‘std::map, long unsigned int>::key_type&&’ {aka ‘std::__cxx11::basic_string&&’} 524 | operator[](key_type&& __k) | ~~~~~~~~~~~^~~ ../src/drm.cpp: In function ‘bool get_object_properties(drm_t*, uint32_t, uint32_t, std::map, const _drmModeProperty*>&, std::map, long unsigned int>&)’: ../src/drm.cpp:284:20: error: no match for ‘operator[]’ (operand types are ‘std::map, const _drmModeProperty*>’ and ‘const char [32]’) 284 | map[prop->name] = prop; | ^ /usr/include/c++/13/bits/stl_map.h:504:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = std::__cxx11::basic_string; _Tp = const _drmModeProperty*; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >; mapped_type = const _drmModeProperty*; key_type = std::__cxx11::basic_string]’ 504 | operator[](const key_type& __k) | ^~~~~~~~ /usr/include/c++/13/bits/stl_map.h:504:34: note: no known conversion for argument 1 from ‘const char [32]’ to ‘const std::map, const _drmModeProperty*>::key_type&’ {aka ‘const std::__cxx11::basic_string&’} 504 | operator[](const key_type& __k) | ~~~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/stl_map.h:524:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = const _drmModeProperty*; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >; mapped_type = const _drmModeProperty*; key_type = std::__cxx11::basic_string]’ 524 | operator[](key_type&& __k) | ^~~~~~~~ /usr/include/c++/13/bits/stl_map.h:524:29: note: no known conversion for argument 1 from ‘const char [32]’ to ‘std::map, const _drmModeProperty*>::key_type&&’ {aka ‘std::__cxx11::basic_string&&’} 524 | operator[](key_type&& __k) | ~~~~~~~~~~~^~~ ../src/drm.cpp:285:23: error: no match for ‘operator[]’ (operand types are ‘std::map, long unsigned int>’ and ‘const char [32]’) 285 | values[prop->name] = props->prop_values[i]; | ^ /usr/include/c++/13/bits/stl_map.h:504:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = std::__cxx11::basic_string; _Tp = long unsigned int; _Compare = std::less >; _Alloc = std::allocator, long unsigned int> >; mapped_type = long unsigned int; key_type = std::__cxx11::basic_string]’ 504 | operator[](const key_type& __k) | ^~~~~~~~ /usr/include/c++/13/bits/stl_map.h:504:34: note: no known conversion for argument 1 from ‘const char [32]’ to ‘const std::map, long unsigned int>::key_type&’ {aka ‘const std::__cxx11::basic_string&’} 504 | operator[](const key_type& __k) | ~~~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/stl_map.h:524:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = long unsigned int; _Compare = std::less >; _Alloc = std::allocator, long unsigned int> >; mapped_type = long unsigned int; key_type = std::__cxx11::basic_string]’ 524 | operator[](key_type&& __k) | ^~~~~~~~ /usr/include/c++/13/bits/stl_map.h:524:29: note: no known conversion for argument 1 from ‘const char [32]’ to ‘std::map, long unsigned int>::key_type&&’ {aka ‘std::__cxx11::basic_string&&’} 524 | operator[](key_type&& __k) | ~~~~~~~~~~~^~~ ../src/drm.cpp: In function ‘void parse_edid(drm_t*, connector*)’: ../src/drm.cpp:320:30: error: no matching function for call to ‘std::map, const _drmModeProperty*>::count(const char [5])’ 320 | if (conn->props.count("EDID") == 0) { | ~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/c++/13/bits/stl_map.h:1271:9: note: candidate: ‘template decltype (((const std::map<_Key, _Tp, _Compare, _Alloc>*)this)->std::map<_Key, _Tp, _Compare, _Alloc>::_M_t._M_count_tr(__x)) std::map<_Key, _Tp, _Compare, _Alloc>::count(const _Kt&) const [with _Key = std::__cxx11::basic_string; _Tp = const _drmModeProperty*; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >]’ 1271 | count(const _Kt& __x) const -> decltype(_M_t._M_count_tr(__x)) | ^~~~~ /usr/include/c++/13/bits/stl_map.h:1271:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_map.h: In substitution of ‘template decltype (((const std::map, const _drmModeProperty*>*)this)->std::map, const _drmModeProperty*>::_M_t.std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::_M_count_tr<_Kt, _Req>(__x)) std::map, const _drmModeProperty*>::count(const _Kt&) const [with _Kt = char [5]]’: ../src/drm.cpp:320:23: required from here /usr/include/c++/13/bits/stl_map.h:1271:65: error: no matching function for call to ‘std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::_M_count_tr(const char [5]) const’ 1271 | count(const _Kt& __x) const -> decltype(_M_t._M_count_tr(__x)) | ~~~~~~~~~~~~~~~~^~~~~ /usr/include/c++/13/bits/stl_tree.h:1315:9: note: candidate: ‘template std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::size_type std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_count_tr(const _Kt&) const [with _Req = _Kt; _Key = std::__cxx11::basic_string; _Val = std::pair, const _drmModeProperty*>; _KeyOfValue = std::_Select1st, const _drmModeProperty*> >; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >]’ 1315 | _M_count_tr(const _Kt& __k) const | ^~~~~~~~~~~ /usr/include/c++/13/bits/stl_tree.h:1315:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_function.h: In substitution of ‘template using std::__has_is_transparent_t = typename std::__has_is_transparent<_Func, _SfinaeType>::type [with _Func = std::less >; _SfinaeType = char [5]]’: /usr/include/c++/13/bits/stl_tree.h:1313:9: required by substitution of ‘template decltype (((const std::map, const _drmModeProperty*>*)this)->std::map, const _drmModeProperty*>::_M_t.std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::_M_count_tr<_Kt, _Req>(__x)) std::map, const _drmModeProperty*>::count(const _Kt&) const [with _Kt = char [5]]’ ../src/drm.cpp:320:23: required from here /usr/include/c++/13/bits/stl_function.h:1430:11: error: no type named ‘type’ in ‘struct std::__has_is_transparent >, char [5], void>’ 1430 | using __has_is_transparent_t | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_map.h:1265:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::size_type std::map<_Key, _Tp, _Compare, _Alloc>::count(const key_type&) const [with _Key = std::__cxx11::basic_string; _Tp = const _drmModeProperty*; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >; size_type = long unsigned int; key_type = std::__cxx11::basic_string]’ 1265 | count(const key_type& __x) const | ^~~~~ /usr/include/c++/13/bits/stl_map.h:1265:29: note: no known conversion for argument 1 from ‘const char [5]’ to ‘const std::map, const _drmModeProperty*>::key_type&’ {aka ‘const std::__cxx11::basic_string&’} 1265 | count(const key_type& __x) const | ~~~~~~~~~~~~~~~~^~~ ../src/drm.cpp:324:53: error: no match for ‘operator[]’ (operand types are ‘std::map, long unsigned int>’ and ‘const char [5]’) 324 | uint64_t blob_id = conn->initial_prop_values["EDID"]; | ^ /usr/include/c++/13/bits/stl_map.h:504:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = std::__cxx11::basic_string; _Tp = long unsigned int; _Compare = std::less >; _Alloc = std::allocator, long unsigned int> >; mapped_type = long unsigned int; key_type = std::__cxx11::basic_string]’ 504 | operator[](const key_type& __k) | ^~~~~~~~ /usr/include/c++/13/bits/stl_map.h:504:34: note: no known conversion for argument 1 from ‘const char [5]’ to ‘const std::map, long unsigned int>::key_type&’ {aka ‘const std::__cxx11::basic_string&’} 504 | operator[](const key_type& __k) | ~~~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/stl_map.h:524:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = long unsigned int; _Compare = std::less >; _Alloc = std::allocator, long unsigned int> >; mapped_type = long unsigned int; key_type = std::__cxx11::basic_string]’ 524 | operator[](key_type&& __k) | ^~~~~~~~ /usr/include/c++/13/bits/stl_map.h:524:29: note: no known conversion for argument 1 from ‘const char [5]’ to ‘std::map, long unsigned int>::key_type&&’ {aka ‘std::__cxx11::basic_string&&’} 524 | operator[](key_type&& __k) | ~~~~~~~~~~~^~~ ../src/drm.cpp:351:23: error: no matching function for call to ‘std::map, std::__cxx11::basic_string >::count(char [4])’ 351 | if (pnps.count(pnp_id) > 0) { | ~~~~~~~~~~^~~~~~~~ /usr/include/c++/13/bits/stl_map.h:1271:9: note: candidate: ‘template decltype (((const std::map<_Key, _Tp, _Compare, _Alloc>*)this)->std::map<_Key, _Tp, _Compare, _Alloc>::_M_t._M_count_tr(__x)) std::map<_Key, _Tp, _Compare, _Alloc>::count(const _Kt&) const [with _Key = std::__cxx11::basic_string; _Tp = std::__cxx11::basic_string; _Compare = std::less >; _Alloc = std::allocator, std::__cxx11::basic_string > >]’ 1271 | count(const _Kt& __x) const -> decltype(_M_t._M_count_tr(__x)) | ^~~~~ /usr/include/c++/13/bits/stl_map.h:1271:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_map.h: In substitution of ‘template decltype (((const std::map, std::__cxx11::basic_string >*)this)->std::map, std::__cxx11::basic_string >::_M_t.std::_Rb_tree, std::pair, std::__cxx11::basic_string >, std::_Select1st, std::__cxx11::basic_string > >, std::less >, std::allocator, std::__cxx11::basic_string > > >::_M_count_tr<_Kt, _Req>(__x)) std::map, std::__cxx11::basic_string >::count(const _Kt&) const [with _Kt = char [4]]’: ../src/drm.cpp:351:16: required from here /usr/include/c++/13/bits/stl_map.h:1271:65: error: no matching function for call to ‘std::_Rb_tree, std::pair, std::__cxx11::basic_string >, std::_Select1st, std::__cxx11::basic_string > >, std::less >, std::allocator, std::__cxx11::basic_string > > >::_M_count_tr(const char [4]) const’ 1271 | count(const _Kt& __x) const -> decltype(_M_t._M_count_tr(__x)) | ~~~~~~~~~~~~~~~~^~~~~ /usr/include/c++/13/bits/stl_tree.h:1315:9: note: candidate: ‘template std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::size_type std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_count_tr(const _Kt&) const [with _Req = _Kt; _Key = std::__cxx11::basic_string; _Val = std::pair, std::__cxx11::basic_string >; _KeyOfValue = std::_Select1st, std::__cxx11::basic_string > >; _Compare = std::less >; _Alloc = std::allocator, std::__cxx11::basic_string > >]’ 1315 | _M_count_tr(const _Kt& __k) const | ^~~~~~~~~~~ /usr/include/c++/13/bits/stl_tree.h:1315:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_function.h: In substitution of ‘template using std::__has_is_transparent_t = typename std::__has_is_transparent<_Func, _SfinaeType>::type [with _Func = std::less >; _SfinaeType = char [4]]’: /usr/include/c++/13/bits/stl_tree.h:1313:9: required by substitution of ‘template decltype (((const std::map, std::__cxx11::basic_string >*)this)->std::map, std::__cxx11::basic_string >::_M_t.std::_Rb_tree, std::pair, std::__cxx11::basic_string >, std::_Select1st, std::__cxx11::basic_string > >, std::less >, std::allocator, std::__cxx11::basic_string > > >::_M_count_tr<_Kt, _Req>(__x)) std::map, std::__cxx11::basic_string >::count(const _Kt&) const [with _Kt = char [4]]’ ../src/drm.cpp:351:16: required from here /usr/include/c++/13/bits/stl_function.h:1430:11: error: no type named ‘type’ in ‘struct std::__has_is_transparent >, char [4], void>’ 1430 | using __has_is_transparent_t | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_map.h:1265:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::size_type std::map<_Key, _Tp, _Compare, _Alloc>::count(const key_type&) const [with _Key = std::__cxx11::basic_string; _Tp = std::__cxx11::basic_string; _Compare = std::less >; _Alloc = std::allocator, std::__cxx11::basic_string > >; size_type = long unsigned int; key_type = std::__cxx11::basic_string]’ 1265 | count(const key_type& __x) const | ^~~~~ /usr/include/c++/13/bits/stl_map.h:1265:29: note: no known conversion for argument 1 from ‘char [4]’ to ‘const std::map, std::__cxx11::basic_string >::key_type&’ {aka ‘const std::__cxx11::basic_string&’} 1265 | count(const key_type& __x) const | ~~~~~~~~~~~~~~~~^~~ ../src/drm.cpp:352:41: error: no match for ‘operator[]’ (operand types are ‘std::map, std::__cxx11::basic_string >’ and ‘char [4]’) 352 | conn->make = strdup(pnps[pnp_id].c_str()); | ^ /usr/include/c++/13/bits/stl_map.h:504:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = std::__cxx11::basic_string; _Tp = std::__cxx11::basic_string; _Compare = std::less >; _Alloc = std::allocator, std::__cxx11::basic_string > >; mapped_type = std::__cxx11::basic_string; key_type = std::__cxx11::basic_string]’ 504 | operator[](const key_type& __k) | ^~~~~~~~ /usr/include/c++/13/bits/stl_map.h:504:34: note: no known conversion for argument 1 from ‘char [4]’ to ‘const std::map, std::__cxx11::basic_string >::key_type&’ {aka ‘const std::__cxx11::basic_string&’} 504 | operator[](const key_type& __k) | ~~~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/stl_map.h:524:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = std::__cxx11::basic_string; _Compare = std::less >; _Alloc = std::allocator, std::__cxx11::basic_string > >; mapped_type = std::__cxx11::basic_string; key_type = std::__cxx11::basic_string]’ 524 | operator[](key_type&& __k) | ^~~~~~~~ /usr/include/c++/13/bits/stl_map.h:524:29: note: no known conversion for argument 1 from ‘char [4]’ to ‘std::map, std::__cxx11::basic_string >::key_type&&’ {aka ‘std::__cxx11::basic_string&&’} 524 | operator[](key_type&& __k) | ~~~~~~~~~~~^~~ In file included from /usr/include/c++/13/bits/stl_tempbuf.h:62, from /usr/include/c++/13/memory:66: /usr/include/c++/13/bits/stl_pair.h: In instantiation of ‘struct std::pair, long unsigned int>’: ../src/drm.cpp:439:110: required from here /usr/include/c++/13/bits/stl_pair.h:193:11: error: ‘std::pair<_T1, _T2>::first’ has incomplete type 193 | _T1 first; ///< The first member | ^~~~~ In file included from /usr/include/c++/13/iosfwd:41, from /usr/include/c++/13/bits/shared_ptr.h:52, from /usr/include/c++/13/memory:80: /usr/include/c++/13/bits/stringfwd.h:72:11: note: declaration of ‘class std::__cxx11::basic_string’ 72 | class basic_string; | ^~~~~~~~~~~~ In file included from /usr/include/c++/13/bits/move.h:37, from /usr/include/c++/13/bits/atomic_base.h:39, from /usr/include/c++/13/atomic:41, from ../src/rendervulkan.hpp:5: /usr/include/c++/13/type_traits: In instantiation of ‘struct std::is_copy_assignable >’: /usr/include/c++/13/type_traits:161:35: required by substitution of ‘template std::__detail::__first_t, typename std::enable_if<(bool)(_Bn::value), void>::type ...> std::__detail::__and_fn(int) [with _Bn = {std::is_copy_assignable, std::allocator > >, std::is_copy_assignable}]’ /usr/include/c++/13/type_traits:177:42: required from ‘struct std::__and_, std::allocator > >, std::is_copy_assignable >’ /usr/include/c++/13/bits/stl_pair.h:727:7: required from ‘struct std::pair, long unsigned int>’ ../src/drm.cpp:439:110: required from here /usr/include/c++/13/type_traits:1167:52: error: static assertion failed: template argument must be a complete class or an unbounded array 1167 | static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/type_traits:1167:52: note: ‘std::__is_complete_or_unbounded<__type_identity > >((std::__type_identity >(), std::__type_identity >()))’ evaluates to false /usr/include/c++/13/type_traits: In instantiation of ‘struct std::is_move_assignable >’: /usr/include/c++/13/type_traits:161:35: required by substitution of ‘template std::__detail::__first_t, typename std::enable_if<(bool)(_Bn::value), void>::type ...> std::__detail::__and_fn(int) [with _Bn = {std::is_move_assignable, std::allocator > >, std::is_move_assignable}]’ /usr/include/c++/13/type_traits:177:42: required from ‘struct std::__and_, std::allocator > >, std::is_move_assignable >’ /usr/include/c++/13/bits/stl_pair.h:737:7: required from ‘struct std::pair, long unsigned int>’ ../src/drm.cpp:439:110: required from here /usr/include/c++/13/type_traits:1176:52: error: static assertion failed: template argument must be a complete class or an unbounded array 1176 | static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/type_traits:1176:52: note: ‘std::__is_complete_or_unbounded<__type_identity > >((std::__type_identity >(), std::__type_identity >()))’ evaluates to false /usr/include/c++/13/bits/stl_pair.h: In instantiation of ‘struct std::pair, const _drmModeProperty*>’: ../src/drm.cpp:439:110: required from here /usr/include/c++/13/bits/stl_pair.h:193:11: error: ‘std::pair<_T1, _T2>::first’ has incomplete type 193 | _T1 first; ///< The first member | ^~~~~ /usr/include/c++/13/bits/stringfwd.h:72:11: note: declaration of ‘class std::__cxx11::basic_string’ 72 | class basic_string; | ^~~~~~~~~~~~ ../src/drm.cpp: In function ‘bool refresh_state(drm_t*)’: ../src/drm.cpp:464:66: error: no match for ‘operator[]’ (operand types are ‘std::map, long unsigned int>’ and ‘const char [8]’) 464 | conn->current.crtc_id = conn->initial_prop_values["CRTC_ID"]; | ^ /usr/include/c++/13/bits/stl_map.h:504:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = std::__cxx11::basic_string; _Tp = long unsigned int; _Compare = std::less >; _Alloc = std::allocator, long unsigned int> >; mapped_type = long unsigned int; key_type = std::__cxx11::basic_string]’ 504 | operator[](const key_type& __k) | ^~~~~~~~ /usr/include/c++/13/bits/stl_map.h:504:34: note: no known conversion for argument 1 from ‘const char [8]’ to ‘const std::map, long unsigned int>::key_type&’ {aka ‘const std::__cxx11::basic_string&’} 504 | operator[](const key_type& __k) | ~~~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/stl_map.h:524:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = long unsigned int; _Compare = std::less >; _Alloc = std::allocator, long unsigned int> >; mapped_type = long unsigned int; key_type = std::__cxx11::basic_string]’ 524 | operator[](key_type&& __k) | ^~~~~~~~ /usr/include/c++/13/bits/stl_map.h:524:29: note: no known conversion for argument 1 from ‘const char [8]’ to ‘std::map, long unsigned int>::key_type&&’ {aka ‘std::__cxx11::basic_string&&’} 524 | operator[](key_type&& __k) | ~~~~~~~~~~~^~~ ../src/drm.cpp:468:64: error: no match for ‘operator[]’ (operand types are ‘std::map, long unsigned int>’ and ‘const char [12]’) 468 | conn->vrr_capable = !!conn->initial_prop_values["vrr_capable"]; | ^ /usr/include/c++/13/bits/stl_map.h:504:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = std::__cxx11::basic_string; _Tp = long unsigned int; _Compare = std::less >; _Alloc = std::allocator, long unsigned int> >; mapped_type = long unsigned int; key_type = std::__cxx11::basic_string]’ 504 | operator[](const key_type& __k) | ^~~~~~~~ /usr/include/c++/13/bits/stl_map.h:504:34: note: no known conversion for argument 1 from ‘const char [12]’ to ‘const std::map, long unsigned int>::key_type&’ {aka ‘const std::__cxx11::basic_string&’} 504 | operator[](const key_type& __k) | ~~~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/stl_map.h:524:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = long unsigned int; _Compare = std::less >; _Alloc = std::allocator, long unsigned int> >; mapped_type = long unsigned int; key_type = std::__cxx11::basic_string]’ 524 | operator[](key_type&& __k) | ^~~~~~~~ /usr/include/c++/13/bits/stl_map.h:524:29: note: no known conversion for argument 1 from ‘const char [12]’ to ‘std::map, long unsigned int>::key_type&&’ {aka ‘std::__cxx11::basic_string&&’} 524 | operator[](key_type&& __k) | ~~~~~~~~~~~^~~ ../src/drm.cpp:479:56: error: no matching function for call to ‘std::map, const _drmModeProperty*>::find(const char [10])’ 479 | crtc->has_gamma_lut = (crtc->props.find( "GAMMA_LUT" ) != crtc->props.end()); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_map.h:1225:9: note: candidate: ‘template decltype (((std::map<_Key, _Tp, _Compare, _Alloc>*)this)->std::map<_Key, _Tp, _Compare, _Alloc>::_M_t._M_find_tr(__x)) std::map<_Key, _Tp, _Compare, _Alloc>::find(const _Kt&) [with _Key = std::__cxx11::basic_string; _Tp = const _drmModeProperty*; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >]’ 1225 | find(const _Kt& __x) -> decltype(_M_t._M_find_tr(__x)) | ^~~~ /usr/include/c++/13/bits/stl_map.h:1225:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_map.h: In substitution of ‘template decltype (((std::map, const _drmModeProperty*>*)this)->std::map, const _drmModeProperty*>::_M_t.std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::_M_find_tr(__x)) std::map, const _drmModeProperty*>::find(const _Kt&) [with _Kt = char [10]]’: ../src/drm.cpp:479:42: required from here /usr/include/c++/13/bits/stl_map.h:1225:57: error: no matching function for call to ‘std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::_M_find_tr(const char [10])’ 1225 | find(const _Kt& __x) -> decltype(_M_t._M_find_tr(__x)) | ~~~~~~~~~~~~~~~^~~~~ /usr/include/c++/13/bits/stl_tree.h:1295:9: note: candidate: ‘template std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_find_tr(const _Kt&) [with _Req = _Kt; _Key = std::__cxx11::basic_string; _Val = std::pair, const _drmModeProperty*>; _KeyOfValue = std::_Select1st, const _drmModeProperty*> >; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >]’ 1295 | _M_find_tr(const _Kt& __k) | ^~~~~~~~~~ /usr/include/c++/13/bits/stl_tree.h:1295:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_function.h: In substitution of ‘template using std::__has_is_transparent_t = typename std::__has_is_transparent<_Func, _SfinaeType>::type [with _Func = std::less >; _SfinaeType = char [10]]’: /usr/include/c++/13/bits/stl_tree.h:1293:9: required by substitution of ‘template decltype (((std::map, const _drmModeProperty*>*)this)->std::map, const _drmModeProperty*>::_M_t.std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::_M_find_tr(__x)) std::map, const _drmModeProperty*>::find(const _Kt&) [with _Kt = char [10]]’ ../src/drm.cpp:479:42: required from here /usr/include/c++/13/bits/stl_function.h:1430:11: error: no type named ‘type’ in ‘struct std::__has_is_transparent >, char [10], void>’ 1430 | using __has_is_transparent_t | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_map.h: In substitution of ‘template decltype (((std::map, const _drmModeProperty*>*)this)->std::map, const _drmModeProperty*>::_M_t.std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::_M_find_tr(__x)) std::map, const _drmModeProperty*>::find(const _Kt&) [with _Kt = char [10]]’: ../src/drm.cpp:479:42: required from here /usr/include/c++/13/bits/stl_tree.h:1304:9: note: candidate: ‘template std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_find_tr(const _Kt&) const [with _Req = _Kt; _Key = std::__cxx11::basic_string; _Val = std::pair, const _drmModeProperty*>; _KeyOfValue = std::_Select1st, const _drmModeProperty*> >; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >]’ 1304 | _M_find_tr(const _Kt& __k) const | ^~~~~~~~~~ /usr/include/c++/13/bits/stl_tree.h:1304:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_map.h:1250:9: note: candidate: ‘template decltype (((const std::map<_Key, _Tp, _Compare, _Alloc>*)this)->std::map<_Key, _Tp, _Compare, _Alloc>::_M_t._M_find_tr(__x)) std::map<_Key, _Tp, _Compare, _Alloc>::find(const _Kt&) const [with _Key = std::__cxx11::basic_string; _Tp = const _drmModeProperty*; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >]’ 1250 | find(const _Kt& __x) const -> decltype(_M_t._M_find_tr(__x)) | ^~~~ /usr/include/c++/13/bits/stl_map.h:1250:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_map.h: In substitution of ‘template decltype (((const std::map, const _drmModeProperty*>*)this)->std::map, const _drmModeProperty*>::_M_t.std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::_M_find_tr(__x)) std::map, const _drmModeProperty*>::find(const _Kt&) const [with _Kt = char [10]]’: ../src/drm.cpp:479:42: required from here /usr/include/c++/13/bits/stl_map.h:1250:63: error: no matching function for call to ‘std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::_M_find_tr(const char [10]) const’ 1250 | find(const _Kt& __x) const -> decltype(_M_t._M_find_tr(__x)) | ~~~~~~~~~~~~~~~^~~~~ /usr/include/c++/13/bits/stl_tree.h:1295:9: note: candidate: ‘template std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_find_tr(const _Kt&) [with _Req = _Kt; _Key = std::__cxx11::basic_string; _Val = std::pair, const _drmModeProperty*>; _KeyOfValue = std::_Select1st, const _drmModeProperty*> >; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >]’ 1295 | _M_find_tr(const _Kt& __k) | ^~~~~~~~~~ /usr/include/c++/13/bits/stl_tree.h:1295:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_tree.h:1304:9: note: candidate: ‘template std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_find_tr(const _Kt&) const [with _Req = _Kt; _Key = std::__cxx11::basic_string; _Val = std::pair, const _drmModeProperty*>; _KeyOfValue = std::_Select1st, const _drmModeProperty*> >; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >]’ 1304 | _M_find_tr(const _Kt& __k) const | ^~~~~~~~~~ /usr/include/c++/13/bits/stl_tree.h:1304:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_map.h:1219:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::find(const key_type&) [with _Key = std::__cxx11::basic_string; _Tp = const _drmModeProperty*; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >; iterator = std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::iterator; key_type = std::__cxx11::basic_string]’ 1219 | find(const key_type& __x) | ^~~~ /usr/include/c++/13/bits/stl_map.h:1219:28: note: no known conversion for argument 1 from ‘const char [10]’ to ‘const std::map, const _drmModeProperty*>::key_type&’ {aka ‘const std::__cxx11::basic_string&’} 1219 | find(const key_type& __x) | ~~~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/stl_map.h:1244:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator std::map<_Key, _Tp, _Compare, _Alloc>::find(const key_type&) const [with _Key = std::__cxx11::basic_string; _Tp = const _drmModeProperty*; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >; const_iterator = std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::const_iterator; key_type = std::__cxx11::basic_string]’ 1244 | find(const key_type& __x) const | ^~~~ /usr/include/c++/13/bits/stl_map.h:1244:28: note: no known conversion for argument 1 from ‘const char [10]’ to ‘const std::map, const _drmModeProperty*>::key_type&’ {aka ‘const std::__cxx11::basic_string&’} 1244 | find(const key_type& __x) const | ~~~~~~~~~~~~~~~~^~~ ../src/drm.cpp:482:58: error: no matching function for call to ‘std::map, const _drmModeProperty*>::find(const char [12])’ 482 | crtc->has_degamma_lut = (crtc->props.find( "DEGAMMA_LUT" ) != crtc->props.end()); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_map.h:1225:9: note: candidate: ‘template decltype (((std::map<_Key, _Tp, _Compare, _Alloc>*)this)->std::map<_Key, _Tp, _Compare, _Alloc>::_M_t._M_find_tr(__x)) std::map<_Key, _Tp, _Compare, _Alloc>::find(const _Kt&) [with _Key = std::__cxx11::basic_string; _Tp = const _drmModeProperty*; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >]’ 1225 | find(const _Kt& __x) -> decltype(_M_t._M_find_tr(__x)) | ^~~~ /usr/include/c++/13/bits/stl_map.h:1225:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_map.h: In substitution of ‘template decltype (((std::map, const _drmModeProperty*>*)this)->std::map, const _drmModeProperty*>::_M_t.std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::_M_find_tr(__x)) std::map, const _drmModeProperty*>::find(const _Kt&) [with _Kt = char [12]]’: ../src/drm.cpp:482:44: required from here /usr/include/c++/13/bits/stl_map.h:1225:57: error: no matching function for call to ‘std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::_M_find_tr(const char [12])’ 1225 | find(const _Kt& __x) -> decltype(_M_t._M_find_tr(__x)) | ~~~~~~~~~~~~~~~^~~~~ /usr/include/c++/13/bits/stl_tree.h:1295:9: note: candidate: ‘template std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_find_tr(const _Kt&) [with _Req = _Kt; _Key = std::__cxx11::basic_string; _Val = std::pair, const _drmModeProperty*>; _KeyOfValue = std::_Select1st, const _drmModeProperty*> >; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >]’ 1295 | _M_find_tr(const _Kt& __k) | ^~~~~~~~~~ /usr/include/c++/13/bits/stl_tree.h:1295:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_function.h: In substitution of ‘template using std::__has_is_transparent_t = typename std::__has_is_transparent<_Func, _SfinaeType>::type [with _Func = std::less >; _SfinaeType = char [12]]’: /usr/include/c++/13/bits/stl_tree.h:1293:9: required by substitution of ‘template decltype (((std::map, const _drmModeProperty*>*)this)->std::map, const _drmModeProperty*>::_M_t.std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::_M_find_tr(__x)) std::map, const _drmModeProperty*>::find(const _Kt&) [with _Kt = char [12]]’ ../src/drm.cpp:482:44: required from here /usr/include/c++/13/bits/stl_function.h:1430:11: error: no type named ‘type’ in ‘struct std::__has_is_transparent >, char [12], void>’ 1430 | using __has_is_transparent_t | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_map.h: In substitution of ‘template decltype (((std::map, const _drmModeProperty*>*)this)->std::map, const _drmModeProperty*>::_M_t.std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::_M_find_tr(__x)) std::map, const _drmModeProperty*>::find(const _Kt&) [with _Kt = char [12]]’: ../src/drm.cpp:482:44: required from here /usr/include/c++/13/bits/stl_tree.h:1304:9: note: candidate: ‘template std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_find_tr(const _Kt&) const [with _Req = _Kt; _Key = std::__cxx11::basic_string; _Val = std::pair, const _drmModeProperty*>; _KeyOfValue = std::_Select1st, const _drmModeProperty*> >; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >]’ 1304 | _M_find_tr(const _Kt& __k) const | ^~~~~~~~~~ /usr/include/c++/13/bits/stl_tree.h:1304:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_map.h:1250:9: note: candidate: ‘template decltype (((const std::map<_Key, _Tp, _Compare, _Alloc>*)this)->std::map<_Key, _Tp, _Compare, _Alloc>::_M_t._M_find_tr(__x)) std::map<_Key, _Tp, _Compare, _Alloc>::find(const _Kt&) const [with _Key = std::__cxx11::basic_string; _Tp = const _drmModeProperty*; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >]’ 1250 | find(const _Kt& __x) const -> decltype(_M_t._M_find_tr(__x)) | ^~~~ /usr/include/c++/13/bits/stl_map.h:1250:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_map.h: In substitution of ‘template decltype (((const std::map, const _drmModeProperty*>*)this)->std::map, const _drmModeProperty*>::_M_t.std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::_M_find_tr(__x)) std::map, const _drmModeProperty*>::find(const _Kt&) const [with _Kt = char [12]]’: ../src/drm.cpp:482:44: required from here /usr/include/c++/13/bits/stl_map.h:1250:63: error: no matching function for call to ‘std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::_M_find_tr(const char [12]) const’ 1250 | find(const _Kt& __x) const -> decltype(_M_t._M_find_tr(__x)) | ~~~~~~~~~~~~~~~^~~~~ /usr/include/c++/13/bits/stl_tree.h:1295:9: note: candidate: ‘template std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_find_tr(const _Kt&) [with _Req = _Kt; _Key = std::__cxx11::basic_string; _Val = std::pair, const _drmModeProperty*>; _KeyOfValue = std::_Select1st, const _drmModeProperty*> >; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >]’ 1295 | _M_find_tr(const _Kt& __k) | ^~~~~~~~~~ /usr/include/c++/13/bits/stl_tree.h:1295:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_tree.h:1304:9: note: candidate: ‘template std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_find_tr(const _Kt&) const [with _Req = _Kt; _Key = std::__cxx11::basic_string; _Val = std::pair, const _drmModeProperty*>; _KeyOfValue = std::_Select1st, const _drmModeProperty*> >; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >]’ 1304 | _M_find_tr(const _Kt& __k) const | ^~~~~~~~~~ /usr/include/c++/13/bits/stl_tree.h:1304:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_map.h:1219:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::find(const key_type&) [with _Key = std::__cxx11::basic_string; _Tp = const _drmModeProperty*; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >; iterator = std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::iterator; key_type = std::__cxx11::basic_string]’ 1219 | find(const key_type& __x) | ^~~~ /usr/include/c++/13/bits/stl_map.h:1219:28: note: no known conversion for argument 1 from ‘const char [12]’ to ‘const std::map, const _drmModeProperty*>::key_type&’ {aka ‘const std::__cxx11::basic_string&’} 1219 | find(const key_type& __x) | ~~~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/stl_map.h:1244:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator std::map<_Key, _Tp, _Compare, _Alloc>::find(const key_type&) const [with _Key = std::__cxx11::basic_string; _Tp = const _drmModeProperty*; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >; const_iterator = std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::const_iterator; key_type = std::__cxx11::basic_string]’ 1244 | find(const key_type& __x) const | ^~~~ /usr/include/c++/13/bits/stl_map.h:1244:28: note: no known conversion for argument 1 from ‘const char [12]’ to ‘const std::map, const _drmModeProperty*>::key_type&’ {aka ‘const std::__cxx11::basic_string&’} 1244 | find(const key_type& __x) const | ~~~~~~~~~~~~~~~~^~~ ../src/drm.cpp:485:50: error: no matching function for call to ‘std::map, const _drmModeProperty*>::find(const char [4])’ 485 | crtc->has_ctm = (crtc->props.find( "CTM" ) != crtc->props.end()); | ~~~~~~~~~~~~~~~~^~~~~~~~~ /usr/include/c++/13/bits/stl_map.h:1225:9: note: candidate: ‘template decltype (((std::map<_Key, _Tp, _Compare, _Alloc>*)this)->std::map<_Key, _Tp, _Compare, _Alloc>::_M_t._M_find_tr(__x)) std::map<_Key, _Tp, _Compare, _Alloc>::find(const _Kt&) [with _Key = std::__cxx11::basic_string; _Tp = const _drmModeProperty*; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >]’ 1225 | find(const _Kt& __x) -> decltype(_M_t._M_find_tr(__x)) | ^~~~ /usr/include/c++/13/bits/stl_map.h:1225:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_map.h: In substitution of ‘template decltype (((std::map, const _drmModeProperty*>*)this)->std::map, const _drmModeProperty*>::_M_t.std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::_M_find_tr(__x)) std::map, const _drmModeProperty*>::find(const _Kt&) [with _Kt = char [4]]’: ../src/drm.cpp:485:36: required from here /usr/include/c++/13/bits/stl_map.h:1225:57: error: no matching function for call to ‘std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::_M_find_tr(const char [4])’ 1225 | find(const _Kt& __x) -> decltype(_M_t._M_find_tr(__x)) | ~~~~~~~~~~~~~~~^~~~~ /usr/include/c++/13/bits/stl_tree.h:1295:9: note: candidate: ‘template std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_find_tr(const _Kt&) [with _Req = _Kt; _Key = std::__cxx11::basic_string; _Val = std::pair, const _drmModeProperty*>; _KeyOfValue = std::_Select1st, const _drmModeProperty*> >; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >]’ 1295 | _M_find_tr(const _Kt& __k) | ^~~~~~~~~~ /usr/include/c++/13/bits/stl_tree.h:1295:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_tree.h:1304:9: note: candidate: ‘template std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_find_tr(const _Kt&) const [with _Req = _Kt; _Key = std::__cxx11::basic_string; _Val = std::pair, const _drmModeProperty*>; _KeyOfValue = std::_Select1st, const _drmModeProperty*> >; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >]’ 1304 | _M_find_tr(const _Kt& __k) const | ^~~~~~~~~~ /usr/include/c++/13/bits/stl_tree.h:1304:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_map.h:1250:9: note: candidate: ‘template decltype (((const std::map<_Key, _Tp, _Compare, _Alloc>*)this)->std::map<_Key, _Tp, _Compare, _Alloc>::_M_t._M_find_tr(__x)) std::map<_Key, _Tp, _Compare, _Alloc>::find(const _Kt&) const [with _Key = std::__cxx11::basic_string; _Tp = const _drmModeProperty*; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >]’ 1250 | find(const _Kt& __x) const -> decltype(_M_t._M_find_tr(__x)) | ^~~~ /usr/include/c++/13/bits/stl_map.h:1250:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_map.h: In substitution of ‘template decltype (((const std::map, const _drmModeProperty*>*)this)->std::map, const _drmModeProperty*>::_M_t.std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::_M_find_tr(__x)) std::map, const _drmModeProperty*>::find(const _Kt&) const [with _Kt = char [4]]’: ../src/drm.cpp:485:36: required from here /usr/include/c++/13/bits/stl_map.h:1250:63: error: no matching function for call to ‘std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::_M_find_tr(const char [4]) const’ 1250 | find(const _Kt& __x) const -> decltype(_M_t._M_find_tr(__x)) | ~~~~~~~~~~~~~~~^~~~~ /usr/include/c++/13/bits/stl_tree.h:1295:9: note: candidate: ‘template std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_find_tr(const _Kt&) [with _Req = _Kt; _Key = std::__cxx11::basic_string; _Val = std::pair, const _drmModeProperty*>; _KeyOfValue = std::_Select1st, const _drmModeProperty*> >; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >]’ 1295 | _M_find_tr(const _Kt& __k) | ^~~~~~~~~~ /usr/include/c++/13/bits/stl_tree.h:1295:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_tree.h:1304:9: note: candidate: ‘template std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_find_tr(const _Kt&) const [with _Req = _Kt; _Key = std::__cxx11::basic_string; _Val = std::pair, const _drmModeProperty*>; _KeyOfValue = std::_Select1st, const _drmModeProperty*> >; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >]’ 1304 | _M_find_tr(const _Kt& __k) const | ^~~~~~~~~~ /usr/include/c++/13/bits/stl_tree.h:1304:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_map.h:1219:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::find(const key_type&) [with _Key = std::__cxx11::basic_string; _Tp = const _drmModeProperty*; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >; iterator = std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::iterator; key_type = std::__cxx11::basic_string]’ 1219 | find(const key_type& __x) | ^~~~ /usr/include/c++/13/bits/stl_map.h:1219:28: note: no known conversion for argument 1 from ‘const char [4]’ to ‘const std::map, const _drmModeProperty*>::key_type&’ {aka ‘const std::__cxx11::basic_string&’} 1219 | find(const key_type& __x) | ~~~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/stl_map.h:1244:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator std::map<_Key, _Tp, _Compare, _Alloc>::find(const key_type&) const [with _Key = std::__cxx11::basic_string; _Tp = const _drmModeProperty*; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >; const_iterator = std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::const_iterator; key_type = std::__cxx11::basic_string]’ 1244 | find(const key_type& __x) const | ^~~~ /usr/include/c++/13/bits/stl_map.h:1244:28: note: no known conversion for argument 1 from ‘const char [4]’ to ‘const std::map, const _drmModeProperty*>::key_type&’ {aka ‘const std::__cxx11::basic_string&’} 1244 | find(const key_type& __x) const | ~~~~~~~~~~~~~~~~^~~ ../src/drm.cpp:488:58: error: no matching function for call to ‘std::map, const _drmModeProperty*>::find(const char [12])’ 488 | crtc->has_vrr_enabled = (crtc->props.find( "VRR_ENABLED" ) != crtc->props.end()); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_map.h:1225:9: note: candidate: ‘template decltype (((std::map<_Key, _Tp, _Compare, _Alloc>*)this)->std::map<_Key, _Tp, _Compare, _Alloc>::_M_t._M_find_tr(__x)) std::map<_Key, _Tp, _Compare, _Alloc>::find(const _Kt&) [with _Key = std::__cxx11::basic_string; _Tp = const _drmModeProperty*; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >]’ 1225 | find(const _Kt& __x) -> decltype(_M_t._M_find_tr(__x)) | ^~~~ /usr/include/c++/13/bits/stl_map.h:1225:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_map.h: In substitution of ‘template decltype (((std::map, const _drmModeProperty*>*)this)->std::map, const _drmModeProperty*>::_M_t.std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::_M_find_tr(__x)) std::map, const _drmModeProperty*>::find(const _Kt&) [with _Kt = char [12]]’: ../src/drm.cpp:488:44: required from here /usr/include/c++/13/bits/stl_map.h:1225:57: error: no matching function for call to ‘std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::_M_find_tr(const char [12])’ 1225 | find(const _Kt& __x) -> decltype(_M_t._M_find_tr(__x)) | ~~~~~~~~~~~~~~~^~~~~ /usr/include/c++/13/bits/stl_tree.h:1295:9: note: candidate: ‘template std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_find_tr(const _Kt&) [with _Req = _Kt; _Key = std::__cxx11::basic_string; _Val = std::pair, const _drmModeProperty*>; _KeyOfValue = std::_Select1st, const _drmModeProperty*> >; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >]’ 1295 | _M_find_tr(const _Kt& __k) | ^~~~~~~~~~ /usr/include/c++/13/bits/stl_tree.h:1295:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_tree.h:1304:9: note: candidate: ‘template std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_find_tr(const _Kt&) const [with _Req = _Kt; _Key = std::__cxx11::basic_string; _Val = std::pair, const _drmModeProperty*>; _KeyOfValue = std::_Select1st, const _drmModeProperty*> >; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >]’ 1304 | _M_find_tr(const _Kt& __k) const | ^~~~~~~~~~ /usr/include/c++/13/bits/stl_tree.h:1304:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_map.h:1250:9: note: candidate: ‘template decltype (((const std::map<_Key, _Tp, _Compare, _Alloc>*)this)->std::map<_Key, _Tp, _Compare, _Alloc>::_M_t._M_find_tr(__x)) std::map<_Key, _Tp, _Compare, _Alloc>::find(const _Kt&) const [with _Key = std::__cxx11::basic_string; _Tp = const _drmModeProperty*; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >]’ 1250 | find(const _Kt& __x) const -> decltype(_M_t._M_find_tr(__x)) | ^~~~ /usr/include/c++/13/bits/stl_map.h:1250:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_map.h: In substitution of ‘template decltype (((const std::map, const _drmModeProperty*>*)this)->std::map, const _drmModeProperty*>::_M_t.std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::_M_find_tr(__x)) std::map, const _drmModeProperty*>::find(const _Kt&) const [with _Kt = char [12]]’: ../src/drm.cpp:488:44: required from here /usr/include/c++/13/bits/stl_map.h:1250:63: error: no matching function for call to ‘std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::_M_find_tr(const char [12]) const’ 1250 | find(const _Kt& __x) const -> decltype(_M_t._M_find_tr(__x)) | ~~~~~~~~~~~~~~~^~~~~ /usr/include/c++/13/bits/stl_tree.h:1295:9: note: candidate: ‘template std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_find_tr(const _Kt&) [with _Req = _Kt; _Key = std::__cxx11::basic_string; _Val = std::pair, const _drmModeProperty*>; _KeyOfValue = std::_Select1st, const _drmModeProperty*> >; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >]’ 1295 | _M_find_tr(const _Kt& __k) | ^~~~~~~~~~ /usr/include/c++/13/bits/stl_tree.h:1295:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_tree.h:1304:9: note: candidate: ‘template std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_find_tr(const _Kt&) const [with _Req = _Kt; _Key = std::__cxx11::basic_string; _Val = std::pair, const _drmModeProperty*>; _KeyOfValue = std::_Select1st, const _drmModeProperty*> >; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >]’ 1304 | _M_find_tr(const _Kt& __k) const | ^~~~~~~~~~ /usr/include/c++/13/bits/stl_tree.h:1304:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_map.h:1219:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::find(const key_type&) [with _Key = std::__cxx11::basic_string; _Tp = const _drmModeProperty*; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >; iterator = std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::iterator; key_type = std::__cxx11::basic_string]’ 1219 | find(const key_type& __x) | ^~~~ /usr/include/c++/13/bits/stl_map.h:1219:28: note: no known conversion for argument 1 from ‘const char [12]’ to ‘const std::map, const _drmModeProperty*>::key_type&’ {aka ‘const std::__cxx11::basic_string&’} 1219 | find(const key_type& __x) | ~~~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/stl_map.h:1244:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator std::map<_Key, _Tp, _Compare, _Alloc>::find(const key_type&) const [with _Key = std::__cxx11::basic_string; _Tp = const _drmModeProperty*; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >; const_iterator = std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::const_iterator; key_type = std::__cxx11::basic_string]’ 1244 | find(const key_type& __x) const | ^~~~ /usr/include/c++/13/bits/stl_map.h:1244:28: note: no known conversion for argument 1 from ‘const char [12]’ to ‘const std::map, const _drmModeProperty*>::key_type&’ {aka ‘const std::__cxx11::basic_string&’} 1244 | find(const key_type& __x) const | ~~~~~~~~~~~~~~~~^~~ ../src/drm.cpp:492:65: error: no match for ‘operator[]’ (operand types are ‘std::map, long unsigned int>’ and ‘const char [7]’) 492 | crtc->current.active = crtc->initial_prop_values["ACTIVE"]; | ^ /usr/include/c++/13/bits/stl_map.h:504:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = std::__cxx11::basic_string; _Tp = long unsigned int; _Compare = std::less >; _Alloc = std::allocator, long unsigned int> >; mapped_type = long unsigned int; key_type = std::__cxx11::basic_string]’ 504 | operator[](const key_type& __k) | ^~~~~~~~ /usr/include/c++/13/bits/stl_map.h:504:34: note: no known conversion for argument 1 from ‘const char [7]’ to ‘const std::map, long unsigned int>::key_type&’ {aka ‘const std::__cxx11::basic_string&’} 504 | operator[](const key_type& __k) | ~~~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/stl_map.h:524:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = long unsigned int; _Compare = std::less >; _Alloc = std::allocator, long unsigned int> >; mapped_type = long unsigned int; key_type = std::__cxx11::basic_string]’ 524 | operator[](key_type&& __k) | ^~~~~~~~ /usr/include/c++/13/bits/stl_map.h:524:29: note: no known conversion for argument 1 from ‘const char [7]’ to ‘std::map, long unsigned int>::key_type&&’ {aka ‘std::__cxx11::basic_string&&’} 524 | operator[](key_type&& __k) | ~~~~~~~~~~~^~~ ../src/drm.cpp:494:77: error: no match for ‘operator[]’ (operand types are ‘std::map, long unsigned int>’ and ‘const char [12]’) 494 | drm->current.vrr_enabled = crtc->initial_prop_values["VRR_ENABLED"]; | ^ /usr/include/c++/13/bits/stl_map.h:504:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = std::__cxx11::basic_string; _Tp = long unsigned int; _Compare = std::less >; _Alloc = std::allocator, long unsigned int> >; mapped_type = long unsigned int; key_type = std::__cxx11::basic_string]’ 504 | operator[](const key_type& __k) | ^~~~~~~~ /usr/include/c++/13/bits/stl_map.h:504:34: note: no known conversion for argument 1 from ‘const char [12]’ to ‘const std::map, long unsigned int>::key_type&’ {aka ‘const std::__cxx11::basic_string&’} 504 | operator[](const key_type& __k) | ~~~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/stl_map.h:524:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = long unsigned int; _Compare = std::less >; _Alloc = std::allocator, long unsigned int> >; mapped_type = long unsigned int; key_type = std::__cxx11::basic_string]’ 524 | operator[](key_type&& __k) | ^~~~~~~~ /usr/include/c++/13/bits/stl_map.h:524:29: note: no known conversion for argument 1 from ‘const char [12]’ to ‘std::map, long unsigned int>::key_type&&’ {aka ‘std::__cxx11::basic_string&&’} 524 | operator[](key_type&& __k) | ~~~~~~~~~~~^~~ ../src/drm.cpp: In function ‘std::unordered_map, int> parse_connector_priorities(const char*)’: ../src/drm.cpp:603:57: error: use of deleted function ‘std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_map() [with _Key = std::__cxx11::basic_string; _Tp = int; _Hash = std::hash >; _Pred = std::equal_to >; _Alloc = std::allocator, int> >]’ 603 | std::unordered_map priorities{}; | ^ ../src/drm.cpp:611:27: error: no match for ‘operator[]’ (operand types are ‘std::unordered_map, int>’ and ‘char*’) 611 | priorities[name] = i; | ^ /usr/include/c++/13/bits/unordered_map.h:986:7: note: candidate: ‘std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::mapped_type& std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::operator[](const key_type&) [with _Key = std::__cxx11::basic_string; _Tp = int; _Hash = std::hash >; _Pred = std::equal_to >; _Alloc = std::allocator, int> >; mapped_type = int; key_type = std::__cxx11::basic_string]’ 986 | operator[](const key_type& __k) | ^~~~~~~~ /usr/include/c++/13/bits/unordered_map.h:986:34: note: no known conversion for argument 1 from ‘char*’ to ‘const std::unordered_map, int>::key_type&’ {aka ‘const std::__cxx11::basic_string&’} 986 | operator[](const key_type& __k) | ~~~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/unordered_map.h:990:7: note: candidate: ‘std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::mapped_type& std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = int; _Hash = std::hash >; _Pred = std::equal_to >; _Alloc = std::allocator, int> >; mapped_type = int; key_type = std::__cxx11::basic_string]’ 990 | operator[](key_type&& __k) | ^~~~~~~~ /usr/include/c++/13/bits/unordered_map.h:990:29: note: no known conversion for argument 1 from ‘char*’ to ‘std::unordered_map, int>::key_type&&’ {aka ‘std::__cxx11::basic_string&&’} 990 | operator[](key_type&& __k) | ~~~~~~~~~~~^~~ ../src/drm.cpp: In function ‘int get_connector_priority(drm_t*, const char*)’: ../src/drm.cpp:621:45: error: cannot convert ‘const char*’ to ‘const std::unordered_map, int>::key_type&’ {aka ‘const std::__cxx11::basic_string&’} 621 | if (drm->connector_priorities.count(name) > 0) { | ^~~~ | | | const char* /usr/include/c++/13/bits/unordered_map.h:908:29: note: initializing argument 1 of ‘std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::size_type std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::count(const key_type&) const [with _Key = std::__cxx11::basic_string; _Tp = int; _Hash = std::hash >; _Pred = std::equal_to >; _Alloc = std::allocator, int> >; size_type = long unsigned int; key_type = std::__cxx11::basic_string]’ 908 | count(const key_type& __x) const | ~~~~~~~~~~~~~~~~^~~ ../src/drm.cpp:622:49: error: no match for ‘operator[]’ (operand types are ‘std::unordered_map, int>’ and ‘const char*’) 622 | return drm->connector_priorities[name]; | ^ /usr/include/c++/13/bits/unordered_map.h:986:7: note: candidate: ‘std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::mapped_type& std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::operator[](const key_type&) [with _Key = std::__cxx11::basic_string; _Tp = int; _Hash = std::hash >; _Pred = std::equal_to >; _Alloc = std::allocator, int> >; mapped_type = int; key_type = std::__cxx11::basic_string]’ 986 | operator[](const key_type& __k) | ^~~~~~~~ /usr/include/c++/13/bits/unordered_map.h:986:34: note: no known conversion for argument 1 from ‘const char*’ to ‘const std::unordered_map, int>::key_type&’ {aka ‘const std::__cxx11::basic_string&’} 986 | operator[](const key_type& __k) | ~~~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/unordered_map.h:990:7: note: candidate: ‘std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::mapped_type& std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = int; _Hash = std::hash >; _Pred = std::equal_to >; _Alloc = std::allocator, int> >; mapped_type = int; key_type = std::__cxx11::basic_string]’ 990 | operator[](key_type&& __k) | ^~~~~~~~ /usr/include/c++/13/bits/unordered_map.h:990:29: note: no known conversion for argument 1 from ‘const char*’ to ‘std::unordered_map, int>::key_type&&’ {aka ‘std::__cxx11::basic_string&&’} 990 | operator[](key_type&& __k) | ~~~~~~~~~~~^~~ ../src/drm.cpp:624:45: error: cannot convert ‘const char [2]’ to ‘const std::unordered_map, int>::key_type&’ {aka ‘const std::__cxx11::basic_string&’} 624 | if (drm->connector_priorities.count("*") > 0) { | ^~~ | | | const char [2] /usr/include/c++/13/bits/unordered_map.h:908:29: note: initializing argument 1 of ‘std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::size_type std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::count(const key_type&) const [with _Key = std::__cxx11::basic_string; _Tp = int; _Hash = std::hash >; _Pred = std::equal_to >; _Alloc = std::allocator, int> >; size_type = long unsigned int; key_type = std::__cxx11::basic_string]’ 908 | count(const key_type& __x) const | ~~~~~~~~~~~~~~~~^~~ ../src/drm.cpp:625:49: error: no match for ‘operator[]’ (operand types are ‘std::unordered_map, int>’ and ‘const char [2]’) 625 | return drm->connector_priorities["*"]; | ^ /usr/include/c++/13/bits/unordered_map.h:986:7: note: candidate: ‘std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::mapped_type& std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::operator[](const key_type&) [with _Key = std::__cxx11::basic_string; _Tp = int; _Hash = std::hash >; _Pred = std::equal_to >; _Alloc = std::allocator, int> >; mapped_type = int; key_type = std::__cxx11::basic_string]’ 986 | operator[](const key_type& __k) | ^~~~~~~~ /usr/include/c++/13/bits/unordered_map.h:986:34: note: no known conversion for argument 1 from ‘const char [2]’ to ‘const std::unordered_map, int>::key_type&’ {aka ‘const std::__cxx11::basic_string&’} 986 | operator[](const key_type& __k) | ~~~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/unordered_map.h:990:7: note: candidate: ‘std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::mapped_type& std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = int; _Hash = std::hash >; _Pred = std::equal_to >; _Alloc = std::allocator, int> >; mapped_type = int; key_type = std::__cxx11::basic_string]’ 990 | operator[](key_type&& __k) | ^~~~~~~~ /usr/include/c++/13/bits/unordered_map.h:990:29: note: no known conversion for argument 1 from ‘const char [2]’ to ‘std::unordered_map, int>::key_type&&’ {aka ‘std::__cxx11::basic_string&&’} 990 | operator[](key_type&& __k) | ~~~~~~~~~~~^~~ ../src/drm.cpp: In function ‘void load_pnps()’: ../src/drm.cpp:771:36: error: variable ‘std::string id’ has initializer but incomplete type 771 | std::string id(line); | ^ ../src/drm.cpp:772:34: error: variable ‘std::string name’ has initializer but incomplete type 772 | std::string name(sep + 1); | ^~~ ../src/drm.cpp: In function ‘int add_property(drmModeAtomicReq*, uint32_t, std::map, const _drmModeProperty*>&, const char*, uint64_t)’: ../src/drm.cpp:896:25: error: no matching function for call to ‘std::map, const _drmModeProperty*>::count(const char*&)’ 896 | if ( props.count( name ) == 0 ) | ~~~~~~~~~~~^~~~~~~~ /usr/include/c++/13/bits/stl_map.h:1271:9: note: candidate: ‘template decltype (((const std::map<_Key, _Tp, _Compare, _Alloc>*)this)->std::map<_Key, _Tp, _Compare, _Alloc>::_M_t._M_count_tr(__x)) std::map<_Key, _Tp, _Compare, _Alloc>::count(const _Kt&) const [with _Key = std::__cxx11::basic_string; _Tp = const _drmModeProperty*; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >]’ 1271 | count(const _Kt& __x) const -> decltype(_M_t._M_count_tr(__x)) | ^~~~~ /usr/include/c++/13/bits/stl_map.h:1271:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_map.h: In substitution of ‘template decltype (((const std::map, const _drmModeProperty*>*)this)->std::map, const _drmModeProperty*>::_M_t.std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::_M_count_tr<_Kt, _Req>(__x)) std::map, const _drmModeProperty*>::count(const _Kt&) const [with _Kt = const char*]’: ../src/drm.cpp:896:18: required from here /usr/include/c++/13/bits/stl_map.h:1271:65: error: no matching function for call to ‘std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::_M_count_tr(const char* const&) const’ 1271 | count(const _Kt& __x) const -> decltype(_M_t._M_count_tr(__x)) | ~~~~~~~~~~~~~~~~^~~~~ /usr/include/c++/13/bits/stl_tree.h:1315:9: note: candidate: ‘template std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::size_type std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_count_tr(const _Kt&) const [with _Req = _Kt; _Key = std::__cxx11::basic_string; _Val = std::pair, const _drmModeProperty*>; _KeyOfValue = std::_Select1st, const _drmModeProperty*> >; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >]’ 1315 | _M_count_tr(const _Kt& __k) const | ^~~~~~~~~~~ /usr/include/c++/13/bits/stl_tree.h:1315:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_function.h: In substitution of ‘template using std::__has_is_transparent_t = typename std::__has_is_transparent<_Func, _SfinaeType>::type [with _Func = std::less >; _SfinaeType = const char*]’: /usr/include/c++/13/bits/stl_tree.h:1313:9: required by substitution of ‘template decltype (((const std::map, const _drmModeProperty*>*)this)->std::map, const _drmModeProperty*>::_M_t.std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::_M_count_tr<_Kt, _Req>(__x)) std::map, const _drmModeProperty*>::count(const _Kt&) const [with _Kt = const char*]’ ../src/drm.cpp:896:18: required from here /usr/include/c++/13/bits/stl_function.h:1430:11: error: no type named ‘type’ in ‘struct std::__has_is_transparent >, const char*, void>’ 1430 | using __has_is_transparent_t | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_map.h:1265:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::size_type std::map<_Key, _Tp, _Compare, _Alloc>::count(const key_type&) const [with _Key = std::__cxx11::basic_string; _Tp = const _drmModeProperty*; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >; size_type = long unsigned int; key_type = std::__cxx11::basic_string]’ 1265 | count(const key_type& __x) const | ^~~~~ /usr/include/c++/13/bits/stl_map.h:1265:29: note: no known conversion for argument 1 from ‘const char*’ to ‘const std::map, const _drmModeProperty*>::key_type&’ {aka ‘const std::__cxx11::basic_string&’} 1265 | count(const key_type& __x) const | ~~~~~~~~~~~~~~~~^~~ ../src/drm.cpp:902:47: error: no match for ‘operator[]’ (operand types are ‘std::map, const _drmModeProperty*>’ and ‘const char*’) 902 | const drmModePropertyRes *prop = props[ name ]; | ^ /usr/include/c++/13/bits/stl_map.h:504:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = std::__cxx11::basic_string; _Tp = const _drmModeProperty*; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >; mapped_type = const _drmModeProperty*; key_type = std::__cxx11::basic_string]’ 504 | operator[](const key_type& __k) | ^~~~~~~~ /usr/include/c++/13/bits/stl_map.h:504:34: note: no known conversion for argument 1 from ‘const char*’ to ‘const std::map, const _drmModeProperty*>::key_type&’ {aka ‘const std::__cxx11::basic_string&’} 504 | operator[](const key_type& __k) | ~~~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/stl_map.h:524:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = const _drmModeProperty*; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >; mapped_type = const _drmModeProperty*; key_type = std::__cxx11::basic_string]’ 524 | operator[](key_type&& __k) | ^~~~~~~~ /usr/include/c++/13/bits/stl_map.h:524:29: note: no known conversion for argument 1 from ‘const char*’ to ‘std::map, const _drmModeProperty*>::key_type&&’ {aka ‘std::__cxx11::basic_string&&’} 524 | operator[](key_type&& __k) | ~~~~~~~~~~~^~~ ../src/drm.cpp: In function ‘void finish_drm(drm_t*)’: ../src/drm.cpp:963:39: error: no matching function for call to ‘std::map, const _drmModeProperty*>::count(const char [9])’ 963 | if (plane->props.count("rotation") > 0) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/c++/13/bits/stl_map.h:1271:9: note: candidate: ‘template decltype (((const std::map<_Key, _Tp, _Compare, _Alloc>*)this)->std::map<_Key, _Tp, _Compare, _Alloc>::_M_t._M_count_tr(__x)) std::map<_Key, _Tp, _Compare, _Alloc>::count(const _Kt&) const [with _Key = std::__cxx11::basic_string; _Tp = const _drmModeProperty*; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >]’ 1271 | count(const _Kt& __x) const -> decltype(_M_t._M_count_tr(__x)) | ^~~~~ /usr/include/c++/13/bits/stl_map.h:1271:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_map.h: In substitution of ‘template decltype (((const std::map, const _drmModeProperty*>*)this)->std::map, const _drmModeProperty*>::_M_t.std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::_M_count_tr<_Kt, _Req>(__x)) std::map, const _drmModeProperty*>::count(const _Kt&) const [with _Kt = char [9]]’: ../src/drm.cpp:963:25: required from here /usr/include/c++/13/bits/stl_map.h:1271:65: error: no matching function for call to ‘std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::_M_count_tr(const char [9]) const’ 1271 | count(const _Kt& __x) const -> decltype(_M_t._M_count_tr(__x)) | ~~~~~~~~~~~~~~~~^~~~~ /usr/include/c++/13/bits/stl_tree.h:1315:9: note: candidate: ‘template std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::size_type std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_count_tr(const _Kt&) const [with _Req = _Kt; _Key = std::__cxx11::basic_string; _Val = std::pair, const _drmModeProperty*>; _KeyOfValue = std::_Select1st, const _drmModeProperty*> >; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >]’ 1315 | _M_count_tr(const _Kt& __k) const | ^~~~~~~~~~~ /usr/include/c++/13/bits/stl_tree.h:1315:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_function.h: In substitution of ‘template using std::__has_is_transparent_t = typename std::__has_is_transparent<_Func, _SfinaeType>::type [with _Func = std::less >; _SfinaeType = char [9]]’: /usr/include/c++/13/bits/stl_tree.h:1313:9: required by substitution of ‘template decltype (((const std::map, const _drmModeProperty*>*)this)->std::map, const _drmModeProperty*>::_M_t.std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::_M_count_tr<_Kt, _Req>(__x)) std::map, const _drmModeProperty*>::count(const _Kt&) const [with _Kt = char [9]]’ ../src/drm.cpp:963:25: required from here /usr/include/c++/13/bits/stl_function.h:1430:11: error: no type named ‘type’ in ‘struct std::__has_is_transparent >, char [9], void>’ 1430 | using __has_is_transparent_t | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_map.h:1265:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::size_type std::map<_Key, _Tp, _Compare, _Alloc>::count(const key_type&) const [with _Key = std::__cxx11::basic_string; _Tp = const _drmModeProperty*; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >; size_type = long unsigned int; key_type = std::__cxx11::basic_string]’ 1265 | count(const key_type& __x) const | ^~~~~ /usr/include/c++/13/bits/stl_map.h:1265:29: note: no known conversion for argument 1 from ‘const char [9]’ to ‘const std::map, const _drmModeProperty*>::key_type&’ {aka ‘const std::__cxx11::basic_string&’} 1265 | count(const key_type& __x) const | ~~~~~~~~~~~~~~~~^~~ ../src/drm.cpp:965:39: error: no matching function for call to ‘std::map, const _drmModeProperty*>::count(const char [6])’ 965 | if (plane->props.count("alpha") > 0) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~ /usr/include/c++/13/bits/stl_map.h:1271:9: note: candidate: ‘template decltype (((const std::map<_Key, _Tp, _Compare, _Alloc>*)this)->std::map<_Key, _Tp, _Compare, _Alloc>::_M_t._M_count_tr(__x)) std::map<_Key, _Tp, _Compare, _Alloc>::count(const _Kt&) const [with _Key = std::__cxx11::basic_string; _Tp = const _drmModeProperty*; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >]’ 1271 | count(const _Kt& __x) const -> decltype(_M_t._M_count_tr(__x)) | ^~~~~ /usr/include/c++/13/bits/stl_map.h:1271:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_map.h: In substitution of ‘template decltype (((const std::map, const _drmModeProperty*>*)this)->std::map, const _drmModeProperty*>::_M_t.std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::_M_count_tr<_Kt, _Req>(__x)) std::map, const _drmModeProperty*>::count(const _Kt&) const [with _Kt = char [6]]’: ../src/drm.cpp:965:25: required from here /usr/include/c++/13/bits/stl_map.h:1271:65: error: no matching function for call to ‘std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::_M_count_tr(const char [6]) const’ 1271 | count(const _Kt& __x) const -> decltype(_M_t._M_count_tr(__x)) | ~~~~~~~~~~~~~~~~^~~~~ /usr/include/c++/13/bits/stl_tree.h:1315:9: note: candidate: ‘template std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::size_type std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_count_tr(const _Kt&) const [with _Req = _Kt; _Key = std::__cxx11::basic_string; _Val = std::pair, const _drmModeProperty*>; _KeyOfValue = std::_Select1st, const _drmModeProperty*> >; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >]’ 1315 | _M_count_tr(const _Kt& __k) const | ^~~~~~~~~~~ /usr/include/c++/13/bits/stl_tree.h:1315:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_function.h: In substitution of ‘template using std::__has_is_transparent_t = typename std::__has_is_transparent<_Func, _SfinaeType>::type [with _Func = std::less >; _SfinaeType = char [6]]’: /usr/include/c++/13/bits/stl_tree.h:1313:9: required by substitution of ‘template decltype (((const std::map, const _drmModeProperty*>*)this)->std::map, const _drmModeProperty*>::_M_t.std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::_M_count_tr<_Kt, _Req>(__x)) std::map, const _drmModeProperty*>::count(const _Kt&) const [with _Kt = char [6]]’ ../src/drm.cpp:965:25: required from here /usr/include/c++/13/bits/stl_function.h:1430:11: error: no type named ‘type’ in ‘struct std::__has_is_transparent >, char [6], void>’ 1430 | using __has_is_transparent_t | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_map.h:1265:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::size_type std::map<_Key, _Tp, _Compare, _Alloc>::count(const key_type&) const [with _Key = std::__cxx11::basic_string; _Tp = const _drmModeProperty*; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >; size_type = long unsigned int; key_type = std::__cxx11::basic_string]’ 1265 | count(const key_type& __x) const | ^~~~~ /usr/include/c++/13/bits/stl_map.h:1265:29: note: no known conversion for argument 1 from ‘const char [6]’ to ‘const std::map, const _drmModeProperty*>::key_type&’ {aka ‘const std::__cxx11::basic_string&’} 1265 | count(const key_type& __x) const | ~~~~~~~~~~~~~~~~^~~ ../src/drm.cpp: In function ‘void update_drm_effective_orientation(drm_t*, connector*, const drmModeModeInfo*)’: ../src/drm.cpp:1277:46: error: no matching function for call to ‘std::map, const _drmModeProperty*>::count(const char [18])’ 1277 | if (conn->props.count("panel orientation") > 0 ) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_map.h:1271:9: note: candidate: ‘template decltype (((const std::map<_Key, _Tp, _Compare, _Alloc>*)this)->std::map<_Key, _Tp, _Compare, _Alloc>::_M_t._M_count_tr(__x)) std::map<_Key, _Tp, _Compare, _Alloc>::count(const _Kt&) const [with _Key = std::__cxx11::basic_string; _Tp = const _drmModeProperty*; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >]’ 1271 | count(const _Kt& __x) const -> decltype(_M_t._M_count_tr(__x)) | ^~~~~ /usr/include/c++/13/bits/stl_map.h:1271:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_map.h: In substitution of ‘template decltype (((const std::map, const _drmModeProperty*>*)this)->std::map, const _drmModeProperty*>::_M_t.std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::_M_count_tr<_Kt, _Req>(__x)) std::map, const _drmModeProperty*>::count(const _Kt&) const [with _Kt = char [18]]’: ../src/drm.cpp:1277:25: required from here /usr/include/c++/13/bits/stl_map.h:1271:65: error: no matching function for call to ‘std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::_M_count_tr(const char [18]) const’ 1271 | count(const _Kt& __x) const -> decltype(_M_t._M_count_tr(__x)) | ~~~~~~~~~~~~~~~~^~~~~ /usr/include/c++/13/bits/stl_tree.h:1315:9: note: candidate: ‘template std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::size_type std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_count_tr(const _Kt&) const [with _Req = _Kt; _Key = std::__cxx11::basic_string; _Val = std::pair, const _drmModeProperty*>; _KeyOfValue = std::_Select1st, const _drmModeProperty*> >; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >]’ 1315 | _M_count_tr(const _Kt& __k) const | ^~~~~~~~~~~ /usr/include/c++/13/bits/stl_tree.h:1315:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_function.h: In substitution of ‘template using std::__has_is_transparent_t = typename std::__has_is_transparent<_Func, _SfinaeType>::type [with _Func = std::less >; _SfinaeType = char [18]]’: /usr/include/c++/13/bits/stl_tree.h:1313:9: required by substitution of ‘template decltype (((const std::map, const _drmModeProperty*>*)this)->std::map, const _drmModeProperty*>::_M_t.std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::_M_count_tr<_Kt, _Req>(__x)) std::map, const _drmModeProperty*>::count(const _Kt&) const [with _Kt = char [18]]’ ../src/drm.cpp:1277:25: required from here /usr/include/c++/13/bits/stl_function.h:1430:11: error: no type named ‘type’ in ‘struct std::__has_is_transparent >, char [18], void>’ 1430 | using __has_is_transparent_t | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_map.h:1265:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::size_type std::map<_Key, _Tp, _Compare, _Alloc>::count(const key_type&) const [with _Key = std::__cxx11::basic_string; _Tp = const _drmModeProperty*; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >; size_type = long unsigned int; key_type = std::__cxx11::basic_string]’ 1265 | count(const key_type& __x) const | ^~~~~ /usr/include/c++/13/bits/stl_map.h:1265:29: note: no known conversion for argument 1 from ‘const char [18]’ to ‘const std::map, const _drmModeProperty*>::key_type&’ {aka ‘const std::__cxx11::basic_string&’} 1265 | count(const key_type& __x) const | ~~~~~~~~~~~~~~~~^~~ ../src/drm.cpp:1279:84: error: no match for ‘operator[]’ (operand types are ‘std::map, const _drmModeProperty*>’ and ‘const char [18]’) 1279 | const char *orientation = get_enum_name(conn->props["panel orientation"], conn->initial_prop_values["panel orientation"]); | ^ /usr/include/c++/13/bits/stl_map.h:504:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = std::__cxx11::basic_string; _Tp = const _drmModeProperty*; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >; mapped_type = const _drmModeProperty*; key_type = std::__cxx11::basic_string]’ 504 | operator[](const key_type& __k) | ^~~~~~~~ /usr/include/c++/13/bits/stl_map.h:504:34: note: no known conversion for argument 1 from ‘const char [18]’ to ‘const std::map, const _drmModeProperty*>::key_type&’ {aka ‘const std::__cxx11::basic_string&’} 504 | operator[](const key_type& __k) | ~~~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/stl_map.h:524:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = const _drmModeProperty*; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >; mapped_type = const _drmModeProperty*; key_type = std::__cxx11::basic_string]’ 524 | operator[](key_type&& __k) | ^~~~~~~~ /usr/include/c++/13/bits/stl_map.h:524:29: note: no known conversion for argument 1 from ‘const char [18]’ to ‘std::map, const _drmModeProperty*>::key_type&&’ {aka ‘std::__cxx11::basic_string&&’} 524 | operator[](key_type&& __k) | ~~~~~~~~~~~^~~ ../src/drm.cpp:1279:132: error: no match for ‘operator[]’ (operand types are ‘std::map, long unsigned int>’ and ‘const char [18]’) 1279 | const char *orientation = get_enum_name(conn->props["panel orientation"], conn->initial_prop_values["panel orientation"]); | ^ /usr/include/c++/13/bits/stl_map.h:504:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = std::__cxx11::basic_string; _Tp = long unsigned int; _Compare = std::less >; _Alloc = std::allocator, long unsigned int> >; mapped_type = long unsigned int; key_type = std::__cxx11::basic_string]’ 504 | operator[](const key_type& __k) | ^~~~~~~~ /usr/include/c++/13/bits/stl_map.h:504:34: note: no known conversion for argument 1 from ‘const char [18]’ to ‘const std::map, long unsigned int>::key_type&’ {aka ‘const std::__cxx11::basic_string&’} 504 | operator[](const key_type& __k) | ~~~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/stl_map.h:524:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = long unsigned int; _Compare = std::less >; _Alloc = std::allocator, long unsigned int> >; mapped_type = long unsigned int; key_type = std::__cxx11::basic_string]’ 524 | operator[](key_type&& __k) | ^~~~~~~~ /usr/include/c++/13/bits/stl_map.h:524:29: note: no known conversion for argument 1 from ‘const char [18]’ to ‘std::map, long unsigned int>::key_type&&’ {aka ‘std::__cxx11::basic_string&&’} 524 | operator[](key_type&& __k) | ~~~~~~~~~~~^~~ ../src/drm.cpp: In function ‘bool drm_update_gamma_lut(drm_t*)’: ../src/drm.cpp:2191:63: error: no match for ‘operator[]’ (operand types are ‘std::map, long unsigned int>’ and ‘const char [15]’) 2191 | const int lut_entries = drm->crtc->initial_prop_values["GAMMA_LUT_SIZE"]; | ^ /usr/include/c++/13/bits/stl_map.h:504:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = std::__cxx11::basic_string; _Tp = long unsigned int; _Compare = std::less >; _Alloc = std::allocator, long unsigned int> >; mapped_type = long unsigned int; key_type = std::__cxx11::basic_string]’ 504 | operator[](const key_type& __k) | ^~~~~~~~ /usr/include/c++/13/bits/stl_map.h:504:34: note: no known conversion for argument 1 from ‘const char [15]’ to ‘const std::map, long unsigned int>::key_type&’ {aka ‘const std::__cxx11::basic_string&’} 504 | operator[](const key_type& __k) | ~~~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/stl_map.h:524:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = long unsigned int; _Compare = std::less >; _Alloc = std::allocator, long unsigned int> >; mapped_type = long unsigned int; key_type = std::__cxx11::basic_string]’ 524 | operator[](key_type&& __k) | ^~~~~~~~ /usr/include/c++/13/bits/stl_map.h:524:29: note: no known conversion for argument 1 from ‘const char [15]’ to ‘std::map, long unsigned int>::key_type&&’ {aka ‘std::__cxx11::basic_string&&’} 524 | operator[](key_type&& __k) | ~~~~~~~~~~~^~~ ../src/drm.cpp: In function ‘bool drm_update_degamma_lut(drm_t*)’: ../src/drm.cpp:2246:63: error: no match for ‘operator[]’ (operand types are ‘std::map, long unsigned int>’ and ‘const char [17]’) 2246 | const int lut_entries = drm->crtc->initial_prop_values["DEGAMMA_LUT_SIZE"]; | ^ /usr/include/c++/13/bits/stl_map.h:504:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = std::__cxx11::basic_string; _Tp = long unsigned int; _Compare = std::less >; _Alloc = std::allocator, long unsigned int> >; mapped_type = long unsigned int; key_type = std::__cxx11::basic_string]’ 504 | operator[](const key_type& __k) | ^~~~~~~~ /usr/include/c++/13/bits/stl_map.h:504:34: note: no known conversion for argument 1 from ‘const char [17]’ to ‘const std::map, long unsigned int>::key_type&’ {aka ‘const std::__cxx11::basic_string&’} 504 | operator[](const key_type& __k) | ~~~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/stl_map.h:524:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = long unsigned int; _Compare = std::less >; _Alloc = std::allocator, long unsigned int> >; mapped_type = long unsigned int; key_type = std::__cxx11::basic_string]’ 524 | operator[](key_type&& __k) | ^~~~~~~~ /usr/include/c++/13/bits/stl_map.h:524:29: note: no known conversion for argument 1 from ‘const char [17]’ to ‘std::map, long unsigned int>::key_type&&’ {aka ‘std::__cxx11::basic_string&&’} 524 | operator[](key_type&& __k) | ~~~~~~~~~~~^~~ /usr/include/c++/13/bits/hashtable.h: In instantiation of ‘std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::~_Hashtable() [with _Key = std::__cxx11::basic_string; _Value = std::pair, int>; _Alloc = std::allocator, int> >; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to >; _Hash = std::hash >; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits]’: /usr/include/c++/13/bits/unordered_map.h:109:11: required from here /usr/include/c++/13/bits/hashtable.h:1595:5: error: use of deleted function ‘std::__detail::_Hashtable_base, std::pair, int>, std::__detail::_Select1st, std::equal_to >, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits >::~_Hashtable_base()’ 1595 | } | ^ /usr/include/c++/13/bits/stl_pair.h: In instantiation of ‘struct std::pair, int>’: /usr/include/c++/13/ext/aligned_buffer.h:93:28: required from ‘struct __gnu_cxx::__aligned_buffer, int> >’ /usr/include/c++/13/bits/hashtable_policy.h:328:43: required from ‘struct std::__detail::_Hash_node_value_base, int> >’ /usr/include/c++/13/bits/hashtable_policy.h:362:12: required from ‘struct std::__detail::_Hash_node_value, int>, true>’ /usr/include/c++/13/bits/hashtable.h:1588:20: required from ‘std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::~_Hashtable() [with _Key = std::__cxx11::basic_string; _Value = std::pair, int>; _Alloc = std::allocator, int> >; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to >; _Hash = std::hash >; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits]’ /usr/include/c++/13/bits/unordered_map.h:109:11: required from here /usr/include/c++/13/bits/stl_pair.h:193:11: error: ‘std::pair<_T1, _T2>::first’ has incomplete type 193 | _T1 first; ///< The first member | ^~~~~ /usr/include/c++/13/bits/stringfwd.h:72:11: note: declaration of ‘class std::__cxx11::basic_string’ 72 | class basic_string; | ^~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable.h: In instantiation of ‘std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::~_Hashtable() [with _Key = std::__cxx11::basic_string; _Value = std::pair, int>; _Alloc = std::allocator, int> >; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to >; _Hash = std::hash >; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits]’: /usr/include/c++/13/bits/unordered_map.h:109:11: required from here /usr/include/c++/13/bits/hashtable.h:1587:21: error: static assertion failed: Cache the hash code or qualify your functors involved in hash code and bucket index computation with noexcept 1587 | static_assert(noexcept(declval() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1588 | ._M_bucket_index(declval(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1589 | (std::size_t)0)), | ~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable.h:1587:21: note: ‘false’ evaluates to false /usr/include/c++/13/bits/stl_pair.h: In instantiation of ‘struct std::pair, std::__cxx11::basic_string >’: /usr/include/c++/13/ext/aligned_buffer.h:56:65: required from ‘struct __gnu_cxx::__aligned_membuf, std::__cxx11::basic_string > >’ /usr/include/c++/13/bits/stl_tree.h:231:41: required from ‘struct std::_Rb_tree_node, std::__cxx11::basic_string > >’ /usr/include/c++/13/bits/stl_tree.h:1936:21: required from ‘void std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_erase(_Link_type) [with _Key = std::__cxx11::basic_string; _Val = std::pair, std::__cxx11::basic_string >; _KeyOfValue = std::_Select1st, std::__cxx11::basic_string > >; _Compare = std::less >; _Alloc = std::allocator, std::__cxx11::basic_string > >; _Link_type = std::_Rb_tree_node, std::__cxx11::basic_string > >*]’ /usr/include/c++/13/bits/stl_tree.h:986:9: required from ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::~_Rb_tree() [with _Key = std::__cxx11::basic_string; _Val = std::pair, std::__cxx11::basic_string >; _KeyOfValue = std::_Select1st, std::__cxx11::basic_string > >; _Compare = std::less >; _Alloc = std::allocator, std::__cxx11::basic_string > >]’ /usr/include/c++/13/bits/stl_map.h:197:7: required from here /usr/include/c++/13/bits/stl_pair.h:193:11: error: ‘std::pair<_T1, _T2>::first’ has incomplete type 193 | _T1 first; ///< The first member | ^~~~~ /usr/include/c++/13/bits/stringfwd.h:72:11: note: declaration of ‘class std::__cxx11::basic_string’ 72 | class basic_string; | ^~~~~~~~~~~~ /usr/include/c++/13/bits/stl_pair.h:194:11: error: ‘std::pair<_T1, _T2>::second’ has incomplete type 194 | _T2 second; ///< The second member | ^~~~~~ /usr/include/c++/13/bits/stringfwd.h:72:11: note: declaration of ‘class std::__cxx11::basic_string’ 72 | class basic_string; | ^~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable.h: In instantiation of ‘std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_Hashtable(std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>&&, __node_alloc_type&&, std::true_type) [with _Key = std::__cxx11::basic_string; _Value = std::pair, int>; _Alloc = std::allocator, int> >; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to >; _Hash = std::hash >; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits; __node_alloc_type = std::_Hashtable, std::pair, int>, std::allocator, int> >, std::__detail::_Select1st, std::equal_to >, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >::__node_alloc_type; std::true_type = std::integral_constant]’: /usr/include/c++/13/bits/hashtable.h:546:17: required from ‘std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_Hashtable(std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>&&) [with _Key = std::__cxx11::basic_string; _Value = std::pair, int>; _Alloc = std::allocator, int> >; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to >; _Hash = std::hash >; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits]’ /usr/include/c++/13/bits/unordered_map.h:191:7: required from here /usr/include/c++/13/bits/hashtable.h:1494:45: error: use of deleted function ‘std::__detail::_Hashtable_base, std::pair, int>, std::__detail::_Select1st, std::equal_to >, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits >::_Hashtable_base(const std::__detail::_Hashtable_base, std::pair, int>, std::__detail::_Select1st, std::equal_to >, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits >&)’ 1494 | _M_rehash_policy(__ht._M_rehash_policy) | ^ /usr/include/c++/13/bits/hashtable_policy.h:1667:12: note: ‘std::__detail::_Hashtable_base, std::pair, int>, std::__detail::_Select1st, std::equal_to >, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits >::_Hashtable_base(const std::__detail::_Hashtable_base, std::pair, int>, std::__detail::_Select1st, std::equal_to >, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits >&)’ is implicitly deleted because the default definition would be ill-formed: 1667 | struct _Hashtable_base | ^~~~~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h:1667:12: error: use of deleted function ‘std::__detail::_Hash_code_base, std::pair, int>, std::__detail::_Select1st, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, true>::_Hash_code_base(const std::__detail::_Hash_code_base, std::pair, int>, std::__detail::_Select1st, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, true>&)’ /usr/include/c++/13/bits/hashtable_policy.h:1275:12: note: ‘std::__detail::_Hash_code_base, std::pair, int>, std::__detail::_Select1st, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, true>::_Hash_code_base(const std::__detail::_Hash_code_base, std::pair, int>, std::__detail::_Select1st, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, true>&)’ is implicitly deleted because the default definition would be ill-formed: 1275 | struct _Hash_code_base | ^~~~~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h:1275:12: error: use of deleted function ‘std::__detail::_Hashtable_ebo_helper<1, std::hash >, true>::_Hashtable_ebo_helper(const std::__detail::_Hashtable_ebo_helper<1, std::hash >, true>&)’ /usr/include/c++/13/bits/hashtable_policy.h:1211:12: note: ‘std::__detail::_Hashtable_ebo_helper<1, std::hash >, true>::_Hashtable_ebo_helper(const std::__detail::_Hashtable_ebo_helper<1, std::hash >, true>&)’ is implicitly deleted because the default definition would be ill-formed: 1211 | struct _Hashtable_ebo_helper<_Nm, _Tp, true> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h:1211:12: error: use of deleted function ‘std::hash >::hash(const std::hash >&)’ /usr/include/c++/13/bits/functional_hash.h:102:12: note: ‘std::hash >::hash(const std::hash >&)’ is implicitly deleted because the default definition would be ill-formed: 102 | struct hash : __hash_enum<_Tp> | ^~~~ /usr/include/c++/13/bits/functional_hash.h:102:12: error: use of deleted function ‘constexpr std::__hash_enum, false>::__hash_enum(const std::__hash_enum, false>&)’ /usr/include/c++/13/bits/functional_hash.h:79:12: note: ‘constexpr std::__hash_enum, false>::__hash_enum(const std::__hash_enum, false>&)’ is implicitly declared as deleted because ‘std::__hash_enum, false>’ declares a move constructor or move assignment operator 79 | struct __hash_enum | ^~~~~~~~~~~ /usr/include/c++/13/bits/functional_hash.h:102:12: error: ‘std::__hash_enum<_Tp, >::~__hash_enum() [with _Tp = std::__cxx11::basic_string; bool = false]’ is private within this context 102 | struct hash : __hash_enum<_Tp> | ^~~~ /usr/include/c++/13/bits/functional_hash.h:84:7: note: declared private here 84 | ~__hash_enum(); | ^ /usr/include/c++/13/bits/hashtable_policy.h:1211:12: error: use of deleted function ‘std::hash >::~hash()’ 1211 | struct _Hashtable_ebo_helper<_Nm, _Tp, true> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h:1275:12: error: use of deleted function ‘std::__detail::_Hashtable_ebo_helper<1, std::hash >, true>::~_Hashtable_ebo_helper()’ 1275 | struct _Hash_code_base | ^~~~~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h:1667:12: error: use of deleted function ‘std::__detail::_Hash_code_base, std::pair, int>, std::__detail::_Select1st, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, true>::~_Hash_code_base()’ 1667 | struct _Hashtable_base | ^~~~~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable.h:1494:45: error: use of deleted function ‘std::__detail::_Hashtable_base, std::pair, int>, std::__detail::_Select1st, std::equal_to >, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits >::~_Hashtable_base()’ 1494 | _M_rehash_policy(__ht._M_rehash_policy) | ^ /usr/include/c++/13/bits/hashtable.h: In instantiation of ‘void std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_M_move_assign(std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>&&, std::true_type) [with _Key = std::__cxx11::basic_string; _Value = std::pair, int>; _Alloc = std::allocator, int> >; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to >; _Hash = std::hash >; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits; std::true_type = std::integral_constant]’: /usr/include/c++/13/bits/hashtable.h:592:16: required from ‘std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>& std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::operator=(std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>&&) [with _Key = std::__cxx11::basic_string; _Value = std::pair, int>; _Alloc = std::allocator, int> >; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to >; _Hash = std::hash >; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits]’ /usr/include/c++/13/bits/unordered_map.h:283:7: required from here /usr/include/c++/13/bits/hashtable.h:1415:34: error: use of deleted function ‘std::__detail::_Hashtable_base, std::pair, int>, std::__detail::_Select1st, std::equal_to >, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits >& std::__detail::_Hashtable_base, std::pair, int>, std::__detail::_Select1st, std::equal_to >, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits >::operator=(std::__detail::_Hashtable_base, std::pair, int>, std::__detail::_Select1st, std::equal_to >, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits >&&)’ 1415 | __hashtable_base::operator=(std::move(__ht)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h:1667:12: note: ‘std::__detail::_Hashtable_base, std::pair, int>, std::__detail::_Select1st, std::equal_to >, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits >& std::__detail::_Hashtable_base, std::pair, int>, std::__detail::_Select1st, std::equal_to >, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits >::operator=(std::__detail::_Hashtable_base, std::pair, int>, std::__detail::_Select1st, std::equal_to >, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits >&&)’ is implicitly deleted because the default definition would be ill-formed: 1667 | struct _Hashtable_base | ^~~~~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h:1667:12: error: use of deleted function ‘std::__detail::_Hash_code_base, std::pair, int>, std::__detail::_Select1st, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, true>& std::__detail::_Hash_code_base, std::pair, int>, std::__detail::_Select1st, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, true>::operator=(std::__detail::_Hash_code_base, std::pair, int>, std::__detail::_Select1st, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, true>&&)’ /usr/include/c++/13/bits/hashtable_policy.h:1275:12: note: ‘std::__detail::_Hash_code_base, std::pair, int>, std::__detail::_Select1st, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, true>& std::__detail::_Hash_code_base, std::pair, int>, std::__detail::_Select1st, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, true>::operator=(std::__detail::_Hash_code_base, std::pair, int>, std::__detail::_Select1st, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, true>&&)’ is implicitly deleted because the default definition would be ill-formed: 1275 | struct _Hash_code_base | ^~~~~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h:1275:12: error: use of deleted function ‘std::__detail::_Hashtable_ebo_helper<1, std::hash >, true>& std::__detail::_Hashtable_ebo_helper<1, std::hash >, true>::operator=(std::__detail::_Hashtable_ebo_helper<1, std::hash >, true>&&)’ /usr/include/c++/13/bits/hashtable_policy.h:1211:12: note: ‘std::__detail::_Hashtable_ebo_helper<1, std::hash >, true>& std::__detail::_Hashtable_ebo_helper<1, std::hash >, true>::operator=(std::__detail::_Hashtable_ebo_helper<1, std::hash >, true>&&)’ is implicitly deleted because the default definition would be ill-formed: 1211 | struct _Hashtable_ebo_helper<_Nm, _Tp, true> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h:1211:12: error: use of deleted function ‘std::hash >& std::hash >::operator=(std::hash >&&)’ /usr/include/c++/13/bits/functional_hash.h:102:12: note: ‘std::hash >& std::hash >::operator=(std::hash >&&)’ is implicitly deleted because the default definition would be ill-formed: 102 | struct hash : __hash_enum<_Tp> | ^~~~ /usr/include/c++/13/bits/functional_hash.h:102:12: error: use of deleted function ‘constexpr std::__hash_enum, false>& std::__hash_enum, false>::operator=(const std::__hash_enum, false>&)’ /usr/include/c++/13/bits/functional_hash.h:79:12: note: ‘constexpr std::__hash_enum, false>& std::__hash_enum, false>::operator=(const std::__hash_enum, false>&)’ is implicitly declared as deleted because ‘std::__hash_enum, false>’ declares a move constructor or move assignment operator 79 | struct __hash_enum | ^~~~~~~~~~~ /usr/include/c++/13/bits/stl_function.h: In instantiation of ‘constexpr bool std::less<_Tp>::operator()(const _Tp&, const _Tp&) const [with _Tp = std::__cxx11::basic_string]’: /usr/include/c++/13/bits/stl_tree.h:2221:33: required from ‘std::pair std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_get_insert_hint_unique_pos(const_iterator, const key_type&) [with _Key = std::__cxx11::basic_string; _Val = std::pair, const _drmModeProperty*>; _KeyOfValue = std::_Select1st, const _drmModeProperty*> >; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >; const_iterator = std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::const_iterator; key_type = std::__cxx11::basic_string]’ /usr/include/c++/13/bits/stl_tree.h:2281:4: required from ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_insert_unique_(const_iterator, _Arg&&, _NodeGen&) [with _Arg = const std::pair, const _drmModeProperty*>&; _NodeGen = std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::_Reuse_or_alloc_node; _Key = std::__cxx11::basic_string; _Val = std::pair, const _drmModeProperty*>; _KeyOfValue = std::_Select1st, const _drmModeProperty*> >; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >; iterator = std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::iterator; const_iterator = std::_Rb_tree, std::pair, const _drmModeProperty*>, std::_Select1st, const _drmModeProperty*> >, std::less >, std::allocator, const _drmModeProperty*> > >::const_iterator]’ /usr/include/c++/13/bits/stl_tree.h:1758:21: required from ‘void std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_assign_unique(_Iterator, _Iterator) [with _Iterator = const std::pair, const _drmModeProperty*>*; _Key = std::__cxx11::basic_string; _Val = std::pair, const _drmModeProperty*>; _KeyOfValue = std::_Select1st, const _drmModeProperty*> >; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >]’ /usr/include/c++/13/bits/stl_map.h:351:23: required from ‘std::map<_Key, _Tp, _Compare, _Alloc>& std::map<_Key, _Tp, _Compare, _Alloc>::operator=(std::initializer_list >) [with _Key = std::__cxx11::basic_string; _Tp = const _drmModeProperty*; _Compare = std::less >; _Alloc = std::allocator, const _drmModeProperty*> >]’ ../src/drm.cpp:276:9: required from here /usr/include/c++/13/bits/stl_function.h:408:20: error: no match for ‘operator<’ (operand types are ‘const std::__cxx11::basic_string’ and ‘const std::__cxx11::basic_string’) 408 | { return __x < __y; } | ~~~~^~~~~ /usr/include/c++/13/bits/stl_pair.h:835:5: note: candidate: ‘template constexpr bool std::operator<(const pair<_T1, _T2>&, const pair<_T1, _T2>&)’ 835 | operator<(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) | ^~~~~~~~ /usr/include/c++/13/bits/stl_pair.h:835:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_function.h:408:20: note: ‘const std::__cxx11::basic_string’ is not derived from ‘const std::pair<_T1, _T2>’ 408 | { return __x < __y; } | ~~~~^~~~~ In file included from /usr/include/c++/13/bits/stl_algobase.h:67, from /usr/include/c++/13/bits/stl_uninitialized.h:63, from /usr/include/c++/13/memory:69: /usr/include/c++/13/bits/stl_iterator.h:455:5: note: candidate: ‘template bool std::operator<(const reverse_iterator<_Iterator>&, const reverse_iterator<_Iterator>&)’ 455 | operator<(const reverse_iterator<_Iterator>& __x, | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator.h:455:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_function.h:408:20: note: ‘const std::__cxx11::basic_string’ is not derived from ‘const std::reverse_iterator<_Iterator>’ 408 | { return __x < __y; } | ~~~~^~~~~ /usr/include/c++/13/bits/stl_iterator.h:500:5: note: candidate: ‘template bool std::operator<(const reverse_iterator<_Iterator>&, const reverse_iterator<_IteratorR>&)’ 500 | operator<(const reverse_iterator<_IteratorL>& __x, | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator.h:500:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_function.h:408:20: note: ‘const std::__cxx11::basic_string’ is not derived from ‘const std::reverse_iterator<_Iterator>’ 408 | { return __x < __y; } | ~~~~^~~~~ /usr/include/c++/13/bits/stl_iterator.h:1705:5: note: candidate: ‘template bool std::operator<(const move_iterator<_IteratorL>&, const move_iterator<_IteratorR>&)’ 1705 | operator<(const move_iterator<_IteratorL>& __x, | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator.h:1705:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_function.h:408:20: note: ‘const std::__cxx11::basic_string’ is not derived from ‘const std::move_iterator<_IteratorL>’ 408 | { return __x < __y; } | ~~~~^~~~~ /usr/include/c++/13/bits/stl_iterator.h:1770:5: note: candidate: ‘template bool std::operator<(const move_iterator<_IteratorL>&, const move_iterator<_IteratorL>&)’ 1770 | operator<(const move_iterator<_Iterator>& __x, | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator.h:1770:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_function.h:408:20: note: ‘const std::__cxx11::basic_string’ is not derived from ‘const std::move_iterator<_IteratorL>’ 408 | { return __x < __y; } | ~~~~^~~~~ In file included from /usr/include/c++/13/bits/unique_ptr.h:36: /usr/include/c++/13/tuple:1947:5: note: candidate: ‘template constexpr bool std::operator<(const tuple<_Elements ...>&, const tuple<_Types ...>&)’ 1947 | operator<(const tuple<_TElements...>& __t, | ^~~~~~~~ /usr/include/c++/13/tuple:1947:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_function.h:408:20: note: ‘const std::__cxx11::basic_string’ is not derived from ‘const std::tuple<_Elements ...>’ 408 | { return __x < __y; } | ~~~~^~~~~ In file included from /usr/include/c++/13/map:64: /usr/include/c++/13/bits/stl_multimap.h:1172:5: note: candidate: ‘template bool std::operator<(const multimap<_Key, _Tp, _Compare, _Alloc>&, const multimap<_Key, _Tp, _Compare, _Alloc>&)’ 1172 | operator<(const multimap<_Key, _Tp, _Compare, _Alloc>& __x, | ^~~~~~~~ /usr/include/c++/13/bits/stl_multimap.h:1172:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_function.h:408:20: note: ‘const std::__cxx11::basic_string’ is not derived from ‘const std::multimap<_Key, _Tp, _Compare, _Alloc>’ 408 | { return __x < __y; } | ~~~~^~~~~ /usr/include/c++/13/bits/stl_map.h:1551:5: note: candidate: ‘template bool std::operator<(const map<_Key, _Tp, _Compare, _Alloc>&, const map<_Key, _Tp, _Compare, _Alloc>&)’ 1551 | operator<(const map<_Key, _Tp, _Compare, _Alloc>& __x, | ^~~~~~~~ /usr/include/c++/13/bits/stl_map.h:1551:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_function.h:408:20: note: ‘const std::__cxx11::basic_string’ is not derived from ‘const std::map<_Key, _Tp, _Compare, _Alloc>’ 408 | { return __x < __y; } | ~~~~^~~~~ In file included from /usr/include/c++/13/vector:66, from ../src/rendervulkan.hpp:51: /usr/include/c++/13/bits/stl_vector.h:2076:5: note: candidate: ‘template bool std::operator<(const vector<_Tp, _Alloc>&, const vector<_Tp, _Alloc>&)’ 2076 | operator<(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) | ^~~~~~~~ /usr/include/c++/13/bits/stl_vector.h:2076:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_function.h:408:20: note: ‘const std::__cxx11::basic_string’ is not derived from ‘const std::vector<_Tp, _Alloc>’ 408 | { return __x < __y; } | ~~~~^~~~~ /usr/include/c++/13/bits/shared_ptr.h:626:5: note: candidate: ‘template bool std::operator<(nullptr_t, const shared_ptr<_Tp>&)’ 626 | operator<(nullptr_t, const shared_ptr<_Tp>& __a) noexcept | ^~~~~~~~ /usr/include/c++/13/bits/shared_ptr.h:626:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_function.h:408:20: note: ‘const std::__cxx11::basic_string’ is not derived from ‘const std::shared_ptr<_Tp>’ 408 | { return __x < __y; } | ~~~~^~~~~ /usr/include/c++/13/bits/shared_ptr.h:617:5: note: candidate: ‘template bool std::operator<(const shared_ptr<_Tp>&, nullptr_t)’ 617 | operator<(const shared_ptr<_Tp>& __a, nullptr_t) noexcept | ^~~~~~~~ /usr/include/c++/13/bits/shared_ptr.h:617:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_function.h:408:20: note: ‘const std::__cxx11::basic_string’ is not derived from ‘const std::shared_ptr<_Tp>’ 408 | { return __x < __y; } | ~~~~^~~~~ /usr/include/c++/13/bits/shared_ptr.h:606:5: note: candidate: ‘template bool std::operator<(const shared_ptr<_Tp>&, const shared_ptr<_Tp>&)’ 606 | operator<(const shared_ptr<_Tp>& __a, const shared_ptr<_Up>& __b) noexcept | ^~~~~~~~ /usr/include/c++/13/bits/shared_ptr.h:606:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_function.h:408:20: note: ‘const std::__cxx11::basic_string’ is not derived from ‘const std::shared_ptr<_Tp>’ 408 | { return __x < __y; } | ~~~~^~~~~ In file included from /usr/include/c++/13/bits/shared_ptr.h:53: /usr/include/c++/13/bits/shared_ptr_base.h:1859:5: note: candidate: ‘template bool std::operator<(nullptr_t, const __shared_ptr<_Tp, _Lp>&)’ 1859 | operator<(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept | ^~~~~~~~ /usr/include/c++/13/bits/shared_ptr_base.h:1859:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_function.h:408:20: note: ‘const std::__cxx11::basic_string’ is not derived from ‘const std::__shared_ptr<_Tp, _Lp>’ 408 | { return __x < __y; } | ~~~~^~~~~ /usr/include/c++/13/bits/shared_ptr_base.h:1851:5: note: candidate: ‘template bool std::operator<(const __shared_ptr<_Tp, _Lp>&, nullptr_t)’ 1851 | operator<(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept | ^~~~~~~~ /usr/include/c++/13/bits/shared_ptr_base.h:1851:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_function.h:408:20: note: ‘const std::__cxx11::basic_string’ is not derived from ‘const std::__shared_ptr<_Tp, _Lp>’ 408 | { return __x < __y; } | ~~~~^~~~~ /usr/include/c++/13/bits/shared_ptr_base.h:1840:5: note: candidate: ‘template bool std::operator<(const __shared_ptr<_Tp1, _Lp>&, const __shared_ptr<_Tp2, _Lp>&)’ 1840 | operator<(const __shared_ptr<_Tp, _Lp>& __a, | ^~~~~~~~ /usr/include/c++/13/bits/shared_ptr_base.h:1840:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_function.h:408:20: note: ‘const std::__cxx11::basic_string’ is not derived from ‘const std::__shared_ptr<_Tp1, _Lp>’ 408 | { return __x < __y; } | ~~~~^~~~~ /usr/include/c++/13/bits/unique_ptr.h:900:5: note: candidate: ‘template bool std::operator<(nullptr_t, const unique_ptr<_Tp, _Dp>&)’ 900 | operator<(nullptr_t, const unique_ptr<_Tp, _Dp>& __x) | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:900:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_function.h:408:20: note: ‘const std::__cxx11::basic_string’ is not derived from ‘const std::unique_ptr<_Tp, _Dp>’ 408 | { return __x < __y; } | ~~~~^~~~~ /usr/include/c++/13/bits/unique_ptr.h:890:5: note: candidate: ‘template bool std::operator<(const unique_ptr<_Tp, _Dp>&, nullptr_t)’ 890 | operator<(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:890:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_function.h:408:20: note: ‘const std::__cxx11::basic_string’ is not derived from ‘const std::unique_ptr<_Tp, _Dp>’ 408 | { return __x < __y; } | ~~~~^~~~~ /usr/include/c++/13/bits/unique_ptr.h:877:5: note: candidate: ‘template bool std::operator<(const unique_ptr<_Tp, _Dp>&, const unique_ptr<_Up, _Ep>&)’ 877 | operator<(const unique_ptr<_Tp, _Dp>& __x, | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:877:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_function.h:408:20: note: ‘const std::__cxx11::basic_string’ is not derived from ‘const std::unique_ptr<_Tp, _Dp>’ 408 | { return __x < __y; } | ~~~~^~~~~ In file included from ../src/drm.cpp:32: /usr/include/c++/13/thread:75:3: note: candidate: ‘bool std::operator<(thread::id, thread::id)’ 75 | operator<(thread::id __x, thread::id __y) noexcept | ^~~~~~~~ /usr/include/c++/13/thread:75:24: note: no known conversion for argument 1 from ‘const std::__cxx11::basic_string’ to ‘std::thread::id’ 75 | operator<(thread::id __x, thread::id __y) noexcept | ~~~~~~~~~~~^~~ ../src/drm.cpp: At global scope: ../src/drm.cpp:112:20: warning: ‘const char* get_enum_name(const drmModePropertyRes*, uint64_t)’ defined but not used [-Wunused-function] 112 | static const char *get_enum_name(const drmModePropertyRes *prop, uint64_t value) | ^~~~~~~~~~~~~ [24/34] g++ -Igamescope.p -I. -I.. -Iprotocol -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/pixman-1 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/stb -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c++14 -DWLR_USE_UNSTABLE -Wno-unused-parameter -Wno-missing-field-initializers -Wno-invalid-offsetof -Wno-unused-const-variable -DHAVE_PIPEWIRE=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_REENTRANT -pthread -MD -MQ gamescope.p/src_wlserver.cpp.o -MF gamescope.p/src_wlserver.cpp.o.d -o gamescope.p/src_wlserver.cpp.o -c ../src/wlserver.cpp [25/34] g++ -Igamescope.p -I. -I.. -Iprotocol -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/pixman-1 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/stb -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c++14 -DWLR_USE_UNSTABLE -Wno-unused-parameter -Wno-missing-field-initializers -Wno-invalid-offsetof -Wno-unused-const-variable -DHAVE_PIPEWIRE=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_REENTRANT -pthread -MD -MQ gamescope.p/src_steamcompmgr.cpp.o -MF gamescope.p/src_steamcompmgr.cpp.o.d -o gamescope.p/src_steamcompmgr.cpp.o -c ../src/steamcompmgr.cpp ../src/steamcompmgr.cpp: In function ‘void update_runtime_info()’: ../src/steamcompmgr.cpp:3827:15: warning: ignoring return value of ‘ssize_t pwrite(int, const void*, size_t, __off64_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3827 | pwrite( g_nRuntimeInfoFd, &limiter_enabled, sizeof( limiter_enabled ), 0 ); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/steamcompmgr.cpp: In function ‘void spawn_client(char**)’: ../src/steamcompmgr.cpp:4786:29: warning: ignoring return value of ‘int nice(int)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 4786 | nice( g_nOldNice - g_nNewNice ); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/steamcompmgr.cpp: In function ‘void determine_and_apply_focus(xwayland_ctx_t*, std::vector&)’: ../src/steamcompmgr.cpp:2556:31: warning: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2556 | system( buf ); | ~~~~~~^~~~~~~ ../src/steamcompmgr.cpp: In function ‘imageWaitThreadMain()’: ../src/steamcompmgr.cpp:540:32: warning: ‘frametime’ may be used uninitialized [-Wmaybe-uninitialized] 540 | mangoapp_update( frametime, frametime, uint64_t(~0ull) ); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/steamcompmgr.cpp:523:18: note: ‘frametime’ was declared here 523 | uint64_t frametime; | ^~~~~~~~~ ../src/steamcompmgr.cpp: In function ‘get_appid_from_pid(int)’: ../src/steamcompmgr.cpp:3254:36: warning: ‘lastParens’ may be used uninitialized [-Wmaybe-uninitialized] 3254 | sscanf( lastParens + 1, " %c %d", &state, &parent_pid ); | ~~~~~~~~~~~^~~ ../src/steamcompmgr.cpp:3235:23: note: ‘lastParens’ was declared here 3235 | char *lastParens; | ^~~~~~~~~~ ninja: build stopped: subcommand failed. INFO: autodetecting backend as ninja INFO: calculating backend command to run: /usr/bin/ninja -C /builddir/build/BUILD/gamescope-3.11.49/redhat-linux-build -j 4 -v error: Bad exit status from /var/tmp/rpm-tmp.xtMKSK (%build) Bad exit status from /var/tmp/rpm-tmp.xtMKSK (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/gamescope.spec