[libsystemd] build error on x64-linux
Package: libsystemd:x64-linux@257.8#1
**Host Environment**
- Host: x64-linux
- Compiler: GNU 16.1.1
- CMake Version: 4.3.3
- vcpkg-tool version: 2026-03-04-4b3e4c276b5b87a649e66341e11553e8c577459c
vcpkg-scripts version: b472291f29 2026-03-20 (3 months ago)
**To Reproduce**
`vcpkg install --x-feature=movies --x-feature=animview --x-feature=updatecheck --x-feature=midi --x-feature=catch2`
**Failure logs**
```
-- Found Python version '3.14.5 at /usr/bin/python3'
-- Using meson: /home/stephen/projects/vcpkg/downloads/tools/meson-1.9.0-4452e3/meson.py
-- Using cached systemd-systemd-v257.8.tar.gz
-- Cleaning sources at /home/stephen/projects/vcpkg/buildtrees/libsystemd/src/v257.8-231b365f90.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /home/stephen/projects/vcpkg/downloads/systemd-systemd-v257.8.tar.gz
-- Applying patch disable-warning-nonnull.patch
-- Applying patch only-libsystemd.patch
-- Applying patch pkgconfig.patch
-- Using source at /home/stephen/projects/vcpkg/buildtrees/libsystemd/src/v257.8-231b365f90.clean
-- Setting up python virtual environment...
-- Installing python packages: jinja2
-- Setting up python virtual environment... finished.
-- Configuring x64-linux-dbg
-- Getting CMake variables for x64-linux
-- Loading CMake variables from /home/stephen/projects/vcpkg/buildtrees/libsystemd/cmake-get-vars_C_CXX-x64-linux.cmake.log
-- Configuring x64-linux-dbg done
-- Configuring x64-linux-rel
-- Configuring x64-linux-rel done
-- Package x64-linux-dbg
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
Command failed: /usr/bin/ninja install -v
Working Directory: /home/stephen/projects/vcpkg/buildtrees/libsystemd/x64-linux-dbg
Error code: 1
See logs for more information:
/home/stephen/projects/vcpkg/buildtrees/libsystemd/package-x64-linux-dbg-out.log
Call Stack (most recent call first):
/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/share/vcpkg-tool-meson/vcpkg_install_meson.cmake:33 (vcpkg_execute_required_process)
/home/stephen/.cache/vcpkg/registries/git-trees/9a7380e250b16232a48738c3e0798f07006c24c8/portfile.cmake:75 (vcpkg_install_meson)
scripts/ports.cmake:206 (include)
```
<details><summary>/home/stephen/projects/vcpkg/buildtrees/libsystemd/package-x64-linux-dbg-out.log</summary>
```
[1/206] /home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/tools/gperf/gperf ../src/v257.8-231b365f90.clean/src/basic/filesystems-gperf.gperf --output-file src/basic/filesystems-gperf.h
[2/206] /home/stephen/projects/vcpkg/buildtrees/libsystemd/x64-linux-venv/bin/python /home/stephen/projects/vcpkg/downloads/tools/meson-1.9.0-4452e3/meson.py --internal vcstagger ../src/v257.8-231b365f90.clean/src/version/version.h.in version.h 257.8 /home/stephen/projects/vcpkg/buildtrees/libsystemd/src/v257.8-231b365f90.clean @VCS_TAG@ '(.*)' /home/stephen/projects/vcpkg/buildtrees/libsystemd/src/v257.8-231b365f90.clean/tools/vcs-tag.sh release
[3/206] /home/stephen/projects/vcpkg/buildtrees/libsystemd/x64-linux-venv/bin/python /home/stephen/projects/vcpkg/downloads/tools/meson-1.9.0-4452e3/meson.py --internal exe --capture src/basic/cap-list.txt -- /home/stephen/projects/vcpkg/buildtrees/libsystemd/src/v257.8-231b365f90.clean/src/basic/generate-cap-list.sh '/usr/bin/cc -fPIC -g -fPIC -g -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/include -E' config.h ../src/v257.8-231b365f90.clean/src/basic/missing_capability.h
[4/206] /home/stephen/projects/vcpkg/buildtrees/libsystemd/x64-linux-venv/bin/python /home/stephen/projects/vcpkg/downloads/tools/meson-1.9.0-4452e3/meson.py --internal exe --capture src/basic/filesystem-list.h -- /home/stephen/projects/vcpkg/buildtrees/libsystemd/src/v257.8-231b365f90.clean/src/basic/generate-filesystem-list.py ../src/v257.8-231b365f90.clean/src/basic/filesystems-gperf.gperf
[5/206] /home/stephen/projects/vcpkg/buildtrees/libsystemd/x64-linux-venv/bin/python /home/stephen/projects/vcpkg/downloads/tools/meson-1.9.0-4452e3/meson.py --internal exe --capture src/basic/errno-list.txt -- /home/stephen/projects/vcpkg/buildtrees/libsystemd/src/v257.8-231b365f90.clean/src/basic/generate-errno-list.sh '/usr/bin/cc -fPIC -g -fPIC -g -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/include -E'
[6/206] /home/stephen/projects/vcpkg/buildtrees/libsystemd/x64-linux-venv/bin/python /home/stephen/projects/vcpkg/downloads/tools/meson-1.9.0-4452e3/meson.py --internal exe --capture src/basic/af-list.txt -- /home/stephen/projects/vcpkg/buildtrees/libsystemd/src/v257.8-231b365f90.clean/src/basic/generate-af-list.sh '/usr/bin/cc -fPIC -g -fPIC -g -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/include -E' config.h ../src/v257.8-231b365f90.clean/src/basic/missing_socket.h
[7/206] /home/stephen/projects/vcpkg/buildtrees/libsystemd/x64-linux-venv/bin/python /home/stephen/projects/vcpkg/downloads/tools/meson-1.9.0-4452e3/meson.py --internal exe --capture src/basic/arphrd-list.txt -- /home/stephen/projects/vcpkg/buildtrees/libsystemd/src/v257.8-231b365f90.clean/src/basic/generate-arphrd-list.sh '/usr/bin/cc -fPIC -g -fPIC -g -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/include -E' ../src/v257.8-231b365f90.clean/src/basic/linux/if_arp.h config.h
[8/206] /home/stephen/projects/vcpkg/buildtrees/libsystemd/x64-linux-venv/bin/python /home/stephen/projects/vcpkg/downloads/tools/meson-1.9.0-4452e3/meson.py --internal exe --capture src/libsystemd/audit_type-list.txt -- /home/stephen/projects/vcpkg/buildtrees/libsystemd/src/v257.8-231b365f90.clean/src/libsystemd/sd-journal/generate-audit_type-list.sh '/usr/bin/cc -fPIC -g -fPIC -g -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/include -E' config.h ../src/v257.8-231b365f90.clean/src/basic/missing_audit.h linux/audit.h
[9/206] /home/stephen/projects/vcpkg/buildtrees/libsystemd/x64-linux-venv/bin/python /home/stephen/projects/vcpkg/downloads/tools/meson-1.9.0-4452e3/meson.py --internal exe --capture src/basic/filesystem-switch-case.h -- /home/stephen/projects/vcpkg/buildtrees/libsystemd/src/v257.8-231b365f90.clean/src/basic/generate-filesystem-switch-case.py ../src/v257.8-231b365f90.clean/src/basic/filesystems-gperf.gperf
[10/206] /home/stephen/projects/vcpkg/buildtrees/libsystemd/src/v257.8-231b365f90.clean/tools/meson-render-jinja2.py config.h ../src/v257.8-231b365f90.clean/src/libsystemd/libsystemd.pc.in src/libsystemd/libsystemd.pc
[11/206] /home/stephen/projects/vcpkg/buildtrees/libsystemd/x64-linux-venv/bin/python /home/stephen/projects/vcpkg/downloads/tools/meson-1.9.0-4452e3/meson.py --internal exe --capture src/basic/cap-to-name.h -- /usr/bin/awk -f ../src/v257.8-231b365f90.clean/src/basic/cap-to-name.awk src/basic/cap-list.txt
[12/206] /home/stephen/projects/vcpkg/buildtrees/libsystemd/x64-linux-venv/bin/python /home/stephen/projects/vcpkg/downloads/tools/meson-1.9.0-4452e3/meson.py --internal exe --capture src/basic/cap-from-name.gperf -- /home/stephen/projects/vcpkg/buildtrees/libsystemd/src/v257.8-231b365f90.clean/tools/generate-gperfs.py capability '' src/basic/cap-list.txt
[13/206] /home/stephen/projects/vcpkg/buildtrees/libsystemd/x64-linux-venv/bin/python /home/stephen/projects/vcpkg/downloads/tools/meson-1.9.0-4452e3/meson.py --internal exe --capture src/basic/af-from-name.gperf -- /home/stephen/projects/vcpkg/buildtrees/libsystemd/src/v257.8-231b365f90.clean/tools/generate-gperfs.py af '' src/basic/af-list.txt
[14/206] /home/stephen/projects/vcpkg/buildtrees/libsystemd/x64-linux-venv/bin/python /home/stephen/projects/vcpkg/downloads/tools/meson-1.9.0-4452e3/meson.py --internal exe --capture src/libsystemd/audit_type-to-name.h -- /usr/bin/awk -f ../src/v257.8-231b365f90.clean/src/libsystemd/sd-journal/audit_type-to-name.awk src/libsystemd/audit_type-list.txt
[15/206] /home/stephen/projects/vcpkg/buildtrees/libsystemd/x64-linux-venv/bin/python /home/stephen/projects/vcpkg/downloads/tools/meson-1.9.0-4452e3/meson.py --internal exe --capture src/basic/errno-from-name.gperf -- /home/stephen/projects/vcpkg/buildtrees/libsystemd/src/v257.8-231b365f90.clean/tools/generate-gperfs.py errno '' src/basic/errno-list.txt
[16/206] /home/stephen/projects/vcpkg/buildtrees/libsystemd/x64-linux-venv/bin/python /home/stephen/projects/vcpkg/downloads/tools/meson-1.9.0-4452e3/meson.py --internal exe --capture src/basic/af-to-name.h -- /usr/bin/awk -f ../src/v257.8-231b365f90.clean/src/basic/af-to-name.awk src/basic/af-list.txt
[17/206] /home/stephen/projects/vcpkg/buildtrees/libsystemd/x64-linux-venv/bin/python /home/stephen/projects/vcpkg/downloads/tools/meson-1.9.0-4452e3/meson.py --internal exe --capture src/basic/errno-to-name.h -- /usr/bin/awk -f ../src/v257.8-231b365f90.clean/src/basic/errno-to-name.awk src/basic/errno-list.txt
[18/206] /home/stephen/projects/vcpkg/buildtrees/libsystemd/x64-linux-venv/bin/python /home/stephen/projects/vcpkg/downloads/tools/meson-1.9.0-4452e3/meson.py --internal exe --capture src/basic/arphrd-from-name.gperf -- /home/stephen/projects/vcpkg/buildtrees/libsystemd/src/v257.8-231b365f90.clean/tools/generate-gperfs.py arphrd ARPHRD_ src/basic/arphrd-list.txt
[19/206] /home/stephen/projects/vcpkg/buildtrees/libsystemd/x64-linux-venv/bin/python /home/stephen/projects/vcpkg/downloads/tools/meson-1.9.0-4452e3/meson.py --internal exe --capture src/basic/arphrd-to-name.h -- /usr/bin/awk -f ../src/v257.8-231b365f90.clean/src/basic/arphrd-to-name.awk src/basic/arphrd-list.txt
[20/206] /home/stephen/projects/vcpkg/buildtrees/libsystemd/x64-linux-venv/bin/python /home/stephen/projects/vcpkg/downloads/tools/meson-1.9.0-4452e3/meson.py --internal exe --capture src/basic/cap-from-name.h -- /home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/tools/gperf/gperf -L ANSI-C -t --ignore-case -N lookup_capability -H hash_capability_name -p -C src/basic/cap-from-name.gperf
[21/206] /home/stephen/projects/vcpkg/buildtrees/libsystemd/x64-linux-venv/bin/python /home/stephen/projects/vcpkg/downloads/tools/meson-1.9.0-4452e3/meson.py --internal exe --capture src/basic/af-from-name.h -- /home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/tools/gperf/gperf -L ANSI-C -t --ignore-case -N lookup_af -H hash_af_name -p -C src/basic/af-from-name.gperf
[22/206] /home/stephen/projects/vcpkg/buildtrees/libsystemd/x64-linux-venv/bin/python /home/stephen/projects/vcpkg/downloads/tools/meson-1.9.0-4452e3/meson.py --internal exe --capture src/basic/errno-from-name.h -- /home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/tools/gperf/gperf -L ANSI-C -t --ignore-case -N lookup_errno -H hash_errno_name -p -C src/basic/errno-from-name.gperf
[23/206] /home/stephen/projects/vcpkg/buildtrees/libsystemd/x64-linux-venv/bin/python /home/stephen/projects/vcpkg/downloads/tools/meson-1.9.0-4452e3/meson.py --internal exe --capture src/basic/arphrd-from-name.h -- /home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/tools/gperf/gperf -L ANSI-C -t --ignore-case -N lookup_arphrd -H hash_arphrd_name -p -C src/basic/arphrd-from-name.gperf
[24/206] /usr/bin/cc -fPIC -g -Ilibsystemd.a.p -I. -I../src/v257.8-231b365f90.clean -Isrc/basic -I../src/v257.8-231b365f90.clean/src/basic -Isrc/fundamental -I../src/v257.8-231b365f90.clean/src/fundamental -Isrc/systemd -I../src/v257.8-231b365f90.clean/src/systemd -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-bus -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-device -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-event -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-hwdb -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-id128 -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-journal -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-json -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-netlink -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-network -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-path -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-resolve -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-varlink -Isrc/libsystemd -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/debug/lib/pkgconfig/../../../include -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/debug/lib/pkgconfig/../../../include/libmount -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/debug/lib/pkgconfig/../../../include/blkid -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -g -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -fPIC -g -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -include config.h -pthread -DLZMA_API_STATIC -fvisibility=default -MD -MQ libsystemd.a.p/src_libsystemd_sd-journal_audit-type.c.o -MF libsystemd.a.p/src_libsystemd_sd-journal_audit-type.c.o.d -o libsystemd.a.p/src_libsystemd_sd-journal_audit-type.c.o -c ../src/v257.8-231b365f90.clean/src/libsystemd/sd-journal/audit-type.c
[25/206] /usr/bin/cc -fPIC -g -Ilibsystemd.a.p -I. -I../src/v257.8-231b365f90.clean -Isrc/basic -I../src/v257.8-231b365f90.clean/src/basic -Isrc/fundamental -I../src/v257.8-231b365f90.clean/src/fundamental -Isrc/systemd -I../src/v257.8-231b365f90.clean/src/systemd -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-bus -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-device -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-event -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-hwdb -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-id128 -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-journal -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-json -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-netlink -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-network -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-path -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-resolve -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-varlink -Isrc/libsystemd -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/debug/lib/pkgconfig/../../../include -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/debug/lib/pkgconfig/../../../include/libmount -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/debug/lib/pkgconfig/../../../include/blkid -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -g -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -fPIC -g -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -include config.h -pthread -DLZMA_API_STATIC -fvisibility=default -MD -MQ libsystemd.a.p/src_libsystemd_sd-bus_bus-common-errors.c.o -MF libsystemd.a.p/src_libsystemd_sd-bus_bus-common-errors.c.o.d -o libsystemd.a.p/src_libsystemd_sd-bus_bus-common-errors.c.o -c ../src/v257.8-231b365f90.clean/src/libsystemd/sd-bus/bus-common-errors.c
[26/206] /usr/bin/cc -fPIC -g -Ilibsystemd.a.p -I. -I../src/v257.8-231b365f90.clean -Isrc/basic -I../src/v257.8-231b365f90.clean/src/basic -Isrc/fundamental -I../src/v257.8-231b365f90.clean/src/fundamental -Isrc/systemd -I../src/v257.8-231b365f90.clean/src/systemd -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-bus -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-device -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-event -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-hwdb -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-id128 -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-journal -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-json -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-netlink -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-network -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-path -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-resolve -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-varlink -Isrc/libsystemd -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/debug/lib/pkgconfig/../../../include -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/debug/lib/pkgconfig/../../../include/libmount -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/debug/lib/pkgconfig/../../../include/blkid -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -g -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -fPIC -g -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -include config.h -pthread -DLZMA_API_STATIC -fvisibility=default -MD -MQ libsystemd.a.p/src_libsystemd_sd-event_event-util.c.o -MF libsystemd.a.p/src_libsystemd_sd-event_event-util.c.o.d -o libsystemd.a.p/src_libsystemd_sd-event_event-util.c.o -c ../src/v257.8-231b365f90.clean/src/libsystemd/sd-event/event-util.c
In file included from ../src/v257.8-231b365f90.clean/src/basic/siphash24.h:10,
from ../src/v257.8-231b365f90.clean/src/basic/hash-funcs.h:6,
from ../src/v257.8-231b365f90.clean/src/basic/hashmap.h:8,
from ../src/v257.8-231b365f90.clean/src/libsystemd/sd-event/event-source.h:10,
from ../src/v257.8-231b365f90.clean/src/libsystemd/sd-event/event-util.c:5:
../src/v257.8-231b365f90.clean/src/basic/string-util.h: In function ‘strstr_ptr’:
../src/v257.8-231b365f90.clean/src/basic/string-util.h:33:16: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
33 | return strstr(haystack, needle);
| ^~~~~~
...
Skipped 780 lines
...
In file included from ../src/v257.8-231b365f90.clean/src/basic/efivars.h:14,
from ../src/v257.8-231b365f90.clean/src/basic/efivars.c:15:
../src/v257.8-231b365f90.clean/src/basic/string-util.h: In function ‘strstr_ptr’:
../src/v257.8-231b365f90.clean/src/basic/string-util.h:33:16: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
33 | return strstr(haystack, needle);
| ^~~~~~
[110/206] /usr/bin/cc -fPIC -g -Ilibsystemd.a.p -I. -I../src/v257.8-231b365f90.clean -Isrc/basic -I../src/v257.8-231b365f90.clean/src/basic -Isrc/fundamental -I../src/v257.8-231b365f90.clean/src/fundamental -Isrc/systemd -I../src/v257.8-231b365f90.clean/src/systemd -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-bus -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-device -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-event -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-hwdb -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-id128 -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-journal -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-json -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-netlink -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-network -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-path -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-resolve -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-varlink -Isrc/libsystemd -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/debug/lib/pkgconfig/../../../include -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/debug/lib/pkgconfig/../../../include/libmount -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/debug/lib/pkgconfig/../../../include/blkid -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -g -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -fPIC -g -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -include config.h -pthread -DLZMA_API_STATIC -fvisibility=default -MD -MQ libsystemd.a.p/src_basic_extract-word.c.o -MF libsystemd.a.p/src_basic_extract-word.c.o.d -o libsystemd.a.p/src_basic_extract-word.c.o -c ../src/v257.8-231b365f90.clean/src/basic/extract-word.c
In file included from ../src/v257.8-231b365f90.clean/src/basic/escape.h:10,
from ../src/v257.8-231b365f90.clean/src/basic/extract-word.c:12:
../src/v257.8-231b365f90.clean/src/basic/string-util.h: In function ‘strstr_ptr’:
../src/v257.8-231b365f90.clean/src/basic/string-util.h:33:16: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
33 | return strstr(haystack, needle);
| ^~~~~~
[111/206] /usr/bin/cc -fPIC -g -Ilibsystemd.a.p -I. -I../src/v257.8-231b365f90.clean -Isrc/basic -I../src/v257.8-231b365f90.clean/src/basic -Isrc/fundamental -I../src/v257.8-231b365f90.clean/src/fundamental -Isrc/systemd -I../src/v257.8-231b365f90.clean/src/systemd -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-bus -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-device -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-event -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-hwdb -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-id128 -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-journal -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-json -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-netlink -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-network -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-path -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-resolve -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-varlink -Isrc/libsystemd -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/debug/lib/pkgconfig/../../../include -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/debug/lib/pkgconfig/../../../include/libmount -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/debug/lib/pkgconfig/../../../include/blkid -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -g -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -fPIC -g -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -include config.h -pthread -DLZMA_API_STATIC -fvisibility=default -MD -MQ libsystemd.a.p/src_basic_ether-addr-util.c.o -MF libsystemd.a.p/src_basic_ether-addr-util.c.o.d -o libsystemd.a.p/src_basic_ether-addr-util.c.o -c ../src/v257.8-231b365f90.clean/src/basic/ether-addr-util.c
In file included from ../src/v257.8-231b365f90.clean/src/basic/siphash24.h:10,
from ../src/v257.8-231b365f90.clean/src/basic/hash-funcs.h:6,
from ../src/v257.8-231b365f90.clean/src/basic/ether-addr-util.h:8,
from ../src/v257.8-231b365f90.clean/src/basic/ether-addr-util.c:9:
../src/v257.8-231b365f90.clean/src/basic/string-util.h: In function ‘strstr_ptr’:
../src/v257.8-231b365f90.clean/src/basic/string-util.h:33:16: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
33 | return strstr(haystack, needle);
| ^~~~~~
[112/206] /usr/bin/cc -fPIC -g -Ilibsystemd.a.p -I. -I../src/v257.8-231b365f90.clean -Isrc/basic -I../src/v257.8-231b365f90.clean/src/basic -Isrc/fundamental -I../src/v257.8-231b365f90.clean/src/fundamental -Isrc/systemd -I../src/v257.8-231b365f90.clean/src/systemd -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-bus -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-device -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-event -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-hwdb -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-id128 -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-journal -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-json -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-netlink -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-network -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-path -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-resolve -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-varlink -Isrc/libsystemd -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/debug/lib/pkgconfig/../../../include -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/debug/lib/pkgconfig/../../../include/libmount -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/debug/lib/pkgconfig/../../../include/blkid -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -g -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -fPIC -g -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -include config.h -pthread -DLZMA_API_STATIC -fvisibility=default -MD -MQ libsystemd.a.p/src_basic_compress.c.o -MF libsystemd.a.p/src_basic_compress.c.o.d -o libsystemd.a.p/src_basic_compress.c.o -c ../src/v257.8-231b365f90.clean/src/basic/compress.c
In file included from ../src/v257.8-231b365f90.clean/src/basic/string-table.h:12,
from ../src/v257.8-231b365f90.clean/src/basic/compress.c:27:
../src/v257.8-231b365f90.clean/src/basic/string-util.h: In function ‘strstr_ptr’:
../src/v257.8-231b365f90.clean/src/basic/string-util.h:33:16: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
33 | return strstr(haystack, needle);
| ^~~~~~
[113/206] /usr/bin/cc -fPIC -g -Ilibsystemd.a.p -I. -I../src/v257.8-231b365f90.clean -Isrc/basic -I../src/v257.8-231b365f90.clean/src/basic -Isrc/fundamental -I../src/v257.8-231b365f90.clean/src/fundamental -Isrc/systemd -I../src/v257.8-231b365f90.clean/src/systemd -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-bus -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-device -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-event -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-hwdb -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-id128 -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-journal -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-json -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-netlink -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-network -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-path -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-resolve -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-varlink -Isrc/libsystemd -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/debug/lib/pkgconfig/../../../include -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/debug/lib/pkgconfig/../../../include/libmount -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/debug/lib/pkgconfig/../../../include/blkid -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -g -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -fPIC -g -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -include config.h -pthread -DLZMA_API_STATIC -fvisibility=default -MD -MQ libsystemd.a.p/src_basic_escape.c.o -MF libsystemd.a.p/src_basic_escape.c.o.d -o libsystemd.a.p/src_basic_escape.c.o -c ../src/v257.8-231b365f90.clean/src/basic/escape.c
In file included from ../src/v257.8-231b365f90.clean/src/basic/escape.h:10,
from ../src/v257.8-231b365f90.clean/src/basic/escape.c:8:
../src/v257.8-231b365f90.clean/src/basic/string-util.h: In function ‘strstr_ptr’:
../src/v257.8-231b365f90.clean/src/basic/string-util.h:33:16: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
33 | return strstr(haystack, needle);
| ^~~~~~
[114/206] /usr/bin/cc -fPIC -g -Ilibsystemd.a.p -I. -I../src/v257.8-231b365f90.clean -Isrc/basic -I../src/v257.8-231b365f90.clean/src/basic -Isrc/fundamental -I../src/v257.8-231b365f90.clean/src/fundamental -Isrc/systemd -I../src/v257.8-231b365f90.clean/src/systemd -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-bus -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-device -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-event -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-hwdb -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-id128 -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-journal -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-json -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-netlink -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-network -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-path -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-resolve -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-varlink -Isrc/libsystemd -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/debug/lib/pkgconfig/../../../include -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/debug/lib/pkgconfig/../../../include/libmount -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/debug/lib/pkgconfig/../../../include/blkid -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -g -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -fPIC -g -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -include config.h -pthread -DLZMA_API_STATIC -fvisibility=default -MD -MQ libsystemd.a.p/src_basic_env-file.c.o -MF libsystemd.a.p/src_basic_env-file.c.o.d -o libsystemd.a.p/src_basic_env-file.c.o -c ../src/v257.8-231b365f90.clean/src/basic/env-file.c
In file included from ../src/v257.8-231b365f90.clean/src/basic/escape.h:10,
from ../src/v257.8-231b365f90.clean/src/basic/env-file.c:6:
../src/v257.8-231b365f90.clean/src/basic/string-util.h: In function ‘strstr_ptr’:
../src/v257.8-231b365f90.clean/src/basic/string-util.h:33:16: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
33 | return strstr(haystack, needle);
| ^~~~~~
[115/206] /usr/bin/cc -fPIC -g -Ilibsystemd.a.p -I. -I../src/v257.8-231b365f90.clean -Isrc/basic -I../src/v257.8-231b365f90.clean/src/basic -Isrc/fundamental -I../src/v257.8-231b365f90.clean/src/fundamental -Isrc/systemd -I../src/v257.8-231b365f90.clean/src/systemd -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-bus -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-device -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-event -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-hwdb -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-id128 -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-journal -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-json -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-netlink -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-network -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-path -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-resolve -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-varlink -Isrc/libsystemd -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/debug/lib/pkgconfig/../../../include -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/debug/lib/pkgconfig/../../../include/libmount -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/debug/lib/pkgconfig/../../../include/blkid -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -g -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -fPIC -g -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -include config.h -pthread -DLZMA_API_STATIC -fvisibility=default -MD -MQ libsystemd.a.p/src_basic_filesystems.c.o -MF libsystemd.a.p/src_basic_filesystems.c.o.d -o libsystemd.a.p/src_basic_filesystems.c.o -c ../src/v257.8-231b365f90.clean/src/basic/filesystems.c
In file included from ../src/v257.8-231b365f90.clean/src/basic/siphash24.h:10,
from ../src/v257.8-231b365f90.clean/src/basic/hash-funcs.h:6,
from ../src/v257.8-231b365f90.clean/src/basic/hashmap.h:8,
from ../src/v257.8-231b365f90.clean/src/basic/set.h:5,
from ../src/v257.8-231b365f90.clean/src/basic/nulstr-util.h:9,
from ../src/v257.8-231b365f90.clean/src/basic/filesystems.h:4,
from ../src/v257.8-231b365f90.clean/src/basic/filesystems-gperf.gperf:5,
from ../src/v257.8-231b365f90.clean/src/basic/filesystems.c:3:
../src/v257.8-231b365f90.clean/src/basic/string-util.h: In function ‘strstr_ptr’:
../src/v257.8-231b365f90.clean/src/basic/string-util.h:33:16: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
33 | return strstr(haystack, needle);
| ^~~~~~
[116/206] /usr/bin/cc -fPIC -g -Ilibsystemd.a.p -I. -I../src/v257.8-231b365f90.clean -Isrc/basic -I../src/v257.8-231b365f90.clean/src/basic -Isrc/fundamental -I../src/v257.8-231b365f90.clean/src/fundamental -Isrc/systemd -I../src/v257.8-231b365f90.clean/src/systemd -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-bus -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-device -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-event -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-hwdb -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-id128 -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-journal -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-json -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-netlink -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-network -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-path -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-resolve -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-varlink -Isrc/libsystemd -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/debug/lib/pkgconfig/../../../include -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/debug/lib/pkgconfig/../../../include/libmount -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/debug/lib/pkgconfig/../../../include/blkid -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -g -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -fPIC -g -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -include config.h -pthread -DLZMA_API_STATIC -fvisibility=default -MD -MQ libsystemd.a.p/src_libsystemd_sd-varlink_sd-varlink.c.o -MF libsystemd.a.p/src_libsystemd_sd-varlink_sd-varlink.c.o.d -o libsystemd.a.p/src_libsystemd_sd-varlink_sd-varlink.c.o -c ../src/v257.8-231b365f90.clean/src/libsystemd/sd-varlink/sd-varlink.c
In file included from ../src/v257.8-231b365f90.clean/src/basic/escape.h:10,
from ../src/v257.8-231b365f90.clean/src/libsystemd/sd-varlink/sd-varlink.c:12:
../src/v257.8-231b365f90.clean/src/basic/string-util.h: In function ‘strstr_ptr’:
../src/v257.8-231b365f90.clean/src/basic/string-util.h:33:16: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
33 | return strstr(haystack, needle);
| ^~~~~~
[117/206] /usr/bin/cc -fPIC -g -Ilibsystemd.a.p -I. -I../src/v257.8-231b365f90.clean -Isrc/basic -I../src/v257.8-231b365f90.clean/src/basic -Isrc/fundamental -I../src/v257.8-231b365f90.clean/src/fundamental -Isrc/systemd -I../src/v257.8-231b365f90.clean/src/systemd -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-bus -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-device -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-event -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-hwdb -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-id128 -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-journal -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-json -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-netlink -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-network -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-path -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-resolve -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-varlink -Isrc/libsystemd -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/debug/lib/pkgconfig/../../../include -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/debug/lib/pkgconfig/../../../include/libmount -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/debug/lib/pkgconfig/../../../include/blkid -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -g -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -fPIC -g -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -include config.h -pthread -DLZMA_API_STATIC -fvisibility=default -MD -MQ libsystemd.a.p/src_basic_env-util.c.o -MF libsystemd.a.p/src_basic_env-util.c.o.d -o libsystemd.a.p/src_basic_env-util.c.o -c ../src/v257.8-231b365f90.clean/src/basic/env-util.c
In file included from ../src/v257.8-231b365f90.clean/src/basic/escape.h:10,
from ../src/v257.8-231b365f90.clean/src/basic/env-util.c:12:
../src/v257.8-231b365f90.clean/src/basic/string-util.h: In function ‘strstr_ptr’:
../src/v257.8-231b365f90.clean/src/basic/string-util.h:33:16: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
33 | return strstr(haystack, needle);
| ^~~~~~
[118/206] /usr/bin/cc -fPIC -g -Ilibsystemd.a.p -I. -I../src/v257.8-231b365f90.clean -Isrc/basic -I../src/v257.8-231b365f90.clean/src/basic -Isrc/fundamental -I../src/v257.8-231b365f90.clean/src/fundamental -Isrc/systemd -I../src/v257.8-231b365f90.clean/src/systemd -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-bus -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-device -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-event -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-hwdb -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-id128 -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-journal -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-json -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-netlink -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-network -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-path -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-resolve -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-varlink -Isrc/libsystemd -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/debug/lib/pkgconfig/../../../include -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/debug/lib/pkgconfig/../../../include/libmount -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/debug/lib/pkgconfig/../../../include/blkid -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -g -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -fPIC -g -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -include config.h -pthread -DLZMA_API_STATIC -fvisibility=default -MD -MQ libsystemd.a.p/src_basic_cgroup-util.c.o -MF libsystemd.a.p/src_basic_cgroup-util.c.o.d -o libsystemd.a.p/src_basic_cgroup-util.c.o -c ../src/v257.8-231b365f90.clean/src/basic/cgroup-util.c
In file included from ../src/v257.8-231b365f90.clean/src/basic/siphash24.h:10,
from ../src/v257.8-231b365f90.clean/src/basic/hash-funcs.h:6,
from ../src/v257.8-231b365f90.clean/src/basic/hashmap.h:8,
from ../src/v257.8-231b365f90.clean/src/basic/set.h:5,
from ../src/v257.8-231b365f90.clean/src/basic/cgroup-util.h:14,
from ../src/v257.8-231b365f90.clean/src/basic/cgroup-util.c:14:
../src/v257.8-231b365f90.clean/src/basic/string-util.h: In function ‘strstr_ptr’:
../src/v257.8-231b365f90.clean/src/basic/string-util.h:33:16: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
33 | return strstr(haystack, needle);
| ^~~~~~
[119/206] /usr/bin/cc -fPIC -g -Ilibsystemd.a.p -I. -I../src/v257.8-231b365f90.clean -Isrc/basic -I../src/v257.8-231b365f90.clean/src/basic -Isrc/fundamental -I../src/v257.8-231b365f90.clean/src/fundamental -Isrc/systemd -I../src/v257.8-231b365f90.clean/src/systemd -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-bus -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-device -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-event -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-hwdb -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-id128 -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-journal -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-json -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-netlink -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-network -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-path -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-resolve -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-varlink -Isrc/libsystemd -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/debug/lib/pkgconfig/../../../include -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/debug/lib/pkgconfig/../../../include/libmount -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/debug/lib/pkgconfig/../../../include/blkid -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -g -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -fPIC -g -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -include config.h -pthread -DLZMA_API_STATIC -fvisibility=default -MD -MQ libsystemd.a.p/src_basic_fd-util.c.o -MF libsystemd.a.p/src_basic_fd-util.c.o.d -o libsystemd.a.p/src_basic_fd-util.c.o -c ../src/v257.8-231b365f90.clean/src/basic/fd-util.c
In file included from ../src/v257.8-231b365f90.clean/src/basic/user-util.h:15,
from ../src/v257.8-231b365f90.clean/src/basic/fs-util.h:17,
from ../src/v257.8-231b365f90.clean/src/basic/stat-util.h:12,
from ../src/v257.8-231b365f90.clean/src/basic/path-util.h:9,
from ../src/v257.8-231b365f90.clean/src/basic/dirent-util.h:9,
from ../src/v257.8-231b365f90.clean/src/basic/fd-util.c:15:
../src/v257.8-231b365f90.clean/src/basic/string-util.h: In function ‘strstr_ptr’:
../src/v257.8-231b365f90.clean/src/basic/string-util.h:33:16: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
33 | return strstr(haystack, needle);
| ^~~~~~
In file included from ../src/v257.8-231b365f90.clean/src/basic/fd-util.c:29:
../src/v257.8-231b365f90.clean/src/basic/sort-util.h: In function ‘bsearch_safe’:
../src/v257.8-231b365f90.clean/src/basic/sort-util.h:34:16: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
34 | return bsearch(key, base, nmemb, size, compar);
| ^~~~~~~
[120/206] /usr/bin/cc -fPIC -g -Ilibsystemd.a.p -I. -I../src/v257.8-231b365f90.clean -Isrc/basic -I../src/v257.8-231b365f90.clean/src/basic -Isrc/fundamental -I../src/v257.8-231b365f90.clean/src/fundamental -Isrc/systemd -I../src/v257.8-231b365f90.clean/src/systemd -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-bus -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-device -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-event -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-hwdb -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-id128 -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-journal -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-json -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-netlink -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-network -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-path -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-resolve -I../src/v257.8-231b365f90.clean/src/libsystemd/sd-varlink -Isrc/libsystemd -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/debug/lib/pkgconfig/../../../include -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/debug/lib/pkgconfig/../../../include/libmount -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/debug/lib/pkgconfig/../../../include/blkid -I/home/stephen/projects/CorsixTH/build/dev-vcpkg/vcpkg_installed/x64-linux/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -g -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunterminated-string-initialization -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -fPIC -g -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -include config.h -pthread -DLZMA_API_STATIC -fvisibility=default -MD -MQ libsystemd.a.p/src_basic_fileio.c.o -MF libsystemd.a.p/src_basic_fileio.c.o.d -o libsystemd.a.p/src_basic_fileio.c.o -c ../src/v257.8-231b365f90.clean/src/basic/fileio.c
In file included from ../src/v257.8-231b365f90.clean/src/basic/user-util.h:15,
from ../src/v257.8-231b365f90.clean/src/basic/fs-util.h:17,
from ../src/v257.8-231b365f90.clean/src/basic/stat-util.h:12,
from ../src/v257.8-231b365f90.clean/src/basic/chase.h:7,
from ../src/v257.8-231b365f90.clean/src/basic/fileio.c:16:
../src/v257.8-231b365f90.clean/src/basic/string-util.h: In function ‘strstr_ptr’:
../src/v257.8-231b365f90.clean/src/basic/string-util.h:33:16: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
33 | return strstr(haystack, needle);
| ^~~~~~
ninja: build stopped: subcommand failed.
```
</details>
**Additional context**
<details><summary>vcpkg.json</summary>
```
{
"dependencies": [
{
"name": "lua",
"features": [
"tools"
]
},
"sdl2",
"luafilesystem",
"lpeg",
"libpng",
"zlib",
{
"name": "fluidsynth",
"features": [
"sndfile"
]
},
{
"name": "sdl2-mixer",
"features": [
"libmodplug",
"fluidsynth",
"libflac",
"mpg123",
"opusfile"
]
},
"freetype"
],
"features": {
"animview": {
"description": "Support building AnimView",
"dependencies": [
"wxwidgets"
]
},
"updatecheck": {
"description": "Support checking for game updates",
"dependencies": [
{
"name": "curl",
"default-features": false,
"features": [
"ssl"
]
}
]
},
"movies": {
"description": "In game video support",
"dependencies": [
{
"name": "ffmpeg",
"default-features": false,
"features": [
"avcodec",
"avformat",
"swresample",
"swscale"
]
}
]
},
"midi": {
"description": "Support MIDI devices",
"dependencies": [
"rtmidi"
]
},
"catch2": {
"description": "Support Catch2 tests",
"dependencies": [
"catch2"
]
},
"tracy": {
"description": "Support Tracy profiling",
"dependencies": [
{
"name": "tracy",
"features": [
"cli-tools"
]
}
]
}
}
}
```
</details>
关闭于 2026-06-16 1 条评论