boulder v0.26.1 (Git ref c98db66cbcfb0a5c622b73ca350834a6cabdf1a1-dirty) └─ building git-2.53.0-23-1 Refreshed repo0 The following package(s) will be installed: acl 2.3.2-5 libmount-devel 2.41.3-18 asciidoc 10.2.1-2 libpciaccess 0.18.1-5 attr 2.5.2-6 libpsl 0.21.5-4 autoconf 2.72-5 libpsl-devel 0.21.5-4 automake 1.18.1-7 libpwquality 1.4.5-3 bash 5.3.8-28 libseccomp 2.6.0-6 boulder 0.26.1+git.c98db66-128 libsecret 0.21.7-8 brotli 1.2.0-9 libsecret-devel 0.21.7-8 brotli-devel 1.2.0-9 libsmartcols 2.41.3-18 brotli-libs 1.2.0-9 libsodium 1.0.21+git.f6c18801-4 bsdtar 3.8.5-22 libss 1.47.3-6 bsdtar-static 3.8.5-22 libss-devel 1.47.3-6 bzip2-libs 1.0.8-7 libssh2 1.11.1-3 ca-certificates 20250516-17 libssh2-devel 1.11.1-3 ca-certificates-mozilla 3.120-39 libstdc++ 15.2.0+git.e4ee38ae-18 ca-certificates-utils 20250516-17 libstdc++-devel 15.2.0+git.e4ee38ae-18 clang 21.1.8-44 libstone 0.26.1+git.647000c-7 clang-libs 21.1.8-44 libtasn1 4.21.0-4 compiler-rt 21.1.8-44 libtextstyle 0.26-10 coreutils 0.6.0-30 libunistring 1.4.1-6 cracklib 2.10.3-3 libutempter 1.2.1-2 cryptsetup 2.8.4-11 libuuid 2.41.3-18 cryptsetup-devel 2.8.4-11 libuuid-devel 2.41.3-18 cryptsetup-libs 2.8.4-11 libxcrypt 4.5.2-10 curl 8.18.0-29 libxcrypt-devel 4.5.2-10 curl-devel 8.18.0-29 libxkbcommon 1.13.1-15 curl-libs 8.18.0-29 libxml2 2.15.1-18 cyrus-sasl-libs 2.1.28-5 libxslt 1.1.45-6 dash 0.5.13.1-16 linux-headers 6.18-27 device-mapper 2.03.38-13 linux-pam-libs 1.7.1-18 device-mapper-devel 2.03.38-13 lld 21.1.8-44 device-mapper-libs 2.03.38-13 lld-libs 21.1.8-44 diffutils 3.12-6 llvm 21.1.8-44 docbook 4.5-8 llvm-libs 21.1.8-44 docbook-xsl 1.79.2-2 lmdb-libs 0.9.35-14 elfutils-libs 0.194-12 lz4 1.10.0-4 envsubst 0.26-10 lzo 2.10-2 expat 2.7.4-11 m4 1.4.20-5 expat-devel 2.7.4-11 make 4.4.1-4 file 5.46-10 mimalloc 2.2.7-11 findutils 4.10.0-4 mpc 1.3.1-3 gawk 5.3.2-8 mpdecimal 4.0.1-2 gcc 15.2.0+git.e4ee38ae-18 mpfr 4.2.2-5 gdbm-libs 1.26-7 nano 8.7-38 gettext 0.26-10 ncurses-base 6.6-20260124-21 gettext-devel 0.26-10 ncurses-libs 6.6-20260124-21 gettext-libs 0.26-10 nghttp2 1.68.0-13 git 2.52.0-22 nghttp2-devel 1.68.0-13 glib2 2.86.3-34 nghttp2-libs 1.68.0-13 glib2-devel 2.86.3-34 nghttp3 1.15.0-5 glibc 2.43+git.144ba302-33 nghttp3-devel 1.15.0-5 glibc-devel 2.43+git.144ba302-33 ntpd-rs 1.6.2-6 gmp 6.3.0-5 openldap 2.6.12-6 gpm-libs 1.20.7-4 openmp 21.1.8-44 grep 3.12-7 openmp-devel 21.1.8-44 gzip 1.14-6 openssl 3.6.1-34 helix 25.07.01-8 openssl-devel 3.6.1-34 hwloc-libs 2.12.2-5 openssl-libs 3.6.1-34 iana-etc 20251120-3 os-info 2026.01-13 icu-libs 78.2-12 p11-kit 0.26.1-10 isl 0.27-2 p11-kit-libs 0.26.1-10 jansson 2.15.0-5 pcre2 10.47-8 jemalloc-libs 5.3.0-4 pcre2-devel 10.47-8 json-c 0.18-5 perl 5.42.0-14 json-c-devel 0.18-5 pkgconf 2.5.1-12 kbd 2.9.0-9 polly 21.1.8-44 keyutils 1.6.3-4 popt 1.19-2 kmod-libs 34.2-10 procps 4.0.6-8 krb5 1.22.2-5 python 3.11.14-14 krb5-devel 1.22.2-5 python-libs 3.11.14-14 krb5-libs 1.22.2-5 python-packaging 25.0-6 layout 0.1.0-8 qrencode 4.1.1-3 less 691-14 readline 8.3.3-9 libarchive 3.8.5-22 ripgrep 15.1.0-4 libatomic 15.2.0+git.e4ee38ae-18 sed 4.9-3 libb2 0.98.1-2 slibtool 0.7.4-15 libblkid 2.41.3-18 sqlite 3.51.2-17 libblkid-devel 2.41.3-18 sudo-rs 0.2.11-18 libbpf 1.6.2-6 sysprof-capture-devel 49.0-5 libcap 2.77-12 system-accounts 0.1.0-8 libcap-ng 0.8.5-5 systemd 257.10-75 libcom_err 1.47.3-6 systemd-devel 257.10-75 libcom_err-devel 1.47.3-6 tar 1.35-3 libeconf 0.7.10-6 terminus-font 4.49.1-2 libeconf-devel 0.7.10-6 tpm2-tss 4.1.3-4 libedit 20251016-3.1-5 tpm2-tss-devel 4.1.3-4 libelf 0.194-12 tzdata 2025c-8 libfdisk 2.41.3-18 util-linux 2.41.3-18 libffi 3.5.2-9 uutils-coreutils 0.6.0-30 libffi-devel 3.5.2-9 vim 9.1.1966-16 libgcc 15.2.0+git.e4ee38ae-18 wayland 1.24.0-8 libgcc-static 15.2.0+git.e4ee38ae-18 xkeyboard-config 2.46-7 libgcrypt 1.12.0-9 xmlto 0.0.29-7 libgcrypt-devel 1.12.0-9 xxd 9.1.1966-16 libgomp 15.2.0+git.e4ee38ae-18 xz 5.8.2-14 libgpg-error 1.58-7 zlib 2.3.2-22 libgpg-error-devel 1.58-7 zlib-devel 2.3.2-22 libidn2 2.3.8-5 zstd 1.5.7-12 libidn2-devel 2.3.8-5 zstd-devel 1.5.7-12 libmount 2.41.3-18 zstd-libs 1.5.7-12 Installed acl (cached) Installed brotli (cached) Installed attr (cached) Installed autoconf (cached) Installed brotli-libs (cached) Installed bash (cached) Installed bsdtar (cached) Installed automake (cached) Installed brotli-devel (cached) Installed bsdtar-static (cached) Installed ca-certificates (cached) Installed bzip2-libs (cached) Installed ca-certificates-mozilla (cached) Installed ca-certificates-utils (cached) Installed clang (cached) Installed coreutils (cached) Installed asciidoc (cached) Installed cryptsetup-devel (cached) Installed cracklib (cached) Installed cryptsetup (cached) Installed cryptsetup-libs (cached) Installed compiler-rt (cached) Installed curl (cached) Installed curl-libs (cached) Installed dash (cached) Installed cyrus-sasl-libs (cached) Installed clang-libs (cached) Installed device-mapper-devel (cached) Installed device-mapper-libs (cached) Installed device-mapper (cached) Installed diffutils (cached) Installed elfutils-libs (cached) Installed envsubst (cached) Installed boulder (cached) Installed expat (cached) Installed docbook (cached) Installed file (cached) Installed gdbm-libs (cached) Installed findutils (cached) Installed gawk (cached) Installed gettext-libs (cached) Installed gettext (cached) Installed curl-devel (cached) Installed gettext-devel (cached) Installed glib2 (cached) Installed git (cached) Installed gmp (cached) Installed gpm-libs (cached) Installed grep (cached) Installed gzip (cached) Installed hwloc-libs (cached) Installed glib2-devel (cached) Installed glibc-devel (cached) Installed iana-etc (cached) Installed gcc (cached) Installed isl (cached) Installed icu-libs (cached) Installed jansson (cached) Installed json-c (cached) Installed jemalloc-libs (cached) Installed json-c-devel (cached) Installed keyutils (cached) Installed kmod-libs (cached) Installed krb5-libs (cached) Installed krb5 (cached) Installed krb5-devel (cached) Installed layout (cached) Installed less (cached) Installed libarchive (cached) Installed libb2 (cached) Installed libatomic (cached) Installed libblkid (cached) Installed libblkid-devel (cached) Installed libbpf (cached) Installed libcap (cached) Installed libcom_err (cached) Installed libcom_err-devel (cached) Installed libcap-ng (cached) Installed libeconf (cached) Installed libedit (cached) Installed libeconf-devel (cached) Installed kbd (cached) Installed libelf (cached) Installed libffi (cached) Installed libfdisk (cached) Installed libffi-devel (cached) Installed helix (cached) Installed libgcc (cached) Installed libgcc-static (cached) Installed libgcrypt (cached) Installed libgomp (cached) Installed libgcrypt-devel (cached) Installed libgpg-error (cached) Installed libgpg-error-devel (cached) Installed libmount (cached) Installed libidn2 (cached) Installed docbook-xsl (cached) Installed libidn2-devel (cached) Installed libmount-devel (cached) Installed libpciaccess (cached) Installed libpsl (cached) Installed libpsl-devel (cached) Installed libseccomp (cached) Installed libpwquality (cached) Installed libsecret (cached) Installed libsmartcols (cached) Installed libsecret-devel (cached) Installed libsodium (cached) Installed libss (cached) Installed libssh2 (cached) Installed libstone (cached) Installed libss-devel (cached) Installed libstdc++ (cached) Installed libtasn1 (cached) Installed libutempter (cached) Installed libtextstyle (cached) Installed libunistring (cached) Installed libuuid (cached) Installed libssh2-devel (cached) Installed libxcrypt (cached) Installed libuuid-devel (cached) Installed libxcrypt-devel (cached) Installed libxkbcommon (cached) Installed libxml2 (cached) Installed libxslt (cached) Installed linux-pam-libs (cached) Installed lld (cached) Installed lld-libs (cached) Installed lmdb-libs (cached) Installed llvm-libs (cached) Installed lz4 (cached) Installed lzo (cached) Installed m4 (cached) Installed llvm (cached) Installed mimalloc (cached) Installed mpc (cached) Installed make (cached) Installed mpdecimal (cached) Installed mpfr (cached) Installed ncurses-libs (cached) Installed nghttp2 (cached) Installed libstdc++-devel (cached) Installed nano (cached) Installed nghttp2-libs (cached) Installed nghttp3 (cached) Installed nghttp2-devel (cached) Installed nghttp3-devel (cached) Installed ntpd-rs (cached) Installed openldap (cached) Installed openmp (cached) Installed openmp-devel (cached) Installed os-info (cached) Installed openssl-libs (cached) Installed p11-kit-libs (cached) Installed pcre2 (cached) Installed p11-kit (cached) Installed pcre2-devel (cached) Installed pkgconf (cached) Installed openssl (cached) Installed polly (cached) Installed popt (cached) Installed linux-headers (cached) Installed python (cached) Installed python-packaging (cached) Installed procps (cached) Installed readline (cached) Installed qrencode (cached) Installed ripgrep (cached) Installed sed (cached) Installed slibtool (cached) Installed sqlite (cached) Installed sudo-rs (cached) Installed sysprof-capture-devel (cached) Installed system-accounts (cached) Installed systemd-devel (cached) Installed openssl-devel (cached) Installed tar (cached) Installed tpm2-tss (cached) Installed glibc (cached) Installed terminus-font (cached) Installed tpm2-tss-devel (cached) Installed ncurses-base (cached) Installed systemd (cached) Installed util-linux (cached) Installed python-libs (cached) Installed wayland (cached) Installed xxd (cached) Installed uutils-coreutils (cached) Installed zlib (cached) Installed xmlto (cached) Installed zlib-devel (cached) Installed tzdata (cached) Installed xz (cached) Installed zstd-devel (cached) Installed zstd-libs (cached) Installed zstd (cached) Installed xkeyboard-config (cached) Installed perl (cached) Installed vim (cached) Installed expat-devel 46908 entries blitted in 0.72s (65.4k / s) Sharing 1 upstream(s) with the build container Shared git-2.53.0.tar.gz x86_64 │Prepare │P│ + TERM=dumb │P│ + export TERM │P│ + SOURCE_DATE_EPOCH=1770222544 │P│ + export SOURCE_DATE_EPOCH │P│ + PGO_STAGE=NONE │P│ + export PGO_STAGE │P│ + PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/share/pkgconfig │P│ + export PKG_CONFIG_PATH │P│ + CFLAGS='-D_FORTIFY_SOURCE=2 -O2 -Werror=odr -Werror=strict-aliasing -ffat-lto-objects -flto=thin -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector --param ssp-buffer-size=32 -g -fasynchronous-unwind-tables -march=x86-64-v2 -mtune=ivybridge -mprefer-vector-width=128 -pipe -Wformat -Wformat-security -Wno-error -fPIC' │P│ + export CFLAGS │P│ + CGO_CFLAGS='-D_FORTIFY_SOURCE=2 -O2 -Werror=odr -Werror=strict-aliasing -ffat-lto-objects -flto=thin -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector --param ssp-buffer-size=32 -g -fasynchronous-unwind-tables -march=x86-64-v2 -mtune=ivybridge -mprefer-vector-width=128 -pipe -Wformat -Wformat-security -Wno-error -fPIC' │P│ + export CGO_CFLAGS │P│ + CXXFLAGS='-D_FORTIFY_SOURCE=2 -O2 -Werror=odr -Werror=strict-aliasing -ffat-lto-objects -flto=thin -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector --param ssp-buffer-size=32 -g -fasynchronous-unwind-tables -march=x86-64-v2 -mtune=ivybridge -mprefer-vector-width=128 -pipe -Wformat -Wformat-security -Wno-error -fPIC' │P│ + export CXXFLAGS │P│ + CGO_CXXFLAGS='-D_FORTIFY_SOURCE=2 -O2 -Werror=odr -Werror=strict-aliasing -ffat-lto-objects -flto=thin -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector --param ssp-buffer-size=32 -g -fasynchronous-unwind-tables -march=x86-64-v2 -mtune=ivybridge -mprefer-vector-width=128 -pipe -Wformat -Wformat-security -Wno-error -fPIC' │P│ + export CGO_CXXFLAGS │P│ + FFLAGS='-D_FORTIFY_SOURCE=2 -O2 -flto=thin -fno-omit-frame-pointer -g' │P│ + export FFLAGS │P│ + LDFLAGS='-Wl,--as-needed -Wl,--build-id=sha1 -Wl,--compress-debug-sections=zstd -Wl,--icf=safe -Wl,--undefined-version -Wl,-Bsymbolic-functions -Wl,-O2,--gc-sections -Wl,-z,pack-relative-relocs -Wl,-z,relro,-z,now -flto=thin' │P│ + export LDFLAGS │P│ + CGO_LDFLAGS='-Wl,--as-needed -Wl,--build-id=sha1 -Wl,--compress-debug-sections=zstd -Wl,--icf=safe -Wl,--undefined-version -Wl,-Bsymbolic-functions -Wl,-O2,--gc-sections -Wl,-z,pack-relative-relocs -Wl,-z,relro,-z,now -flto=thin -Wl,--no-gc-sections' │P│ + export CGO_LDFLAGS │P│ + DFLAGS='-O2 -flto=thin -frame-pointer=all -g -gc -d-debug -mcpu=x86-64-v2 -release -Hkeep-all-bodies -relocation-model=pic -wi' │P│ + export DFLAGS │P│ + RUSTFLAGS='-C debuginfo=2 -C split-debuginfo=off -C force-frame-pointers -C link-args=-Wl,--build-id=sha1 -C link-args=-Wl,--compress-debug-sections=zstd -C lto=thin -C linker-plugin-lto -C embed-bitcode=yes -C opt-level=3 -C codegen-units=16 -C strip=none -C target-cpu=x86-64-v2' │P│ + export RUSTFLAGS │P│ + CC=clang │P│ + export CC │P│ + CXX=clang++ │P│ + export CXX │P│ + OBJC=clang │P│ + export OBJC │P│ + OBJCXX=clang++ │P│ + export OBJCXX │P│ + CPP=clang-cpp │P│ + export CPP │P│ + OBJCPP='clang -E -' │P│ + export OBJCPP │P│ + OBJCXXCPP='clang++ -E' │P│ + export OBJCXXCPP │P│ + AR=llvm-ar │P│ + export AR │P│ + LD=ld.lld │P│ + export LD │P│ + OBJCOPY=llvm-objcopy │P│ + export OBJCOPY │P│ + NM=llvm-nm │P│ + export NM │P│ + RANLIB=llvm-ranlib │P│ + export RANLIB │P│ + STRIP=llvm-strip │P│ + export STRIP │P│ + PATH=/usr/bin:/bin │P│ + export PATH │P│ + CCACHE_DIR=/mason/ccache │P│ + export CCACHE_DIR │P│ + CCACHE_BASEDIR=/mason/build/x86_64 │P│ + export CCACHE_BASEDIR │P│ + test -z /mason/ccache │P│ + export 'NINJA_STATUS=[%f/%t %es (%P)] ' │P│ + NINJA_STATUS='[%f/%t %es (%P)] ' │P│ + CARGO_BUILD_DEP_INFO_BASEDIR=/mason/build/x86_64 │P│ + export CARGO_BUILD_DEP_INFO_BASEDIR │P│ + CARGO_NET_RETRY=5 │P│ + export CARGO_NET_RETRY │P│ + CARGO_PROFILE_RELEASE_DEBUG=full │P│ + export CARGO_PROFILE_RELEASE_DEBUG │P│ + CARGO_PROFILE_RELEASE_SPLIT_DEBUGINFO=off │P│ + export CARGO_PROFILE_RELEASE_SPLIT_DEBUGINFO │P│ + CARGO_PROFILE_RELEASE_LTO=off │P│ + export CARGO_PROFILE_RELEASE_LTO │P│ + CARGO_PROFILE_RELEASE_STRIP=none │P│ + export CARGO_PROFILE_RELEASE_STRIP │P│ + RUSTC_WRAPPER= │P│ + export RUSTC_WRAPPER │P│ + test -z '' │P│ + unset RUSTC_WRAPPER │P│ + GOCACHE= │P│ + export GOCACHE │P│ + test -z '' │P│ + unset GOCACHE │P│ + GOMODCACHE= │P│ + export GOMODCACHE │P│ + test -z '' │P│ + unset GOMODCACHE │P│ + CARGO_HOME= │P│ + export CARGO_HOME │P│ + test -z '' │P│ + unset CARGO_HOME │P│ + SCCACHE_DIR=/mason/sccache │P│ + export SCCACHE_DIR │P│ + test -z /mason/sccache │P│ + LANG=en_US.UTF-8 │P│ + export LANG │P│ + LC_ALL=en_US.UTF-8 │P│ + export LC_ALL │P│ + test -d /mason/build/x86_64 │P│ + cd /mason/build/x86_64 │P│ + echo 'The work directory %(workdir) is /mason/build/x86_64' │P│ The work directory %(workdir) is /mason/build/x86_64 │P│ + mkdir -p git-2.53.0.tar.gz │P│ + bsdtar-static xf /mason/sourcedir/git-2.53.0.tar.gz -C git-2.53.0.tar.gz --strip-components=1 --no-same-owner │ │Setup │S│ + TERM=dumb │S│ + export TERM │S│ + SOURCE_DATE_EPOCH=1770222544 │S│ + export SOURCE_DATE_EPOCH │S│ + PGO_STAGE=NONE │S│ + export PGO_STAGE │S│ + PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/share/pkgconfig │S│ + export PKG_CONFIG_PATH │S│ + CFLAGS='-D_FORTIFY_SOURCE=2 -O2 -Werror=odr -Werror=strict-aliasing -ffat-lto-objects -flto=thin -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector --param ssp-buffer-size=32 -g -fasynchronous-unwind-tables -march=x86-64-v2 -mtune=ivybridge -mprefer-vector-width=128 -pipe -Wformat -Wformat-security -Wno-error -fPIC' │S│ + export CFLAGS │S│ + CGO_CFLAGS='-D_FORTIFY_SOURCE=2 -O2 -Werror=odr -Werror=strict-aliasing -ffat-lto-objects -flto=thin -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector --param ssp-buffer-size=32 -g -fasynchronous-unwind-tables -march=x86-64-v2 -mtune=ivybridge -mprefer-vector-width=128 -pipe -Wformat -Wformat-security -Wno-error -fPIC' │S│ + export CGO_CFLAGS │S│ + CXXFLAGS='-D_FORTIFY_SOURCE=2 -O2 -Werror=odr -Werror=strict-aliasing -ffat-lto-objects -flto=thin -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector --param ssp-buffer-size=32 -g -fasynchronous-unwind-tables -march=x86-64-v2 -mtune=ivybridge -mprefer-vector-width=128 -pipe -Wformat -Wformat-security -Wno-error -fPIC' │S│ + export CXXFLAGS │S│ + CGO_CXXFLAGS='-D_FORTIFY_SOURCE=2 -O2 -Werror=odr -Werror=strict-aliasing -ffat-lto-objects -flto=thin -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector --param ssp-buffer-size=32 -g -fasynchronous-unwind-tables -march=x86-64-v2 -mtune=ivybridge -mprefer-vector-width=128 -pipe -Wformat -Wformat-security -Wno-error -fPIC' │S│ + export CGO_CXXFLAGS │S│ + FFLAGS='-D_FORTIFY_SOURCE=2 -O2 -flto=thin -fno-omit-frame-pointer -g' │S│ + export FFLAGS │S│ + LDFLAGS='-Wl,--as-needed -Wl,--build-id=sha1 -Wl,--compress-debug-sections=zstd -Wl,--icf=safe -Wl,--undefined-version -Wl,-Bsymbolic-functions -Wl,-O2,--gc-sections -Wl,-z,pack-relative-relocs -Wl,-z,relro,-z,now -flto=thin' │S│ + export LDFLAGS │S│ + CGO_LDFLAGS='-Wl,--as-needed -Wl,--build-id=sha1 -Wl,--compress-debug-sections=zstd -Wl,--icf=safe -Wl,--undefined-version -Wl,-Bsymbolic-functions -Wl,-O2,--gc-sections -Wl,-z,pack-relative-relocs -Wl,-z,relro,-z,now -flto=thin -Wl,--no-gc-sections' │S│ + export CGO_LDFLAGS │S│ + DFLAGS='-O2 -flto=thin -frame-pointer=all -g -gc -d-debug -mcpu=x86-64-v2 -release -Hkeep-all-bodies -relocation-model=pic -wi' │S│ + export DFLAGS │S│ + RUSTFLAGS='-C debuginfo=2 -C split-debuginfo=off -C force-frame-pointers -C link-args=-Wl,--build-id=sha1 -C link-args=-Wl,--compress-debug-sections=zstd -C lto=thin -C linker-plugin-lto -C embed-bitcode=yes -C opt-level=3 -C codegen-units=16 -C strip=none -C target-cpu=x86-64-v2' │S│ + export RUSTFLAGS │S│ + CC=clang │S│ + export CC │S│ + CXX=clang++ │S│ + export CXX │S│ + OBJC=clang │S│ + export OBJC │S│ + OBJCXX=clang++ │S│ + export OBJCXX │S│ + CPP=clang-cpp │S│ + export CPP │S│ + OBJCPP='clang -E -' │S│ + export OBJCPP │S│ + OBJCXXCPP='clang++ -E' │S│ + export OBJCXXCPP │S│ + AR=llvm-ar │S│ + export AR │S│ + LD=ld.lld │S│ + export LD │S│ + OBJCOPY=llvm-objcopy │S│ + export OBJCOPY │S│ + NM=llvm-nm │S│ + export NM │S│ + RANLIB=llvm-ranlib │S│ + export RANLIB │S│ + STRIP=llvm-strip │S│ + export STRIP │S│ + PATH=/usr/bin:/bin │S│ + export PATH │S│ + CCACHE_DIR=/mason/ccache │S│ + export CCACHE_DIR │S│ + CCACHE_BASEDIR=/mason/build/x86_64/git-2.53.0.tar.gz │S│ + export CCACHE_BASEDIR │S│ + test -z /mason/ccache │S│ + export 'NINJA_STATUS=[%f/%t %es (%P)] ' │S│ + NINJA_STATUS='[%f/%t %es (%P)] ' │S│ + CARGO_BUILD_DEP_INFO_BASEDIR=/mason/build/x86_64/git-2.53.0.tar.gz │S│ + export CARGO_BUILD_DEP_INFO_BASEDIR │S│ + CARGO_NET_RETRY=5 │S│ + export CARGO_NET_RETRY │S│ + CARGO_PROFILE_RELEASE_DEBUG=full │S│ + export CARGO_PROFILE_RELEASE_DEBUG │S│ + CARGO_PROFILE_RELEASE_SPLIT_DEBUGINFO=off │S│ + export CARGO_PROFILE_RELEASE_SPLIT_DEBUGINFO │S│ + CARGO_PROFILE_RELEASE_LTO=off │S│ + export CARGO_PROFILE_RELEASE_LTO │S│ + CARGO_PROFILE_RELEASE_STRIP=none │S│ + export CARGO_PROFILE_RELEASE_STRIP │S│ + RUSTC_WRAPPER= │S│ + export RUSTC_WRAPPER │S│ + test -z '' │S│ + unset RUSTC_WRAPPER │S│ + GOCACHE= │S│ + export GOCACHE │S│ + test -z '' │S│ + unset GOCACHE │S│ + GOMODCACHE= │S│ + export GOMODCACHE │S│ + test -z '' │S│ + unset GOMODCACHE │S│ + CARGO_HOME= │S│ + export CARGO_HOME │S│ + test -z '' │S│ + unset CARGO_HOME │S│ + SCCACHE_DIR=/mason/sccache │S│ + export SCCACHE_DIR │S│ + test -z /mason/sccache │S│ + LANG=en_US.UTF-8 │S│ + export LANG │S│ + LC_ALL=en_US.UTF-8 │S│ + export LC_ALL │S│ + test -d /mason/build/x86_64/git-2.53.0.tar.gz │S│ + cd /mason/build/x86_64/git-2.53.0.tar.gz │S│ + echo 'The work directory %(workdir) is /mason/build/x86_64/git-2.53.0.tar.gz' │S│ + [[ -d /usr/share/defaults/docbook ]] │S│ + _catalogs=() │S│ The work directory %(workdir) is /mason/build/x86_64/git-2.53.0.tar.gz │S│ ++ find /usr/share/defaults/docbook -type f -name catalog │S│ + for c in $(find /usr/share/defaults/docbook -type f -name 'catalog') │S│ + _catalogs+=("file://${c}") │S│ + for c in $(find /usr/share/defaults/docbook -type f -name 'catalog') │S│ + _catalogs+=("file://${c}") │S│ + XML_CATALOG_FILES='file:///usr/share/defaults/docbook/docbook-dtd/catalog file:///usr/share/defaults/docbook/docbook-xsl/catalog' │S│ + export XML_CATALOG_FILES │S│ + unset _catalogs │S│ + MAKE_OPTS='INSTALL_SYMLINKS=1 NO_GITWEB=1' │S│ + CONFIG_SHELL=/usr/bin/dash │S│ + export CONFIG_SHELL │S│ + SHELL=/usr/bin/dash │S│ + export SHELL │S│ + autoreconf -vfi │S│ autoreconf: export WARNINGS= │S│ autoreconf: Entering directory '.' │S│ autoreconf: configure.ac: not using Gettext │S│ autoreconf: configure.ac: not using aclocal │S│ autoreconf: configure.ac: tracing │S│ autoreconf: configure.ac: not using Libtool │S│ autoreconf: configure.ac: not using Intltool │S│ autoreconf: configure.ac: not using Gtkdoc │S│ autoreconf: running: /usr/bin/autoconf --force │S│ autoreconf: configure.ac: not using Autoheader │S│ autoreconf: configure.ac: not using Automake │S│ autoreconf: Leaving directory '.' │S│ ++ head -n1 ./configure │S│ Configured to use '#! /bin/sh' to execute ./configure │S│ + echo 'Configured to use '\''#! /bin/sh'\'' to execute ./configure' │S│ + test -x ./configure │S│ + CONFIG_SHELL=/usr/bin/dash │S│ + export CONFIG_SHELL │S│ + SHELL=/usr/bin/dash │S│ + export SHELL │S│ + echo 'Explicitly using dash to execute ./configure' │S│ Explicitly using dash to execute ./configure │S│ + /usr/bin/dash ./configure --prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --build=x86_64-aerynos-linux --host=x86_64-aerynos-linux --libdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --libexecdir=/usr/lib/git --with-editor=/usr/bin/nano --with-libpcre2 │S│ configure: Setting lib to 'lib' (the default) │S│ configure: Will try -pthread then -lpthread to enable POSIX Threads. │S│ configure: CHECKS for site configuration │S│ checking for x86_64-aerynos-linux-gcc... clang │S│ checking whether the C compiler works... yes │S│ checking for C compiler default output file name... a.out │S│ checking for suffix of executables... │S│ checking whether we are cross compiling... no │S│ checking for suffix of object files... o │S│ checking whether the compiler supports GNU C... yes │S│ checking whether clang accepts -g... yes │S│ checking for clang option to enable C11 features... none needed │S│ checking for stdio.h... yes │S│ checking for stdlib.h... yes │S│ checking for string.h... yes │S│ checking for inttypes.h... yes │S│ checking for stdint.h... yes │S│ checking for strings.h... yes │S│ checking for sys/stat.h... yes │S│ checking for sys/types.h... yes │S│ checking for unistd.h... yes │S│ checking for size_t... yes │S│ checking for working alloca.h... yes │S│ checking for alloca... yes │S│ configure: Setting DEFAULT_EDITOR to /usr/bin/nano │S│ configure: CHECKS for programs │S│ checking for x86_64-aerynos-linux-cc... (cached) clang │S│ checking whether the compiler supports GNU C... (cached) yes │S│ checking whether clang accepts -g... (cached) yes │S│ checking for clang option to enable C11 features... (cached) none needed │S│ checking for inline... inline │S│ checking if linker supports -R... no │S│ checking if linker supports -Wl,-rpath,... yes │S│ checking for x86_64-aerynos-linux-gar... llvm-ar │S│ checking for gtar... no │S│ checking for tar... tar │S│ checking for gnudiff... no │S│ checking for gdiff... no │S│ checking for diff... diff │S│ checking for asciidoc... asciidoc │S│ checking for asciidoc version... asciidoc 10.2.1 (unknown) │S│ configure: CHECKS for libraries │S│ checking for SHA1_Init in -lcrypto... yes │S│ checking for pcre2_config_8 in -lpcre2-8... yes │S│ checking for curl_global_init in -lcurl... yes │S│ checking for curl-config... curl-config │S│ configure: Setting CURL_LDFLAGS to '-lcurl' │S│ checking for XML_ParserCreate in -lexpat... yes │S│ checking for iconv in -lc... yes │S│ checking for deflateBound in -lz... yes │S│ checking for socket in -lc... yes │S│ checking for inet_ntop... yes │S│ checking for inet_pton... yes │S│ checking for hstrerror... yes │S│ checking for basename in -lc... yes │S│ checking if libc contains libintl... yes │S│ checking for libintl.h... yes │S│ configure: CHECKS for header files │S│ checking for sys/select.h... yes │S│ checking for poll.h... yes │S│ checking for sys/poll.h... yes │S│ checking for inttypes.h... (cached) yes │S│ checking for old iconv()... no │S│ checking whether iconv omits bom for utf-16 and utf-32... no │S│ configure: CHECKS for typedefs, structures, and compiler characteristics │S│ checking for socklen_t... yes │S│ checking for struct itimerval... yes │S│ checking for struct stat.st_mtimespec.tv_nsec... no │S│ checking for struct stat.st_mtim.tv_nsec... yes │S│ checking for struct dirent.d_type... yes │S│ checking for struct passwd.pw_gecos... yes │S│ checking for struct sockaddr_storage... yes │S│ checking for struct addrinfo... yes │S│ checking for getaddrinfo... yes │S│ checking for library containing getaddrinfo... none required │S│ checking how to run the C preprocessor... clang-cpp │S│ checking for egrep -e... /usr/bin/grep -E │S│ checking whether the platform regex supports REG_STARTEND... yes │S│ checking whether system succeeds to read fopen'ed directory... yes │S│ checking whether snprintf() and/or vsnprintf() return bogus value... no │S│ checking whether the platform uses typical file type bits... yes │S│ configure: CHECKS for library functions │S│ checking for libgen.h... yes │S│ checking for paths.h... yes │S│ checking for libcharset.h... no │S│ checking for strings.h... (cached) yes │S│ checking for locale_charset in -liconv... no │S│ checking for locale_charset in -lcharset... no │S│ checking for clock_gettime... yes │S│ checking for library containing clock_gettime... none required │S│ checking for CLOCK_MONOTONIC... yes │S│ checking for sync_file_range... yes │S│ checking for library containing sync_file_range... none required │S│ checking for setitimer... yes │S│ checking for library containing setitimer... none required │S│ checking for strcasestr... yes │S│ checking for library containing strcasestr... none required │S│ checking for memmem... yes │S│ checking for library containing memmem... none required │S│ checking for strlcpy... yes │S│ checking for library containing strlcpy... none required │S│ checking for strtoumax... yes │S│ checking for library containing strtoumax... none required │S│ checking for setenv... yes │S│ checking for library containing setenv... none required │S│ checking for unsetenv... yes │S│ checking for library containing unsetenv... none required │S│ checking for mkdtemp... yes │S│ checking for library containing mkdtemp... none required │S│ checking for initgroups... yes │S│ checking for library containing initgroups... none required │S│ checking for getdelim... yes │S│ checking for library containing getdelim... none required │S│ checking for BSD sysctl... no │S│ checking for sysinfo... yes │S│ checking for POSIX Threads with ''... yes │S│ configure: creating ./config.status │S│ config.status: creating config.mak.autogen │S│ config.status: executing config.mak.autogen commands │ │Build │B│ + TERM=dumb │B│ + export TERM │B│ + SOURCE_DATE_EPOCH=1770222544 │B│ + export SOURCE_DATE_EPOCH │B│ + PGO_STAGE=NONE │B│ + export PGO_STAGE │B│ + PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/share/pkgconfig │B│ + export PKG_CONFIG_PATH │B│ + CFLAGS='-D_FORTIFY_SOURCE=2 -O2 -Werror=odr -Werror=strict-aliasing -ffat-lto-objects -flto=thin -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector --param ssp-buffer-size=32 -g -fasynchronous-unwind-tables -march=x86-64-v2 -mtune=ivybridge -mprefer-vector-width=128 -pipe -Wformat -Wformat-security -Wno-error -fPIC' │B│ + export CFLAGS │B│ + CGO_CFLAGS='-D_FORTIFY_SOURCE=2 -O2 -Werror=odr -Werror=strict-aliasing -ffat-lto-objects -flto=thin -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector --param ssp-buffer-size=32 -g -fasynchronous-unwind-tables -march=x86-64-v2 -mtune=ivybridge -mprefer-vector-width=128 -pipe -Wformat -Wformat-security -Wno-error -fPIC' │B│ + export CGO_CFLAGS │B│ + CXXFLAGS='-D_FORTIFY_SOURCE=2 -O2 -Werror=odr -Werror=strict-aliasing -ffat-lto-objects -flto=thin -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector --param ssp-buffer-size=32 -g -fasynchronous-unwind-tables -march=x86-64-v2 -mtune=ivybridge -mprefer-vector-width=128 -pipe -Wformat -Wformat-security -Wno-error -fPIC' │B│ + export CXXFLAGS │B│ + CGO_CXXFLAGS='-D_FORTIFY_SOURCE=2 -O2 -Werror=odr -Werror=strict-aliasing -ffat-lto-objects -flto=thin -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector --param ssp-buffer-size=32 -g -fasynchronous-unwind-tables -march=x86-64-v2 -mtune=ivybridge -mprefer-vector-width=128 -pipe -Wformat -Wformat-security -Wno-error -fPIC' │B│ + export CGO_CXXFLAGS │B│ + FFLAGS='-D_FORTIFY_SOURCE=2 -O2 -flto=thin -fno-omit-frame-pointer -g' │B│ + export FFLAGS │B│ + LDFLAGS='-Wl,--as-needed -Wl,--build-id=sha1 -Wl,--compress-debug-sections=zstd -Wl,--icf=safe -Wl,--undefined-version -Wl,-Bsymbolic-functions -Wl,-O2,--gc-sections -Wl,-z,pack-relative-relocs -Wl,-z,relro,-z,now -flto=thin' │B│ + export LDFLAGS │B│ + CGO_LDFLAGS='-Wl,--as-needed -Wl,--build-id=sha1 -Wl,--compress-debug-sections=zstd -Wl,--icf=safe -Wl,--undefined-version -Wl,-Bsymbolic-functions -Wl,-O2,--gc-sections -Wl,-z,pack-relative-relocs -Wl,-z,relro,-z,now -flto=thin -Wl,--no-gc-sections' │B│ + export CGO_LDFLAGS │B│ + DFLAGS='-O2 -flto=thin -frame-pointer=all -g -gc -d-debug -mcpu=x86-64-v2 -release -Hkeep-all-bodies -relocation-model=pic -wi' │B│ + export DFLAGS │B│ + RUSTFLAGS='-C debuginfo=2 -C split-debuginfo=off -C force-frame-pointers -C link-args=-Wl,--build-id=sha1 -C link-args=-Wl,--compress-debug-sections=zstd -C lto=thin -C linker-plugin-lto -C embed-bitcode=yes -C opt-level=3 -C codegen-units=16 -C strip=none -C target-cpu=x86-64-v2' │B│ + export RUSTFLAGS │B│ + CC=clang │B│ + export CC │B│ + CXX=clang++ │B│ + export CXX │B│ + OBJC=clang │B│ + export OBJC │B│ + OBJCXX=clang++ │B│ + export OBJCXX │B│ + CPP=clang-cpp │B│ + export CPP │B│ + OBJCPP='clang -E -' │B│ + export OBJCPP │B│ + OBJCXXCPP='clang++ -E' │B│ + export OBJCXXCPP │B│ + AR=llvm-ar │B│ + export AR │B│ + LD=ld.lld │B│ + export LD │B│ + OBJCOPY=llvm-objcopy │B│ + export OBJCOPY │B│ + NM=llvm-nm │B│ + export NM │B│ + RANLIB=llvm-ranlib │B│ + export RANLIB │B│ + STRIP=llvm-strip │B│ + export STRIP │B│ + PATH=/usr/bin:/bin │B│ + export PATH │B│ + CCACHE_DIR=/mason/ccache │B│ + export CCACHE_DIR │B│ + CCACHE_BASEDIR=/mason/build/x86_64/git-2.53.0.tar.gz │B│ + export CCACHE_BASEDIR │B│ + test -z /mason/ccache │B│ + export 'NINJA_STATUS=[%f/%t %es (%P)] ' │B│ + NINJA_STATUS='[%f/%t %es (%P)] ' │B│ + CARGO_BUILD_DEP_INFO_BASEDIR=/mason/build/x86_64/git-2.53.0.tar.gz │B│ + export CARGO_BUILD_DEP_INFO_BASEDIR │B│ + CARGO_NET_RETRY=5 │B│ + export CARGO_NET_RETRY │B│ + CARGO_PROFILE_RELEASE_DEBUG=full │B│ + export CARGO_PROFILE_RELEASE_DEBUG │B│ + CARGO_PROFILE_RELEASE_SPLIT_DEBUGINFO=off │B│ + export CARGO_PROFILE_RELEASE_SPLIT_DEBUGINFO │B│ + CARGO_PROFILE_RELEASE_LTO=off │B│ + export CARGO_PROFILE_RELEASE_LTO │B│ + CARGO_PROFILE_RELEASE_STRIP=none │B│ + export CARGO_PROFILE_RELEASE_STRIP │B│ + RUSTC_WRAPPER= │B│ + export RUSTC_WRAPPER │B│ + test -z '' │B│ + unset RUSTC_WRAPPER │B│ + GOCACHE= │B│ + export GOCACHE │B│ + test -z '' │B│ + unset GOCACHE │B│ + GOMODCACHE= │B│ + export GOMODCACHE │B│ + test -z '' │B│ + unset GOMODCACHE │B│ + CARGO_HOME= │B│ + export CARGO_HOME │B│ + test -z '' │B│ + unset CARGO_HOME │B│ + SCCACHE_DIR=/mason/sccache │B│ + export SCCACHE_DIR │B│ + test -z /mason/sccache │B│ + LANG=en_US.UTF-8 │B│ + export LANG │B│ + LC_ALL=en_US.UTF-8 │B│ + export LC_ALL │B│ + test -d /mason/build/x86_64/git-2.53.0.tar.gz │B│ + cd /mason/build/x86_64/git-2.53.0.tar.gz │B│ + echo 'The work directory %(workdir) is /mason/build/x86_64/git-2.53.0.tar.gz' │B│ + [[ -d /usr/share/defaults/docbook ]] │B│ The work directory %(workdir) is /mason/build/x86_64/git-2.53.0.tar.gz │B│ + _catalogs=() │B│ ++ find /usr/share/defaults/docbook -type f -name catalog │B│ + for c in $(find /usr/share/defaults/docbook -type f -name 'catalog') │B│ + _catalogs+=("file://${c}") │B│ + for c in $(find /usr/share/defaults/docbook -type f -name 'catalog') │B│ + _catalogs+=("file://${c}") │B│ + XML_CATALOG_FILES='file:///usr/share/defaults/docbook/docbook-dtd/catalog file:///usr/share/defaults/docbook/docbook-xsl/catalog' │B│ + export XML_CATALOG_FILES │B│ + unset _catalogs │B│ + MAKE_OPTS='INSTALL_SYMLINKS=1 NO_GITWEB=1' │B│ + make -j 24 INSTALL_SYMLINKS=1 NO_GITWEB=1 │B│ GIT_VERSION=2.53.0 │B│ * new build flags │B│ * new link flags │B│ GEN command-list.h │B│ CC hex.o │B│ CC hex-ll.o │B│ * new prefix flags │B│ CC hook.o │B│ CC ident.o │B│ CC json-writer.o │B│ CC kwset.o │B│ CC levenshtein.o │B│ CC line-log.o │B│ CC line-range.o │B│ CC linear-assignment.o │B│ CC list-objects-filter-options.o │B│ CC list-objects-filter.o │B│ CC list-objects.o │B│ CC lockfile.o │B│ CC log-tree.o │B│ CC loose.o │B│ CC ls-refs.o │B│ CC mailinfo.o │B│ CC mailmap.o │B│ CC match-trees.o │B│ CC mem-pool.o │B│ CC merge-blobs.o │B│ CC merge-ll.o │B│ CC merge-ort.o │B│ In file included from list-objects-filter.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrcIn file included from hloose.cr:(1p: │B│ a./git-compat-util.ht:h344,: 9':/ 'warning: )returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]; │B│ │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 344 | return st r296r | c h r_(_pgaltihb,c _'c/o'n)s;t │B│ _ g| e ^~~~~~~~~~~~~~~~~~n │B│ eric (S,/usr/include/string.h :c296o:n3s:t note: cexpanded from macro 'strrchr'h │B│ ar *, strr c296h | r (_S_,g lCi)b)c │B│ _ c| o ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~n │B│ st_g/usr/include/sys/cdefs.he:n838e:r3i:c note: (expanded from macro '__glibc_const_generic'S │B│ , const c838h | a r _*G,e nsetrrircc h(r0 (?S ,( PCT)R)) │B│ :| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~( │B│ void/usr/include/sys/cdefs.h :*838): 31:, note: expanded from macro '__glibc_const_generic' │B│ \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 838 | 839 | _ G e n e rciocn s(t0 v?o i(dP T*R:) (:C T(YvPoEi)d (*C)A L1L,) , \\ │B│ │B│ | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ │B│ 840 | 839 | d ecfoanusltt :v oCiAdL L*): │B│ (| C ~~~~~~~~~~~~~~T │B│ YPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from In file included from levenshtein.clist-objects-filter-options.c::13: │B│ : │B│ ./git-compat-util.h./git-compat-util.h::344344::99:: warning: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ │B│ 344344 | | rreettuurrnn ssttrrrrcchhrr((ppaatthh,, ''//''));; │B│ │B│ | | ^~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~ │B│ │B│ /usr/include/string.h/usr/include/string.h::296296::33:: note: note: expanded from macro 'strrchr'expanded from macro 'strrchr' │B│ │B│ 296296 | | ____gglliibbcc__ccoonnsstt__ggeenneerriicc ((SS,, ccoonnsstt cchhaarr **,, ssttrrrrcchhrr ((SS,, CC)))) │B│ │B│ | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ │B│ /usr/include/sys/cdefs.h/usr/include/sys/cdefs.h::838838::33:: note: note: expanded from macro '__glibc_const_generic'expanded from macro '__glibc_const_generic' │B│ │B│ 838 | 838 | _ G_eGneenreirci c( 0( 0? ?( P(TPRT)R ): :( v(oviodi d* )* )1 ,1, \\ │B│ │B│ | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ │B│ 839839 | | ccoonnsstt vvooiidd **:: ((CCTTYYPPEE)) ((CCAALLLL)),, \\ │B│ │B│ | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ │B│ 840840 | | ddeeffaauulltt:: CCAALLLL)) │B│ │B│ | | ~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ │B│ │B│ In file included from linear-assignment.c:6: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from lockfile.c:5: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from hex.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from list-objects.c:3: │B│ In file included from ./git-compat-util.hline-range.c::1344: │B│ :./git-compat-util.h9:: 344warning: :9returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]: │B│ warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344344 | | rreettuurnr ns tsrtrrcrhchr(pra(tphat,h, ''//''));; │B│ │B│ | ^~~~~~~~~~~~~~~~~~| │B│ ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296/usr/include/string.h::2963:: 3note: : expanded from macro 'strrchr'note: │B│ expanded from macro 'strrchr' │B│ 296296 | | ____gglliibbcc__ccoonnsstt__ggeenneerriicc ((SS,, ccoonnsstt cchhaarr **,, ssttrrrrcchhrr ((SS,, CC)))) │B│ │B│ | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ │B│ /usr/include/sys/cdefs.h/usr/include/sys/cdefs.h::838838::33:: note: note: expanded from macro '__glibc_const_generic'expanded from macro '__glibc_const_generic' │B│ │B│ 838838 | | __GGeenneerriicc ((00 ?? ((PPTTRR)) :: ((vvooiidd **)) 11,, \\ │B│ │B│ | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ │B│ 839839 | | ccoonnsstt vvooiidd **:: ((CCTTYYPPEE)) ((CCAALLLL)),, \\ │B│ │B│ | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ │B│ 840840 | | ddeeffaauulltt:: CCAALLLL)) │B│ │B│ | | ~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ │B│ │B│ In file included from merge-blobs.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from line-log.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from ls-refs.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from hook.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ In file included from 344 | kwset.c :r37e: │B│ t./git-compat-util.hu:r344n: 9s:t rwarning: rreturning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]c │B│ hr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ 344 | /usr/include/string.h :r296e:t3u:r nnote: expanded from macro 'strrchr's │B│ trrchr(path ,296 | ' / '_)_;g │B│ l i| b ^~~~~~~~~~~~~~~~~~c │B│ _const_g/usr/include/string.he:n296e:r3i:c note: (expanded from macro 'strrchr'S │B│ , const cha r296 | * , _s_tgrlricbhcr_ c(oSn,s tC_)g)e │B│ n e| r ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~i │B│ c (S,/usr/include/sys/cdefs.h :c838o:n3s:t note: cexpanded from macro '__glibc_const_generic'h │B│ ar *, str r838c | h r _(GSe,n eCr)i)c │B│ (| 0 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ? (PT/usr/include/sys/cdefs.hR:)838 ::3 :( vnote: oexpanded from macro '__glibc_const_generic'i │B│ d *) 1, 838\ | │B│ | _ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~G │B│ eneric 839( | 0 ? ( PcToRn)s t: v(oviodi d* :* )( C1T,Y P E )\ │B│ ( C| A ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~L │B│ L), \ │B│ 839 | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ c o840n | s t v o idde f*a:u l(tC:T YCPAEL)L )( │B│ C A| L ~~~~~~~~~~~~~~L │B│ ), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from ident.c:8: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from hex-ll.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from mailmap.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from log-tree.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from match-trees.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from json-writer.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from mem-pool.c:7: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from merge-ll.c:10: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from mailinfo.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from merge-ort.c:20: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ mem-pool.c:172:8: warning: initializing 'char *' with an expression of type 'const void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 172 | char *p = memchr(str, '\0', len); │B│ | ^ ~~~~~~~~~~~~~~~~~~~~~~ │B│ CC merge-ort-wrappers.o │B│ 1 warning generated. │B│ CC merge.o │B│ 1 warning generated. │B│ mailinfo.c:1144:9: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 1144 | char *ep = strchr(sp, '\n'); │B│ | ^ ~~~~~~~~~~~~~~~~ │B│ CC midx.o │B│ 2 warnings generated. │B│ 1 warning generated. │B│ CC midx-write.o │B│ 1 warning generated. │B│ CC name-hash.o │B│ CC negotiator/default.o │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC negotiator/noop.o │B│ CC negotiator/skipping.o │B│ CC notes-cache.o │B│ 1 warning generated. │B│ CC notes-merge.o │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC notes-utils.o │B│ 1 warning generated. │B│ merge-ort.c:2734:9: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 2734 | char *last_slash = strrchr(cur_path, '/'); │B│ | ^ ~~~~~~~~~~~~~~~~~~~~~~ │B│ CC notes.o │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC object-file-convert.o │B│ CC object-file.o │B│ CC object-name.o │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC object.o │B│ CC odb.o │B│ 1 warning generated. │B│ CC odb/streaming.o │B│ 1 warning generated. │B│ CC oid-array.o │B│ 1 warning generated. │B│ CC oidmap.o │B│ In file included from merge-ort-wrappers.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from merge.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from name-hash.c:12: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from midx.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from midx-write.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from negotiator/default.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from negotiator/skipping.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from negotiator/noop.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from notes-cache.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC oidset.o │B│ 1 warning generated. │B│ In file included from notes-utils.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ 1 warning generated. │B│ In file included from notes-merge.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from object-file.c:12: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from notes.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC oidtree.o │B│ CC pack-bitmap-write.o │B│ In file included from object-file-convert.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC pack-bitmap.o │B│ In file included from object-name.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from odb.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC pack-check.o │B│ In file included from object.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from oid-array.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC pack-mtimes.o │B│ In file included from oidmap.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ In file included from odb/streaming.c:5: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC pack-objects.o │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC pack-refs.o │B│ CC pack-revindex.o │B│ 2 warnings generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC pack-write.o │B│ CC packfile.o │B│ CC pager.o │B│ object-name.c:1780:11: warning: assigning to 'char *' from 'const void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 1780 | (at = memchr(start, '@', namelen - (start - name))); │B│ | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC parallel-checkout.o │B│ 1 warning generated. │B│ CC parse.o │B│ 1 warning generated. │B│ CC parse-options-cb.o │B│ In file included from oidset.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from oidtree.c:5: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from pack-bitmap-write.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from pack-bitmap.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC parse-options.o │B│ In file included from pack-check.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from pack-mtimes.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC patch-delta.o │B│ CC patch-ids.o │B│ In file included from pack-objects.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ In file included from pack-refs.c:1: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC path.o │B│ In file included from pack-revindex.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from pack-write.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from packfile.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from pager.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from parallel-checkout.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC path-walk.o │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC pathspec.o │B│ pager.c:121:9: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 121 | char *cp = strchr(argv[i], '='); │B│ | ^ ~~~~~~~~~~~~~~~~~~~~ │B│ CC pkt-line.o │B│ In file included from parse.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from parse-options-cb.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ pack-revindex.c:564:8: warning: assigning to 'uint32_t *' (aka 'unsigned int *') from 'const void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 564 | found = bsearch(key, m->revindex_data, m->num_objects, │B│ | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 565 | sizeof(*m->revindex_data), │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 566 | midx_pack_order_cmp); │B│ | ~~~~~~~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC preload-index.o │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC pretty.o │B│ 1 warning generated. │B│ 2 warnings generated. │B│ CC prio-queue.o │B│ CC progress.o │B│ CC promisor-remote.o │B│ 1 warning generated. │B│ CC prompt.o │B│ In file included from parse-options.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC protocol.o │B│ In file included from patch-delta.c:12: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC protocol-caps.o │B│ 1 warning generated. │B│ In file included from patch-ids.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ CC prune-packed.o │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 2 warnings generated. │B│ CC pseudo-merge.o │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC quote.o │B│ CC range-diff.o │B│ In file included from path.c:5: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC reachable.o │B│ In file included from path-walk.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from pathspec.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ 2 warnings generated. │B│ CC read-cache.o │B│ In file included from pkt-line.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC rebase-interactive.o │B│ In file included from preload-index.c:7: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from pretty.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from prio-queue.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ pkt-line.c:401:7: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 401 | path = strstr(buffer + len + 1, URI_MARK); │B│ | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ In file included from promisor-remote.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from progress.c:14: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from prompt.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from protocol.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ 1 warning generated. │B│ In file included from protocol-caps.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC rebase.o │B│ CC ref-filter.o │B│ 1 warning generated. │B│ In file included from prune-packed.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC reflog-walk.o │B│ CC reflog.o │B│ In file included from pseudo-merge.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from range-diff.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ In file included from quote.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC refs.o │B│ CC refs/debug.o │B│ 1 warning generated. │B│ CC refs/files-backend.o │B│ 2 warnings generated. │B│ In file included from reachable.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC refs/reftable-backend.o │B│ 1 warning generated. │B│ CC refs/iterator.o │B│ In file included from read-cache.c:10: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC refs/packed-backend.o │B│ In file included from rebase-interactive.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ range-diff.c:109:29: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 109 | if (include_merges && (q = strstr(p, " (from "))) │B│ | ^ ~~~~~~~~~~~~~~~~~~~~ │B│ pseudo-merge.c:647:9: warning: returning 'const void *' from a function with result type 'struct pseudo_merge_commit *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 647 | return bsearch(&pos, pm->commits, pm->commits_nr, │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 648 | PSEUDO_MERGE_COMMIT_RAWSZ, pseudo_merge_commit_cmp); │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/stdlib.h:992:3: note: expanded from macro 'bsearch' │B│ 992 | __glibc_const_generic (BASE, const void *, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 993 | bsearch (KEY, BASE, NMEMB, SIZE, COMPAR)) │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC refs/ref-cache.o │B│ 2 warnings generated. │B│ CC refspec.o │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC reftable/basics.o │B│ CC reftable/block.o │B│ In file included from rebase.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from ref-filter.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC reftable/blocksource.o │B│ In file included from reflog-walk.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ In file included from reflog.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC reftable/error.o │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC reftable/fsck.o │B│ CC reftable/iter.o │B│ CC reftable/merged.o │B│ In file included from refs.c:7: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from refs/debug.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from refs/reftable-backend.c:3: │B│ refs/../git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from refs/iterator.c:8: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from refs/files-backend.c:4: │B│ refs/../git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ reflog-walk.c:160:17: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 160 | char *branch, *at = strchr(name, '@'); │B│ | ^ ~~~~~~~~~~~~~~~~~ │B│ CC reftable/pq.o │B│ 2 warnings generated. │B│ In file included from refs/packed-backend.c:4: │B│ refs/../git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC reftable/record.o │B│ ref-filter.c:2237:9: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 2237 | char *p = strrchr(start, '/'); │B│ | ^ ~~~~~~~~~~~~~~~~~~~ │B│ 2 warnings generated. │B│ CC reftable/stack.o │B│ CC reftable/system.o │B│ In file included from refs/ref-cache.c:1: │B│ refs/../git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC reftable/table.o │B│ In file included from refspec.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC reftable/tree.o │B│ CC reftable/writer.o │B│ 2 warnings generated. │B│ CC remote.o │B│ 1 warning generated. │B│ CC repack.o │B│ CC repack-cruft.o │B│ CC repack-filtered.o │B│ refs/files-backend.c:2192:18: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 2192 | !(email_end = strchr(p, '>')) || │B│ | ^ ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC repack-geometry.o │B│ CC repack-midx.o │B│ 1 warning generated. │B│ CC repack-promisor.o │B│ CC replace-object.o │B│ 1 warning generated. │B│ CC repo-settings.o │B│ CC repository.o │B│ 1 warning generated. │B│ CC rerere.o │B│ 1 warning generated. │B│ CC reset.o │B│ In file included from reftable/system.c:1: │B│ reftable/../git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC resolve-undo.o │B│ 1 warning generated. │B│ In file included from repack.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC revision.o │B│ In file included from In file included from repack-cruft.crepack-filtered.c::11: │B│ : │B│ ./git-compat-util.h./git-compat-util.h::344344::99:: warning: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ │B│ 344344 | | rreettuurrnn ssttrrrrcchhrr((ppaatthh,, ''//''));; │B│ │B│ | | ^~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~ │B│ │B│ /usr/include/string.h:/usr/include/string.h296::2963::3 :note: expanded from macro 'strrchr'note: │B│ expanded from macro 'strrchr' │B│ 296 | 296 | _ __g_lgilbicb_cc_ocnosnts_tg_egneenreirci c( S(,S ,c ocnosnts tc hcahra r* ,* ,s tsrtrrcrhcrh r( S(,S ,C )C)) │B│ ) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| │B│ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h/usr/include/sys/cdefs.h::838838::33:: note: note: expanded from macro '__glibc_const_generic'expanded from macro '__glibc_const_generic' │B│ │B│ 838838 | | __GGeenneerriicc ((00 ?? ((PPTTRR)) :: ((vvooiidd **)) 11,, \\ │B│ │B│ | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ │B│ 839839 | | ccoonnsstt vvooiidd **:: ((CCTTYYPPEE)) ((CCAALLLL)),, \\ │B│ │B│ | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ │B│ 840840 | | ddeeffaauulltt:: CCAALLLL)) │B│ │B│ | | ~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ │B│ │B│ In file included from remote.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from repack-midx.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from repack-geometry.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC run-command.o │B│ 1 warning generated. │B│ CC send-pack.o │B│ In file included from repack-promisor.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from repo-settings.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from replace-object.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC sequencer.o │B│ In file included from repository.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC serve.o │B│ 1 warning generated. │B│ In file included from rerere.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC server-info.o │B│ CC setup.o │B│ In file included from reset.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC shallow.o │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC sideband.o │B│ CC sigchain.o │B│ 1 warning generated. │B│ CC sparse-index.o │B│ CC split-index.o │B│ In file included from resolve-undo.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC stable-qsort.o │B│ 1 warning generated. │B│ CC statinfo.o │B│ In file included from revision.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from send-pack.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from run-command.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC strbuf.o │B│ 1 warning generated. │B│ CC string-list.o │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC strmap.o │B│ run-command.c:608:9: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 608 | char *equals = strchr(*e, '='); │B│ | ^ ~~~~~~~~~~~~~~~ │B│ CC strvec.o │B│ In file included from sequencer.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ send-pack.c:184:5: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 184 | p = strchr(head, ' '); │B│ | ^ ~~~~~~~~~~~~~~~~~ │B│ send-pack.c:215:6: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 215 | p = strchr(key, ' '); │B│ | ^ ~~~~~~~~~~~~~~~~ │B│ send-pack.c:240:5: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 240 | p = strchr(refname, ' '); │B│ | ^ ~~~~~~~~~~~~~~~~~~~~ │B│ In file included from serve.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from setup.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from shallow.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ revision.cIn file included from server-info.c::32134: │B│ :./git-compat-util.h8::344: 9warning: : initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]warning: │B│ returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 2134 | char *d o344t | d orte t=u rsnt rssttrrr(cahrrg(,p a"t.h.," )';/ │B│ ' )| ; ^ ~~~~~~~~~~~~~~~~~ │B│ │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ revision.c:2178:7: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 2178 | mark = strstr(arg, "^@"); │B│ | ^ ~~~~~~~~~~~~~~~~~ │B│ revision.c:2187:7: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 2187 | mark = strstr(arg, "^!"); │B│ | ^ ~~~~~~~~~~~~~~~~~ │B│ revision.c:2193:7: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 2193 | mark = strstr(arg, "^-"); │B│ | ^ ~~~~~~~~~~~~~~~~~ │B│ 2 warnings generated. │B│ In file included from sideband.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC sub-process.o │B│ In file included from split-index.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from sparse-index.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from sigchain.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from stable-qsort.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC submodule-config.o │B│ In file included from statinfo.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC submodule.o │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC symlinks.o │B│ 1 warning generated. │B│ CC tag.o │B│ In file included from string-list.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC tempfile.o │B│ In file included from strbuf.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ 4 warnings generated. │B│ CC thread-utils.o │B│ string-list.c:341:8: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ CC tmp-objdir.o │B│ 341 | end = strpbrk(p, delim); │B│ | ^ ~~~~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC trace.o │B│ In file included from strmap.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from strvec.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC trace2.o │B│ 1 warning generated. │B│ CC trace2/tr2_cfg.o │B│ 1 warning generated. │B│ CC trace2/tr2_cmd_name.o │B│ 1 warning generated. │B│ CC trace2/tr2_ctr.o │B│ 2 warnings generated. │B│ 1 warning generated. │B│ CC trace2/tr2_dst.o │B│ CC trace2/tr2_sid.o │B│ 1 warning generated. │B│ 2 warnings generated. │B│ CC trace2/tr2_sysenv.o │B│ In file included from sub-process.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC trace2/tr2_tbuf.o │B│ In file included from submodule-config.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 2 warnings generated. │B│ CC trace2/tr2_tgt_event.o │B│ In file included from symlinks.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from submodule.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from tag.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from tempfile.c:47: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ In file included from thread-utils.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC trace2/tr2_tgt_normal.o │B│ In file included from tmp-objdir.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from trace.c:26: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from trace2.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC trace2/tr2_tgt_perf.o │B│ CC trace2/tr2_tls.o │B│ In file included from trace2/tr2_cmd_name.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from trace2/tr2_cfg.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 1 warning generated . │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC trace2/tr2_tmr.o │B│ 1 warning generated. │B│ In file included from trace2/tr2_ctr.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ In file included from trace2/tr2_dst.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC trailer.o │B│ CC transport-helper.o │B│ 1 warning generated. │B│ CC transport.o │B│ In file included from trace2/tr2_sid.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC tree-diff.o │B│ In file included from trace2/tr2_tbuf.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ In file included from trace2/tr2_sysenv.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC tree-walk.o │B│ 1 warning generated. │B│ CC tree.o │B│ CC unpack-trees.o │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC upload-pack.o │B│ CC url.o │B│ 1 warning generated. │B│ CC urlmatch.o │B│ 1 warning generated. │B│ In file included from trace2/tr2_tgt_event.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC usage.o │B│ 1 warning generated. │B│ CC userdiff.o │B│ 1 warning generated. │B│ CC utf8.o │B│ 1 warning generated. │B│ CC varint.o │B│ 1 warning generated. │B│ In file included from trace2/tr2_tgt_normal.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC versioncmp.o │B│ In file included from trace2/tr2_tls.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC walker.o │B│ In file included from trace2/tr2_tgt_perf.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from trace2/tr2_tmr.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from trailer.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from transport.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC wildmatch.o │B│ 1 warning generated. │B│ In file included from tree-diff.c:8: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from transport-helper.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC worktree.o │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC wrapper.o │B│ In file included from tree-walk.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC write-or-die.o │B│ In file included from unpack-trees.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from url.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from upload-pack.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from urlmatch.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from tree.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from usage.c:7: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ transport-helper.c:803:5: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 803 | p = strchr(key, ' '); │B│ | ^ ~~~~~~~~~~~~~~~~ │B│ transport.c:1663:12: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 1663 | anon_part = strchr(url, '@'); │B│ | ^ ~~~~~~~~~~~~~~~~ │B│ transport.c:1668:16: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 1668 | scheme_prefix = strstr(url, "://"); │B│ | ^ ~~~~~~~~~~~~~~~~~~ │B│ In file included from userdiff.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC ws.o │B│ In file included from varint.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from utf8.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC wt-status.o │B│ In file included from versioncmp.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ In file included from walker.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC xdiff-interface.o │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC xdiff/xdiffi.o │B│ CC xdiff/xemit.o │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC xdiff/xhistogram.o │B│ 1 warning generated. │B│ CC xdiff/xmerge.o │B│ CC xdiff/xpatience.o │B│ In file included from wildmatch.c:12: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ In file included from write-or-die.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC xdiff/xprepare.o │B│ In file included from worktree.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ In file included from wrapper.c:7: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC xdiff/xutils.o │B│ wrapper.c:118:8: warning: initializing 'char *' with an expression of type 'const void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 118 | char *p = memchr(str, '\0', len); │B│ | ^ ~~~~~~~~~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC unix-socket.o │B│ In file included from ws.c:9: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC unix-stream-server.o │B│ 1 warning generated. │B│ CC compat/simple-ipc/ipc-shared.o │B│ CC compat/simple-ipc/ipc-unix-socket.o │B│ In file included from wt-status.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC sha1dc_git.o │B│ 3 warnings generated. │B│ 1 warning generated. │B│ CC sha1dc/sha1.o │B│ CC sha1dc/ubc_check.o │B│ In file included from xdiff-interface.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from xdiff/xdiffi.c:23: │B│ In file included from xdiff/xinclude.h:26: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from xdiff/xemit.c:23: │B│ In file included from xdiff/xinclude.h:26: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from xdiff/xhistogram.c:44: │B│ In file included from xdiff/xinclude.h:26: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from xdiff/xpatience.c:23: │B│ In file included from xdiff/xinclude.h:26: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from xdiff/xmerge.c:23: │B│ In file included from xdiff/xinclude.h:26: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 2 warnings generated. │B│ CC sha256/block/sha256.o │B│ 2 warnings generated. │B│ In file included from xdiff/xprepare.c:23: │B│ In file included from xdiff/xinclude.h:26: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC compat/linux/procinfo.o │B│ CC compat/fopen.o │B│ In file included from xdiff/xutils.c:23: │B│ In file included from xdiff/xinclude.h:26: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from unix-socket.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ 5 warnings generated. │B│ 1 warning generated. │B│ CC compat/qsort_s.o │B│ CC http-backend.o │B│ 1 warning generated. │B│ CC imap-send.o │B│ In file included from unix-stream-server.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC http.o │B│ 1 warning generated. │B│ In file included from compat/simple-ipc/ipc-shared.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC sh-i18n--envsubst.o │B│ 1 warning generated. │B│ CC shell.o │B│ CC http-walker.o │B│ In file included from compat/simple-ipc/ipc-unix-socket.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ 1 warning generated. │B│ In file included from sha1dc/sha1.c:19: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC http-fetch.o │B│ In file included from sha1dc_git.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC http-push.o │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC remote-curl.o │B│ In file included from sha1dc/ubc_check.c:31: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ * new script parameters │B│ CC git.o │B│ * new perl-specific parameters │B│ CC builtin/add.o │B│ 1 warning generated. │B│ In file included from sha256/block/sha256.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC builtin/am.o │B│ In file included from compat/fopen.c:12: │B│ compat/../git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from compat/linux/procinfo.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC builtin/annotate.o │B│ CC builtin/apply.o │B│ CC builtin/archive.o │B│ 1 warning generated. │B│ CC builtin/backfill.o │B│ 1 warning generated. │B│ CC builtin/bisect.o │B│ In file included from http-backend.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from compat/qsort_s.c:1: │B│ compat/../git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC builtin/blame.o │B│ In file included from imap-send.c:27: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from http.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL)In file included from │B│ sh-i18n--envsubst.c :| ~~~~~~~~~~~~~~16 │B│ : │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from shell.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_gIn file included from ehttp-push.cne:r3i: │B│ c./git-compat-util.h (:S344,: 9c:o nwarning: sreturning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]t │B│ char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~344 │B│ | ret/usr/include/sys/cdefs.hu:r838n: 3s:t rnote: rexpanded from macro '__glibc_const_generic'c │B│ hr(path, 838' | / ' )_;G │B│ e n| e ^~~~~~~~~~~~~~~~~~r │B│ ic (0 ? (P/usr/include/string.hT:R296): 3:: (note: vexpanded from macro 'strrchr'o │B│ id *) 1, \ │B│ | 296 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | │B│ __gli b839c | _ c o n s tc_ognesnte rvioci d( S*,: c(oCnTsYtP Ec)h a(rC A*L,L )s,t r r\c │B│ h r| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~( │B│ S, C840) | ) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ defau/usr/include/sys/cdefs.hlt::838 :C3A:L Lnote: )expanded from macro '__glibc_const_generic' │B│ │B│ | ~~~~~~~~~~~~~~ │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from http-walker.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from http-fetch.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC builtin/branch.o │B│ GEN hook-list.h │B│ In file included from remote-curl.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC builtin/bundle.o │B│ In file included from git.c:3: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/add.c:7: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ 1 warning generated. │B│ In file included from builtin/am.c:9: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC builtin/cat-file.o │B│ CC builtin/check-attr.o │B│ 1 warning generated. │B│ CC builtin/check-ignore.o │B│ In file included from builtin/backfill.c:4: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/annotate.c:7: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/apply.c:2: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ http.c:755:10: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 755 | char *semicolon = strstr(cookie, "; "); │B│ | ^ ~~~~~~~~~~~~~~~~~~~~ │B│ In file included from builtin/archive.c:5: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/bisect.c:4: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC builtin/check-mailmap.o │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC builtin/check-ref-format.o │B│ CC builtin/checkout--worker.o │B│ In file included from builtin/blame.c:10: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/branch.c:10: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC builtin/checkout-index.o │B│ 1 warning generated. │B│ CC builtin/checkout.o │B│ 1 warning generated. │B│ CC builtin/clean.o │B│ 1 warning generated. │B│ CC builtin/clone.o │B│ In file included from builtin/bundle.c:2: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ http-push.c:1771:10: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 1771 | char *path = strstr(arg, "//"); │B│ | ^ ~~~~~~~~~~~~~~~~~ │B│ In file included from builtin/check-attr.c:2: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/cat-file.c:10: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC builtin/column.o │B│ In file included from builtin/check-ignore.c:2: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC builtin/commit-graph.o │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC builtin/commit-tree.o │B│ CC builtin/commit.o │B│ In file included from builtin/check-mailmap.c:2: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/check-ref-format.c:4: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/checkout--worker.c:4: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC builtin/config.o │B│ CC builtin/count-objects.o │B│ In file included from builtin/checkout-index.c:10: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ In file included from builtin/checkout.c:4: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC builtin/credential-cache--daemon.o │B│ In file included from builtin/clone.c:14: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/clean.c:12: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC builtin/credential-cache.o │B│ 1 warning generated. │B│ CC builtin/credential-store.o │B│ 1 warning generated. │B│ CC builtin/credential.o │B│ 1 warning generated. │B│ CC builtin/describe.o │B│ In file included from builtin/column.c:2: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC builtin/diagnose.o │B│ In file included from builtin/commit-graph.c:2: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/commit-tree.c:7: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC builtin/diff-files.o │B│ 1 warning generated. │B│ 1 warning generated. │B│ In file included from builtin/commit.c:11: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC builtin/diff-index.o │B│ CC builtin/diff-pairs.o │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC builtin/diff-tree.o │B│ CC builtin/diff.o │B│ 2 warnings generated. │B│ In file included from builtin/count-objects.c:7: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC builtin/difftool.o │B│ In file included from builtin/config.c:2: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC builtin/fast-export.o │B│ 1 warning generated. │B│ In file included from builtin/credential-cache--daemon.c:2: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC builtin/fast-import.o │B│ 1 warning generated. │B│ CC builtin/fetch-pack.o │B│ In file included from builtin/credential-store.c:2: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/credential.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/credential-cache.c:1: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ builtin/config.c:723:15: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 723 | section_tail = strchr(config.section, '.'); │B│ | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ CC builtin/fetch.o │B│ builtin/commit.c:820:10: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 820 | buffer = strstr(use_message_buffer, "\n\n"); │B│ | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC builtin/fmt-merge-msg.o │B│ CC builtin/for-each-ref.o │B│ In file included from builtin/describe.c:4: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/diagnose.c:3: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC builtin/for-each-repo.o │B│ 1 warning generated. │B│ CC builtin/fsck.o │B│ 1 warning generated. │B│ CC builtin/fsmonitor--daemon.o │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC builtin/gc.o │B│ In file included from builtin/diff-files.c:10: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC builtin/get-tar-commit-id.o │B│ In file included from builtin/diff-pairs.c:1: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ CC builtin/grep.o │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/diff-tree.c:3: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/diff-index.c:4: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/diff.c:10: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/difftool.c:15: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/fast-export.c:10: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/fetch-pack.c:4: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/fast-import.c:4: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC builtin/hash-object.o │B│ In file included from builtin/fetch.c:8: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ GEN config-list.h │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC builtin/hook.o │B│ CC builtin/index-pack.o │B│ In file included from builtin/for-each-ref.c:1: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/fmt-merge-msg.c:1: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/fsck.c:2: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC builtin/init-db.o │B│ 1 warning generated. │B│ In file included from builtin/for-each-repo.c:3: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC builtin/interpret-trailers.o │B│ In file included from builtin/grep.c:10: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/gc.c:16: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/fsmonitor--daemon.c:4: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC builtin/last-modified.o │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC builtin/log.o │B│ CC builtin/ls-files.o │B│ CC builtin/ls-remote.o │B│ 1 warning generated. │B│ 1 warning generated. │B│ In file included from builtin/get-tar-commit-id.c:4: │B│ CC builtin/ls-tree.o │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC builtin/mailinfo.o │B│ 1 warning generated. │B│ CC builtin/mailsplit.o │B│ 1 warning generated. │B│ 2 warnings generated. │B│ CC builtin/merge-base.o │B│ CC builtin/merge-file.o │B│ 1 warning generated. │B│ CC builtin/merge-index.o │B│ 1 warning generated. │B│ CC builtin/merge-ours.o │B│ In file included from builtin/hash-object.c:8: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/index-pack.c:4: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/hook.c:2: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/interpret-trailers.c:8: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC builtin/merge-recursive.o │B│ In file included from builtin/init-db.c:7: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/last-modified.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/ls-files.c:11: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1In file included from warningbuiltin/ls-remote.c generated:. │B│ 2: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/log.c:10: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/ls-tree.c:7: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC builtin/merge-tree.o │B│ In file included from builtin/mailinfo.c:6: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC builtin/merge.o │B│ 2 warnings generated. │B│ 2 warnings generated. │B│ In file included from builtin/merge-file.c:4: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC builtin/mktag.o │B│ CC builtin/mktree.o │B│ In file included from builtin/mailsplit.c:10: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC builtin/multi-pack-index.o │B│ 1 warning generated. │B│ CC builtin/mv.o │B│ In file included from builtin/merge-index.c:4: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC builtin/name-rev.o │B│ CC builtin/notes.o │B│ 1 warning generated. │B│ In file included from builtin/merge-ours.c:13: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/merge-base.c:2: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC builtin/pack-objects.o │B│ 1 warning generated. │B│ CC builtin/pack-redundant.o │B│ 1 warning generated. │B│ CC builtin/pack-refs.o │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC builtin/patch-id.o │B│ 1 warning generated. │B│ CC builtin/prune-packed.o │B│ CC builtin/prune.o │B│ In file included from builtin/merge-tree.c:3: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC builtin/pull.o │B│ In file included from builtin/merge-recursive.c:2: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC builtin/push.o │B│ CC builtin/range-diff.o │B│ In file included from builtin/mktag.c:2: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/mktree.c:7: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/merge.c:12: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/multi-pack-index.c:2: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/name-rev.c:4: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC builtin/read-tree.o │B│ In file included from builtin/notes.c:10: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/pack-objects.c:4: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC builtin/rebase.o │B│ In file included from builtin/mv.c:10: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC builtin/receive-pack.o │B│ CC builtin/reflog.o │B│ In file included from builtin/pack-refs.c:1: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC builtin/refs.o │B│ In file included from builtin/pack-redundant.c:11: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/prune-packed.c:1: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/prune.c:3: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC builtin/remote-ext.o │B│ 1 warning generated. │B│ In file included from builtin/pull.c:11: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC builtin/remote-fd.o │B│ In file included from builtin/range-diff.c:3: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC builtin/remote.o │B│ In file included from builtin/push.c:7: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC builtin/repack.o │B│ 1 warning generated. │B│ CC builtin/replace.o │B│ 1 warning generated. │B│ In file included from builtin/read-tree.c:7: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC builtin/replay.o │B│ 1 warning generated. │B│ CC builtin/repo.o │B│ In file included from builtin/rebase.c:10: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/patch-id.c:3: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC builtin/rerere.o │B│ 1 warning generated. │B│ In file included from builtin/receive-pack.c:4: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC builtin/reset.o │B│ In file included from builtin/reflog.c:3: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC builtin/rev-list.o │B│ In file included from builtin/refs.c:2: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/remote-ext.c:1: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/remote-fd.c:1: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ In file included from builtin/remote.c:3: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ CC builtin/rev-parse.o │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ builtin/receive-pack.c:400:4: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 400 | p = strchr(prefix, ':'); │B│ | ^ ~~~~~~~~~~~~~~~~~~~ │B│ builtin/receive-pack.c:1009:5: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 1009 | p = strchr(head, ' '); │B│ | ^ ~~~~~~~~~~~~~~~~~ │B│ builtin/receive-pack.c:1039:6: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 1039 | p = strchr(key, ' '); │B│ | ^ ~~~~~~~~~~~~~~~~ │B│ builtin/receive-pack.c:1062:5: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 1062 | p = strchr(refname, ' '); │B│ | ^ ~~~~~~~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC builtin/revert.o │B│ CC builtin/rm.o │B│ 1 warning generated. │B│ CC builtin/send-pack.o │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC builtin/shortlog.o │B│ CC builtin/show-branch.o │B│ In file included from builtin/replace.c:11: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC builtin/show-index.o │B│ 1 warning generated. │B│ builtin/remote.c:335:9: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 335 | char *space = strchr(value, ' '); │B│ | ^ ~~~~~~~~~~~~~~~~~~ │B│ builtin/remote.c:342:10: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 342 | space = strchr(value, ' '); │B│ | ^ ~~~~~~~~~~~~~~~~~~ │B│ CC builtin/show-ref.o │B│ 1 warning generated. │B│ In file included from builtin/repack.c:4: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC builtin/sparse-checkout.o │B│ 1 warning generated. │B│ In file included from builtin/replay.c:8: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC builtin/stash.o │B│ CC builtin/stripspace.o │B│ In file included from builtin/repo.c:3: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC builtin/submodule--helper.o │B│ In file included from builtin/rerere.c:3: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/reset.c:13: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/rev-list.c:4: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC builtin/symbolic-ref.o │B│ In file included from builtin/rm.c:9: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/shortlog.c:3: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/show-branch.c:4: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ In file included from builtin/show-ref.c:2: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/rev-parse.c:10: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC builtin/tag.o │B│ In file included from builtin/show-index.c:4: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/send-pack.c:1: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/stash.c:3: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ In file included from builtin/stripspace.c:2: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC builtin/unpack-file.o │B│ In file included from builtin/sparse-checkout.c:4: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC builtin/unpack-objects.o │B│ In file included from builtin/submodule--helper.c:3: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ builtin/shortlog.c:79:10: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 79 | char *eob = strchr(oneline, ']'); │B│ | ^ ~~~~~~~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC builtin/update-index.o │B│ builtin/rev-parse.c:278:15: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 278 | if (!(dotdot = strstr(arg, ".."))) │B│ | ^ ~~~~~~~~~~~~~~~~~ │B│ builtin/rev-parse.c:339:14: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 339 | if ((dotdot = strstr(arg, "^!"))) { │B│ | ^ ~~~~~~~~~~~~~~~~~ │B│ builtin/rev-parse.c:343:21: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 343 | } else if ((dotdot = strstr(arg, "^@"))) { │B│ | ^ ~~~~~~~~~~~~~~~~~ │B│ builtin/rev-parse.c:347:21: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 347 | } else if ((dotdot = strstr(arg, "^-"))) { │B│ | ^ ~~~~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC builtin/update-ref.o │B│ 1 warning generated. │B│ CC builtin/update-server-info.o │B│ CC builtin/upload-archive.o │B│ CC builtin/upload-pack.o │B│ In file included from builtin/revert.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC builtin/var.o │B│ 1 warning generated. │B│ CC builtin/verify-commit.o │B│ 1 warning generated. │B│ CC builtin/verify-pack.o │B│ In file included from builtin/symbolic-ref.c:2: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC builtin/verify-tag.o │B│ 1 warning generated. │B│ 2 warnings generated. │B│ In file included from builtin/tag.c:12: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC builtin/worktree.o │B│ CC builtin/write-tree.o │B│ In file included from builtin/unpack-objects.c:4: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/unpack-file.c:2: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 5 warnings generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ GEN git-mergetool--lib │B│ GEN git-sh-i18n │B│ GEN git-sh-setup │B│ CC scalar.o │B│ CC daemon.o │B│ CC common-main.o │B│ In file included from builtin/update-index.c:10: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 3 warnings generated. │B│ In file included from builtin/upload-archive.c:5: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC abspath.o │B│ In file included from builtin/update-ref.c:4: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from builtin/upload-pack.c:3: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC add-interactive.o │B│ 1 warning generated. │B│ In file included from builtin/verify-commit.c:8: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC add-patch.o │B│ 1 warning generated. │B│ In file included from builtin/var.c:9: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC advice.o │B│ In file included from builtin/verify-pack.c:2: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ In file included from builtin/update-server-info.c:1: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC alias.o │B│ In file included from builtin/verify-tag.c:8: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ In file included from builtin/write-tree.c:7: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const chaIn file included from rbuiltin/worktree.c :*4,: │B│ In file included from s./builtin.ht:r4r: │B│ c./git-compat-util.hhr: 344(:S9,: Cwarning: )returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]) │B│ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 344 | 838r | e t u_rGne nsetrrircc h(r0( p?a t(hP,T R')/ ':) ;( │B│ v o| i ^~~~~~~~~~~~~~~~~~d │B│ *) 1, /usr/include/string.h : 296\: │B│ 3 :| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~note: │B│ expanded from macro 'strrchr' │B│ 839 | 296 | c o n_s_tg lviobicd_ c*o:n s(tC_TgYePnEe)r i(cC A(LSL,) ,c o n\s │B│ t | c ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~h │B│ ar * ,840 | s t r r c hdre f(aSu,l tC:) )C │B│ A L| L ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~) │B│ │B│ | ~~~~~~~~~~~~~~/usr/include/sys/cdefs.h │B│ :838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC alloc.o │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC apply.o │B│ 1 warning generated. │B│ CC archive-tar.o │B│ CC archive-zip.o │B│ 1 warning generated. │B│ CC archive.o │B│ 1 warning generated. │B│ CC attr.o │B│ In file included from common-main.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ 5 warnings generated. │B│ 1 warning generated. │B│ CC base85.o │B│ CC bisect.o │B│ CC blame.o │B│ In file included from abspath.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC blob.o │B│ 1 warning generated. │B│ In file included from scalar.c:7: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC bloom.o │B│ 1 warning generated. │B│ In file included from daemon.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC branch.o │B│ In file included from add-interactive.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ In file included from add-patch.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC bundle-uri.o │B│ 1 warning generated. │B│ In file included from alias.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC bundle.o │B│ In file included from advice.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ add-patch.c:345:8: warning: initializing 'char *' with an expression of type 'const void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 345 | char *eol = memchr(p, '\n', s->plain.len - hunk->start); │B│ | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ add-patch.c:369:6: warning: assigning to 'char *' from 'const void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 369 | eol = memchr(line, '\n', s->colored.len - hunk->colored_start); │B│ | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ In file included from archive-tar.c:7: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from alloc.c:11: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from apply.c:13: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from archive-zip.c:7: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from archive.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from attr.c:12: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC cache-tree.o │B│ 1 warning generated. │B│ In file included from bisect.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from blob.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC cbtree.o │B│ 1 warning generated. │B│ In file included from blame.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC chdir-notify.o │B│ 1 warning generated. │B│ In file included from branch.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC checkout.o │B│ 1 warning generated. │B│ CC chunk-format.o │B│ In file included from base85.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from bloom.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ apply.c:4154:16: warning: assigning to 'char *' from 'const void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 4154 | (preimage = memchr(hunk->patch, '\n', hunk->size)) != NULL && │B│ | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC color.o │B│ CC column.o │B│ 1 warning generated. │B│ CC combine-diff.o │B│ 1 warning generated. │B│ bloom.c:515:11: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 515 | char *last_slash = strrchr(path, '/'); │B│ | ^ ~~~~~~~~~~~~~~~~~~ │B│ CC commit-graph.o │B│ In file included from bundle-uri.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from bundle.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from cache-tree.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ In file included from cbtree.c:7: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC commit-reach.o │B│ In file included from chdir-notify.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC commit.o │B│ CC common-exit.o │B│ 1 warning generated. │B│ 2 warnings generated. │B│ CC common-init.o │B│ 1 warning generated. │B│ CC compat/nonblock.o │B│ CC compat/obstack.o │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ In file included from chunk-format.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC compat/open.o │B│ CC compat/terminal.o │B│ CC compiler-tricks/not-constant.o │B│ In file included from color.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from column.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from combine-diff.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from checkout.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC config.o │B│ CC connect.o │B│ 1 warning generated. │B│ In file included from commit-graph.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC connected.o │B│ 1 warning generated. │B│ CC convert.o │B│ 1 warning generated. │B│ In file included from commit-reach.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC copy.o │B│ 1 warning generated. │B│ CC credential.o │B│ 1 warning generated. │B│ CC csum-file.o │B│ In file included from compat/obstack.c:20: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from common-exit.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from commit.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from common-init.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from compat/nonblock.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 1 warning generated. │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from compat/terminal.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC ctype.o │B│ In file included from compat/open.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC date.o │B│ CC decorate.o │B│ CC delta-islands.o │B│ In file included from compiler-tricks/not-constant.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC diagnose.o │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC diff-delta.o │B│ CC diff-merges.o │B│ CC diff-lib.o │B│ 1 warning generated. │B│ 3 warnings generated. │B│ CC diff-no-index.o │B│ CC diff.o │B│ In file included from config.c:9: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from connected.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC diffcore-break.o │B│ In file included from connect.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from convert.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from copy.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from credential.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from csum-file.c:11: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from ctype.c:6: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ 1 warning generated. │B│ convert.c:1138:10: warning: assigning to 'char *' from 'const void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 1138 | dollar = memchr(src, '$', len); │B│ | ^ ~~~~~~~~~~~~~~~~~~~~~ │B│ convert.c:1147:11: warning: assigning to 'char *' from 'const void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 1147 | dollar = memchr(src + 3, '$', len - 3); │B│ | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ convert.c:1188:10: warning: assigning to 'char *' from 'const void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 1188 | dollar = memchr(src, '$', len); │B│ | ^ ~~~~~~~~~~~~~~~~~~~~~ │B│ convert.c:1211:11: warning: assigning to 'char *' from 'const void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 1211 | dollar = memchr(src + 3, '$', len - 3); │B│ | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ convert.c:1222:8: warning: assigning to 'char *' from 'const void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 1222 | spc = memchr(src + 4, ' ', dollar - src - 4); │B│ | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ CC diffcore-delta.o │B│ CC diffcore-order.o │B│ In file included from decorate.c:6: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from date.c:9: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from delta-islands.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC diffcore-pickaxe.o │B│ In file included from diff-lib.c:8: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC diffcore-rename.o │B│ In file included from diagnose.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from diff-delta.c:16: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from diff-merges.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from diff.c:8: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ In file included from diff-no-index.c:9: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC diffcore-rotate.o │B│ In file included from diffcore-break.c:7: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC dir-iterator.o │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC dir.o │B│ CC editor.o │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC entry.o │B│ CC environment.o │B│ 1 warning generated. │B│ 1 warning generated. │B│ diff.c:1964:9: warning: initializing 'char *' with an expression of type 'const void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 1964 | char *p = memchr(buf, '\n', count); │B│ | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ │B│ In file included from diffcore-delta.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC ewah/bitmap.o │B│ CC ewah/ewah_bitmap.o │B│ diff.c:3058:9: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 3058 | slash = strchr(f->name + baselen, '/'); │B│ | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ In file included from diffcore-order.c:5: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC ewah/ewah_io.o │B│ In file included from diffcore-pickaxe.c:8: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from diffcore-rename.c:8: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC ewah/ewah_rlw.o │B│ CC exec-cmd.o │B│ In file included from diffcore-rotate.c:6: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC fetch-negotiator.o │B│ CC fetch-pack.o │B│ 1 warning generated. │B│ CC fmt-merge-msg.o │B│ diffcore-rename.c:382:8: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 382 | char *slash = strrchr(filename, '/'); │B│ | ^ ~~~~~~~~~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC fsck.o │B│ In file included from dir-iterator.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ 6 warnings generated. │B│ CC fsmonitor.o │B│ CC fsmonitor-ipc.o │B│ In file included from dir.c:12: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from environment.c:13: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ In file included from entry.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from editor.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC fsmonitor-settings.o │B│ In file included from ewah/bitmap.c:19: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC gettext.o │B│ In file included from ewah/ewah_bitmap.c:20: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ In file included from ewah/ewah_io.c:22: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC git-zlib.o │B│ 1 warning generated. │B│ In file included from ewah/ewah_rlw.c:22: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from exec-cmd.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC gpg-interface.o │B│ In file included from fetch-negotiator.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ dir.c:3524:8: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 3524 | slash = strrchr(name, '/'); │B│ | ^ ~~~~~~~~~~~~~~~~~~ │B│ CC graph.o │B│ In file included from fetch-pack.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ In file included from fmt-merge-msg.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC grep.o │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC hash-lookup.o │B│ CC hash.o │B│ CC hashmap.o │B│ 1 warning generated. │B│ CC help.o │B│ GEN version-def.h │B│ 1 warning generated. │B│ GEN git-difftool--helper │B│ In file included from fsck.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ GEN git-filter-branch │B│ GEN git-merge-octopus │B│ GEN git-merge-one-file │B│ In file included from fsmonitor-ipc.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ GEN git-merge-resolve │B│ GEN git-mergetool │B│ In file included from fsmonitor-settings.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ In file included from fsmonitor.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ GEN git-quiltimport │B│ GEN git-request-pull │B│ GEN git-submodule │B│ GEN git-web--browse │B│ fmt-merge-msg.c:254:7: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 254 | name = strstr(buffer, field); │B│ | ^ ~~~~~~~~~~~~~~~~~~~~~ │B│ GEN GIT-PERL-HEADER │B│ GEN git-p4 │B│ GEN git-instaweb │B│ CC builtin/bugreport.o │B│ CC builtin/help.o │B│ In file included from gettext.c:7: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC version.o │B│ 1 warning generated. │B│ fsck.c:1058:6: warning: assigning to 'char *' from 'const void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ GEN git-archimport │B│ 1058 | eol = memchr(buffer, '\n', buffer_end - buffer); │B│ | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ fsck.c:1074:6: warning: assigning to 'char *' from 'const void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 1074 | eol = memchr(buffer, '\n', buffer_end - buffer); │B│ | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ fsck.c:1100:7: warning: assigning to 'char *' from 'const void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 1100 | eol = memchr(buffer, '\n', buffer_end - buffer); │B│ | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ fsck.c:1108:8: warning: assigning to 'char *' from 'const void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 1108 | eol = memchr(buffer, '\n', buffer_end - buffer); │B│ | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ GEN git-cvsexportcommit │B│ GEN git-cvsimport │B│ 1 warning generated. │B│ GEN git-cvsserver │B│ In file included from git-zlib.c:5: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ GEN git-send-email │B│ GEN git-svn │B│ 1 warning generated. │B│ In file included from gpg-interface.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 2 warnings generated. │B│ In file included from hash-lookup.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from graph.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ gpg-interface.c:444:6: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 444 | key = strstr(line, "key "); │B│ | ^ ~~~~~~~~~~~~~~~~~~~~ │B│ In file included from grep.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ 1 warning generated. │B│ In file included from hash.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from hashmap.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from help.c:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 2 warnings generated. │B│ 1 warning generated. │B│ In file included from version.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void1 * warning generated:. │B│ (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ help.c:860:8: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 860 | char *branch = strrchr(ref->name, '/') + 1; │B│ | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ In file included from builtin/bugreport.c:2: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ In file included from builtin/help.c:7: │B│ In file included from ./builtin.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ 1 warning generated. │B│ 2 warnings generated. │B│ 5 warnings generated. │B│ 2 warnings generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ 2 warnings generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ 2 warnings generated. │B│ 3 warnings generated. │B│ AR libgit.a │B│ LINK git-daemon │B│ LINK git-http-backend │B│ LINK git-imap-send │B│ LINK git-sh-i18n--envsubst │B│ LINK git-shell │B│ LINK git-http-push │B│ LINK git-http-fetch │B│ LINK git-remote-http │B│ LINK git │B│ LINK scalar │B│ LN/CP git-remote-https │B│ LN/CP git-remote-ftp │B│ LN/CP git-remote-ftps │B│ BUILTIN git-add │B│ BUILTIN git-am │B│ BUILTIN git-annotate │B│ BUILTIN git-apply │B│ BUILTIN git-archive │B│ BUILTIN git-backfill │B│ BUILTIN git-bisect │B│ BUILTIN git-blame │B│ BUILTIN git-branch │B│ BUILTIN git-bugreport │B│ BUILTIN git-bundle │B│ BUILTIN git-cat-file │B│ BUILTIN git-check-attr │B│ BUILTIN git-check-ignore │B│ BUILTIN git-check-mailmap │B│ BUILTIN git-check-ref-format │B│ BUILTIN git-checkout--worker │B│ BUILTIN git-checkout-index │B│ BUILTIN git-checkout │B│ BUILTIN git-clean │B│ BUILTIN git-clone │B│ BUILTIN git-column │B│ BUILTIN git-commit-graph │B│ BUILTIN git-commit-tree │B│ BUILTIN git-commit │B│ BUILTIN git-config │B│ BUILTIN git-count-objects │B│ BUILTIN git-credential-cache--daemon │B│ BUILTIN git-credential-cache │B│ BUILTIN git-credential-store │B│ BUILTIN git-credential │B│ BUILTIN git-describe │B│ BUILTIN git-diagnose │B│ BUILTIN git-diff-files │B│ BUILTIN git-diff-index │B│ BUILTIN git-diff-pairs │B│ BUILTIN git-diff-tree │B│ BUILTIN git-diff │B│ BUILTIN git-difftool │B│ BUILTIN git-fast-export │B│ BUILTIN git-fast-import │B│ BUILTIN git-fetch-pack │B│ BUILTIN git-fetch │B│ BUILTIN git-fmt-merge-msg │B│ BUILTIN git-for-each-ref │B│ BUILTIN git-for-each-repo │B│ BUILTIN git-fsck │B│ BUILTIN git-fsmonitor--daemon │B│ BUILTIN git-gc │B│ BUILTIN git-get-tar-commit-id │B│ BUILTIN git-grep │B│ BUILTIN git-hash-object │B│ BUILTIN git-help │B│ BUILTIN git-hook │B│ BUILTIN git-index-pack │B│ BUILTIN git-init-db │B│ BUILTIN git-interpret-trailers │B│ BUILTIN git-last-modified │B│ BUILTIN git-log │B│ BUILTIN git-ls-files │B│ BUILTIN git-ls-remote │B│ BUILTIN git-ls-tree │B│ BUILTIN git-mailinfo │B│ BUILTIN git-mailsplit │B│ BUILTIN git-merge-base │B│ BUILTIN git-merge-file │B│ BUILTIN git-merge-index │B│ BUILTIN git-merge-ours │B│ BUILTIN git-merge-recursive │B│ BUILTIN git-merge-tree │B│ BUILTIN git-merge │B│ BUILTIN git-mktag │B│ BUILTIN git-mktree │B│ BUILTIN git-multi-pack-index │B│ BUILTIN git-mv │B│ BUILTIN git-name-rev │B│ BUILTIN git-notes │B│ BUILTIN git-pack-objects │B│ BUILTIN git-pack-redundant │B│ BUILTIN git-pack-refs │B│ BUILTIN git-patch-id │B│ BUILTIN git-prune-packed │B│ BUILTIN git-prune │B│ BUILTIN git-pull │B│ BUILTIN git-push │B│ BUILTIN git-range-diff │B│ BUILTIN git-read-tree │B│ BUILTIN git-rebase │B│ BUILTIN git-receive-pack │B│ BUILTIN git-reflog │B│ BUILTIN git-refs │B│ BUILTIN git-remote-ext │B│ BUILTIN git-remote-fd │B│ BUILTIN git-remote │B│ BUILTIN git-replace │B│ BUILTIN git-repack │B│ BUILTIN git-replay │B│ BUILTIN git-repo │B│ BUILTIN git-rerere │B│ BUILTIN git-reset │B│ BUILTIN git-rev-list │B│ BUILTIN git-rev-parse │B│ BUILTIN git-revert │B│ BUILTIN git-rm │B│ BUILTIN git-send-pack │B│ BUILTIN git-shortlog │B│ BUILTIN git-show-branch │B│ BUILTIN git-show-index │B│ BUILTIN git-show-ref │B│ BUILTIN git-sparse-checkout │B│ BUILTIN git-stash │B│ BUILTIN git-stripspace │B│ BUILTIN git-submodule--helper │B│ BUILTIN git-symbolic-ref │B│ BUILTIN git-tag │B│ BUILTIN git-unpack-file │B│ BUILTIN git-unpack-objects │B│ BUILTIN git-update-index │B│ BUILTIN git-update-ref │B│ BUILTIN git-update-server-info │B│ BUILTIN git-upload-archive │B│ BUILTIN git-upload-pack │B│ BUILTIN git-var │B│ BUILTIN git-verify-commit │B│ BUILTIN git-verify-pack │B│ BUILTIN git-verify-tag │B│ BUILTIN git-worktree │B│ BUILTIN git-write-tree │B│ BUILTIN git-cherry │B│ BUILTIN git-cherry-pick │B│ BUILTIN git-format-patch │B│ BUILTIN git-fsck-objects │B│ BUILTIN git-init │B│ BUILTIN git-maintenance │B│ BUILTIN git-merge-subtree │B│ BUILTIN git-restore │B│ BUILTIN git-show │B│ BUILTIN git-stage │B│ BUILTIN git-status │B│ BUILTIN git-switch │B│ BUILTIN git-version │B│ BUILTIN git-whatchanged │B│ SUBDIR git-gui │B│ GITGUI_VERSION=0.21.0.257.g1a729 │B│ MSGFMT po/bg.msg MSGFMT po/de.msg MSGFMT po/el.msg MSGFMT po/fr.msg MSGFMT po/hu.msg MSGFMT po/it.msg MSGFMT po/ja.msg MSGFMT po/nb.msg MSGFMT po/pt_br.msg MSGFMT po/pt_pt.msg MSGFMT po/ru.msg MSGFMT po/sv.msg MSGFMT po/vi.msg MSGFMT po/zh_cn.msg GEN git-gui │B│ GEN git-gui--askpass │B│ INDEX lib/ │B│ 514 translated. │B│ 520 translated. │B│ 558 translated. │B│ 520 translated. │B│ 381 translated, 4 fuzzy, 6 untranslated. │B│ 474 translated, 39 untranslated. │B│ 579 translated. │B│ 519 translated, 1 untranslated. │B│ generate-tclindex.sh: 21: tclsh: not found │B│ * tclsh failed; using unoptimized loading │B│ 366 translated, 7 fuzzy, 17 untranslated. │B│ 546 translated, 1 untranslated. │B│ 550 translated. │B│ 579 translated. │B│ 543 translated. │B│ 576 translated. │B│ SUBDIR gitk-git │B│ Generating catalog po/bg.msg │B│ msgfmt --statistics --tcl -l bg -d po/ po/bg.po │B│ Generating catalog po/de.msg │B│ msgfmt --statistics --tcl -l de -d po/ po/de.po │B│ Generating catalog po/ca.msg │B│ Generating catalog po/es.msg │B│ msgfmt --statistics --tcl -l ca -d po/ po/ca.po │B│ * new Tcl/Tk interpreter location │B│ Generating catalog po/fr.msg │B│ Generating catalog po/hu.msg │B│ msgfmt --statistics --tcl -l es -d po/ po/es.po │B│ msgfmt --statistics --tcl -l fr -d po/ po/fr.po │B│ Generating catalog po/it.msg │B│ msgfmt --statistics --tcl -l hu -d po/ po/hu.po │B│ Generating catalog po/ja.msg │B│ msgfmt --statistics --tcl -l it -d po/ po/it.po │B│ Generating catalog po/pt_pt.msg │B│ Generating catalog po/pt_br.msg │B│ msgfmt --statistics --tcl -l ja -d po/ po/ja.po │B│ msgfmt --statistics --tcl -l pt_br -d po/ po/pt_br.po │B│ msgfmt --statistics --tcl -l pt_pt -d po/ po/pt_pt.po │B│ Generating catalog po/ru.msg │B│ Generating catalog po/sv.msg │B│ 307 translated messages. │B│ msgfmt --statistics --tcl -l ru -d po/ po/ru.po │B│ msgfmt --statistics --tcl -l sv -d po/ po/sv.po │B│ 322 translated messages. │B│ GEN gitk-wish │B│ Generating catalog po/ta.msg │B│ Generating catalog po/vi.msg │B│ msgfmt --statistics --tcl -l ta -d po/ po/ta.po │B│ msgfmt --statistics --tcl -l vi -d po/ po/vi.po │B│ 184 translated messages, 46 fuzzy translations, 77 untranslated messages. │B│ Generating catalog po/zh_cn.msg │B│ msgfmt --statistics --tcl -l zh_cn -d po/ po/zh_cn.po │B│ 311 translated messages. │B│ 311 translated messages. │B│ 277 translated messages, 18 fuzzy translations, 12 untranslated messages. │B│ 274 translated messages, 17 fuzzy translations, 16 untranslated messages. │B│ 307 translated messages. │B│ 279 translated messages, 16 fuzzy translations, 12 untranslated messages. │B│ 311 translated messages. │B│ 317 translated messages. │B│ 323 translated messages. │B│ 307 translated messages. │B│ 317 translated messages. │B│ 327 translated messages. │B│ SUBDIR templates │B│ CC oss-fuzz/dummy-cmd-main.o │B│ CC oss-fuzz/fuzz-commit-graph.o │B│ CC oss-fuzz/fuzz-config.o │B│ CC oss-fuzz/fuzz-credential-from-url-gently.o │B│ CC oss-fuzz/fuzz-date.o │B│ CC oss-fuzz/fuzz-pack-headers.o │B│ CC oss-fuzz/fuzz-pack-idx.o │B│ CC oss-fuzz/fuzz-parse-attr-line.o │B│ CC oss-fuzz/fuzz-url-decode-mem.o │B│ In file included from oss-fuzz/fuzz-credential-from-url-gently.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | In file included from reoss-fuzz/dummy-cmd-main.ct:u1r: │B│ n./git-compat-util.h s:t344r:r9c:h rwarning: (returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]p │B│ ath, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h: 296344: | 3 :r enote: texpanded from macro 'strrchr'u │B│ rn strrchr (296p | a t h_,_ g'l/i'b)c;_ │B│ c o| n ^~~~~~~~~~~~~~~~~~s │B│ t_generi/usr/include/string.hc: 296(:S3,: cnote: oexpanded from macro 'strrchr'n │B│ st char * ,296 | s t r_r_cghlri b(cS_,c oCn)s)t │B│ _ g| e ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~n │B│ eric/usr/include/sys/cdefs.h :(838S:,3 :c onote: nexpanded from macro '__glibc_const_generic's │B│ t char *838, | s t_rGrecnherr i(cS ,( 0C )?) │B│ ( P| T ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~R │B│ ) : /usr/include/sys/cdefs.h(:v838o:i3d: note: *expanded from macro '__glibc_const_generic') │B│ 1, \ 838 │B│ | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_ │B│ Gener i839c | ( 0 ? c(oPnTsR)t vo:id *(:vo (idC T*Y)P 1E,) ( CA\L │B│ L )| , ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ \ │B│ | 839 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | │B│ 840 | c o n s t d evfoaiudl t*:: C(ACLTLY)P │B│ E| ) ~~~~~~~~~~~~~~ │B│ (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from oss-fuzz/fuzz-pack-headers.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from oss-fuzz/fuzz-date.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ In file included from 839 | oss-fuzz/fuzz-commit-graph.c : 3 : │B│ ./git-compat-util.h const void: *344:: 9(:C TYwarning: Preturning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]E │B│ ) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | 344d | e fraeutlutrn: sCtArLrcLh) │B│ r (| p ~~~~~~~~~~~~~~a │B│ th, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from oss-fuzz/fuzz-config.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from oss-fuzz/fuzz-url-decode-mem.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from oss-fuzz/fuzz-parse-attr-line.c:3: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from oss-fuzz/fuzz-pack-idx.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ LINK oss-fuzz/fuzz-commit-graph │B│ LINK oss-fuzz/fuzz-config │B│ LINK oss-fuzz/fuzz-credential-from-url-gently │B│ LINK oss-fuzz/fuzz-date │B│ LINK oss-fuzz/fuzz-pack-headers │B│ LINK oss-fuzz/fuzz-pack-idx │B│ LINK oss-fuzz/fuzz-parse-attr-line │B│ LINK oss-fuzz/fuzz-url-decode-mem │B│ MKDIR -p po/build/locale/bg/LC_MESSAGES │B│ MSGFMT po/build/locale/bg/LC_MESSAGES/git.mo │B│ MKDIR -p po/build/locale/ca/LC_MESSAGES │B│ MSGFMT po/build/locale/ca/LC_MESSAGES/git.mo │B│ MKDIR -p po/build/locale/de/LC_MESSAGES │B│ MSGFMT po/build/locale/de/LC_MESSAGES/git.mo │B│ MKDIR -p po/build/locale/el/LC_MESSAGES │B│ MSGFMT po/build/locale/el/LC_MESSAGES/git.mo │B│ MKDIR -p po/build/locale/es/LC_MESSAGES │B│ MSGFMT po/build/locale/es/LC_MESSAGES/git.mo │B│ MKDIR -p po/build/locale/fr/LC_MESSAGES │B│ MSGFMT po/build/locale/fr/LC_MESSAGES/git.mo │B│ MKDIR -p po/build/locale/ga/LC_MESSAGES │B│ MSGFMT po/build/locale/ga/LC_MESSAGES/git.mo │B│ MKDIR -p po/build/locale/id/LC_MESSAGES │B│ MSGFMT po/build/locale/id/LC_MESSAGES/git.mo │B│ MKDIR -p po/build/locale/is/LC_MESSAGES │B│ MSGFMT po/build/locale/is/LC_MESSAGES/git.mo │B│ MKDIR -p po/build/locale/it/LC_MESSAGES │B│ MSGFMT po/build/locale/it/LC_MESSAGES/git.mo │B│ MKDIR -p po/build/locale/ko/LC_MESSAGES │B│ MSGFMT po/build/locale/ko/LC_MESSAGES/git.mo │B│ MKDIR -p po/build/locale/pl/LC_MESSAGES │B│ MKDIR -p po/build/locale/pt_PT/LC_MESSAGES │B│ MSGFMT po/build/locale/pl/LC_MESSAGES/git.mo │B│ MSGFMT po/build/locale/pt_PT/LC_MESSAGES/git.mo │B│ MKDIR -p po/build/locale/ru/LC_MESSAGES │B│ MSGFMT po/build/locale/ru/LC_MESSAGES/git.mo │B│ MKDIR -p po/build/locale/sv/LC_MESSAGES │B│ MSGFMT po/build/locale/sv/LC_MESSAGES/git.mo │B│ MKDIR -p po/build/locale/tr/LC_MESSAGES │B│ MSGFMT po/build/locale/tr/LC_MESSAGES/git.mo │B│ MKDIR -p po/build/locale/uk/LC_MESSAGES │B│ MSGFMT po/build/locale/uk/LC_MESSAGES/git.mo │B│ MKDIR -p po/build/locale/vi/LC_MESSAGES │B│ MSGFMT po/build/locale/vi/LC_MESSAGES/git.mo │B│ MKDIR -p po/build/locale/zh_CN/LC_MESSAGES │B│ MSGFMT po/build/locale/zh_CN/LC_MESSAGES/git.mo │B│ MKDIR -p po/build/locale/zh_TW/LC_MESSAGES │B│ MSGFMT po/build/locale/zh_TW/LC_MESSAGES/git.mo │B│ MKDIR -p perl/build/lib │B│ GEN perl/build/lib/Git.pm │B│ MKDIR -p perl/build/lib/Git │B│ GEN perl/build/lib/Git/LoadCPAN.pm │B│ GEN perl/build/lib/Git/IndexInfo.pm │B│ GEN perl/build/lib/Git/Packet.pm │B│ GEN perl/build/lib/Git/I18N.pm │B│ GEN perl/build/lib/Git/SVN.pm │B│ MKDIR -p perl/build/lib/Git/LoadCPAN │B│ GEN perl/build/lib/Git/LoadCPAN/Error.pm │B│ MKDIR -p perl/build/lib/Git/SVN │B│ GEN perl/build/lib/Git/SVN/GlobSpec.pm │B│ GEN perl/build/lib/Git/SVN/Fetcher.pm │B│ GEN perl/build/lib/Git/SVN/Log.pm │B│ GEN perl/build/lib/Git/SVN/Editor.pm │B│ GEN perl/build/lib/Git/SVN/Migration.pm │B│ GEN perl/build/lib/Git/SVN/Prompt.pm │B│ GEN perl/build/lib/Git/SVN/Ra.pm │B│ GEN perl/build/lib/Git/SVN/Utils.pm │B│ MKDIR -p perl/build/lib/Git/LoadCPAN/Mail │B│ GEN perl/build/lib/Git/LoadCPAN/Mail/Address.pm │B│ MKDIR -p perl/build/lib/Git/SVN/Memoize │B│ GEN perl/build/lib/Git/SVN/Memoize/YAML.pm │B│ MKDIR -p perl/build/lib/FromCPAN │B│ GEN perl/build/lib/FromCPAN/Error.pm │B│ MKDIR -p perl/build/lib/FromCPAN/Mail │B│ GEN perl/build/lib/FromCPAN/Mail/Address.pm │B│ CC t/helper/test-fake-ssh.o │B│ CC t/helper/test-tool.o │B│ CC t/helper/test-advise.o │B│ CC t/helper/test-bitmap.o │B│ CC t/helper/test-bloom.o │B│ CC t/helper/test-bundle-uri.o │B│ CC t/helper/test-cache-tree.o │B│ CC t/helper/test-chmtime.o │B│ CC t/helper/test-config.o │B│ CC t/helper/test-crontab.o │B│ CC t/helper/test-csprng.o │B│ CC t/helper/test-date.o │B│ CC t/helper/test-delete-gpgsig.o │B│ CC t/helper/test-delta.o │B│ CC t/helper/test-dir-iterator.o │B│ CC t/helper/test-drop-caches.o │B│ CC t/helper/test-dump-cache-tree.o │B│ CC t/helper/test-dump-fsmonitor.o │B│ CC t/helper/test-dump-split-index.o │B│ CC t/helper/test-dump-untracked-cache.o │B│ CC t/helper/test-env-helper.o │B│ CC t/helper/test-example-tap.o │B│ CC t/helper/test-find-pack.o │B│ CC t/helper/test-fsmonitor-client.o │B│ In file included from In file included from t/helper/test-crontab.ct/helper/test-bitmap.c::13: │B│ : │B│ In file included from In file included from t/helper/test-tool.ht/helper/test-tool.h::44: │B│ : │B│ ./git-compat-util.h./git-compat-util.h::344344::99:: warning: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ │B│ 344344 | | rreettuurrnn ssttrrrrcchhrr((ppaatthh,, ''//''));; │B│ │B│ | | ^~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~ │B│ │B│ /usr/include/string.h/usr/include/string.h::296296::33:: note: note: expanded from macro 'strrchr'expanded from macro 'strrchr' │B│ │B│ 296296 | | ____gglliibbcc__ccoonnsstt__ggeenneerriicc ((SS,, ccoonnsstt cchhaarr **,, ssttrrrrcchhrr ((SS,, CC)))) │B│ │B│ | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ │B│ /usr/include/sys/cdefs.h/usr/include/sys/cdefs.h::838838::33:: note: note: expanded from macro '__glibc_const_generic'expanded from macro '__glibc_const_generic' │B│ │B│ 838838 | | __GGeenneerriicc ((00 ?? ((PPTTRR)) :: ((vvooiidd **)) 11,, \\ │B│ │B│ | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ │B│ 839839 | | ccoonnsstt vvooiidd **:: ((CCTTYYPPEE)) ((CCAALLLL)),, \\ │B│ │B│ | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ │B│ 840840 | | ddeeffaauulltt:: CCAALLLL)) │B│ │B│ | | ~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ │B│ │B│ In file included from In file included from t/helper/test-dump-cache-tree.ct/helper/test-env-helper.c::31: │B│ : │B│ In file included from In file included from t/helper/test-tool.ht/helper/test-tool.h::44: │B│ : │B│ ./git-compat-util.h./git-compat-util.h::344344::99:: warning: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ │B│ 344344 | | rreettuurrnn ssttrrrrcchhrr((ppaatthh,, ''//''));; │B│ │B│ | | ^~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~ │B│ │B│ /usr/include/string.h/usr/include/string.h::296296::33:: note: note: expanded from macro 'strrchr'expanded from macro 'strrchr' │B│ │B│ 296296 | | ____gglliibbcc__cocnosnstt__gegneenreirci c(S (,S c, oncsotn stch acrha r*, *,s tsrtrrrchchr r(S ,(S ,C) )C) │B│ )| │B│ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h/usr/include/sys/cdefs.h::838838::33:: note: note: expanded from macro '__glibc_const_generic'expanded from macro '__glibc_const_generic' │B│ │B│ 838838 | | __GGeenneerriicc ((00 ?? ((PPTTRR)) :: ((vvooiidd **)) 11,, \\ │B│ │B│ | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ │B│ 839839 | | ccoonnsstt vvooiidd **:: ((CCTTYYPPEE)) ((CCAALLLL)),, \\ │B│ │B│ | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ │B│ 840840 | | ddeeffaauulltt:: CCAALLLL)) │B│ │B│ | | ~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ │B│ │B│ In file included from t/helper/test-tool.cIn file included from :t/helper/test-bloom.c1:: │B│ 3: │B│ In file included from t/helper/test-tool.h:4./git-compat-util.h: │B│ :./git-compat-util.h344::3449::9 :warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]warning: │B│ returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | 344 | r erteutrunr ns tsrtrrcrhcrh(rp(aptaht,h ,' /''/)';) │B│ ; │B│ | ^~~~~~~~~~~~~~~~~~| │B│ ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h/usr/include/string.h::296296::33:: note: note: expanded from macro 'strrchr'expanded from macro 'strrchr' │B│ │B│ 296296 | | ____gglliibbcc__ccoonnsstt__ggeenneerriicc ((SS,, ccoonnsstt cchhaarr **,, ssttrrrrcchhrr ((SS,, CC)))) │B│ │B│ | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ │B│ /usr/include/sys/cdefs.h/usr/include/sys/cdefs.h::838838::33:: note: note: expanded from macro '__glibc_const_generic'expanded from macro '__glibc_const_generic' │B│ │B│ 838838 | | __GGeenneerriicc ((00 ?? ((PPTTRR)) :: ((vvooiidd **)) 11,, \\ │B│ │B│ | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ │B│ 839839 | | ccoonnsstt vvooiidd **:: ((CCTTYYPPEE)) ((CCAALLLL)),, \\ │B│ │B│ | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ │B│ 840840 | | ddeeffaauulltt:: CCAALLLL)) │B│ │B│ | | ~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ │B│ │B│ In file included from In file included from t/helper/test-csprng.ct/helper/test-bundle-uri.c::11: │B│ : │B│ In file included from In file included from t/helper/test-tool.ht/helper/test-tool.h::44: │B│ : │B│ ./git-compat-util.h./git-compat-util.h::344344::99:: warning: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ │B│ 344344 | | rreettuurrnn ssttrrrrcchhrr((ppaatthh,, ''//''));; │B│ │B│ | | ^~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~ │B│ │B│ /usr/include/string.h/usr/include/string.h::296296::33:: note: note: expanded from macro 'strrchr'expanded from macro 'strrchr' │B│ │B│ 296296 | | ____gglliibbcc__ccoonnsstt__ggeenneerriicc ((SS,, ccoonnsstt cchhaarr **,, ssttrrrrcchhrr ((SS,, CC)))) │B│ │B│ | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ │B│ /usr/include/sys/cdefs.h/usr/include/sys/cdefs.h::838838::33:: note: note: expanded from macro '__glibc_const_generic'expanded from macro '__glibc_const_generic' │B│ │B│ 838838 | | __GGeenneerriicc ((00 ?? ((PPTTRR)) :: ((vvooiidd **)) 11,, \\ │B│ │B│ | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ │B│ 839839 | | ccoonnsstt vvooiidd **:: ((CCTTYYPPEE)) ((CCAALLLL)),, \\ │B│ │B│ | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ │B│ 840840 | | ddeeffaauulltt:: CCAALLLL)) │B│ │B│ | | ~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ │B│ │B│ In file included from t/helper/test-dump-fsmonitor.c:3: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-fake-ssh.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-date.c:1: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-dir-iterator.c:1: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-dump-split-index.c:3: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) :In file included from (t/helper/test-chmtime.cv:o39i: │B│ In file included from d t/helper/test-tool.h*:)4 : │B│ 1./git-compat-util.h,: 344 : 9\: │B│ warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ │B│ 839 | const void *: (CTYPE) 344( | CA LrL)e,t u r\n │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~s │B│ trr c840h | r ( p a th ,d e'/f'a)u;l │B│ t | : ^~~~~~~~~~~~~~~~~~ │B│ CALL) │B│ | ~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-advise.c:3: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-example-tap.c:1: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-delete-gpgsig.c:1: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-dump-untracked-cache.c:3: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-delta.c:11: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-config.c:4: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-cache-tree.c:4: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | In file included from ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~t/helper/test-find-pack.c │B│ :3: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h/usr/include/sys/cdefs.h::838344::39:: note: warning: expanded from macro '__glibc_const_generic'returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ │B│ 838 | _Generic (0 ? (PTR) : (344v | o irde t*u)r n1 ,s t r r\c │B│ h r| ( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~p │B│ ath, '/ '839) | ; │B│ | ^~~~~~~~~~~~~~~~~~ │B│ const void/usr/include/string.h :*296:: 3(:C Tnote: Yexpanded from macro 'strrchr'P │B│ E) (CALL), \ │B│ 296 | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ __g l840i | b c _ c o ndsetf_aguelnte:r iCcA L(LS), │B│ c| o ~~~~~~~~~~~~~~n │B│ st char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-fsmonitor-client.c:8: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-drop-caches.c:3: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC t/helper/test-genrandom.o │B│ CC t/helper/test-genzeros.o │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC t/helper/test-getcwd.o │B│ CC t/helper/test-hash-speed.o │B│ CC t/helper/test-hash.o │B│ CC t/helper/test-hashmap.o │B│ CC t/helper/test-json-writer.o │B│ CC t/helper/test-lazy-init-name-hash.o │B│ CC t/helper/test-hexdump.o │B│ 1 warning generated. │B│ CC t/helper/test-match-trees.o │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC t/helper/test-mergesort.o │B│ CC t/helper/test-mktemp.o │B│ CC t/helper/test-name-hash.o │B│ CC t/helper/test-online-cpus.o │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC t/helper/test-pack-deltas.o │B│ CC t/helper/test-pack-mtimes.o │B│ CC t/helper/test-parse-options.o │B│ CC t/helper/test-parse-pathspec-file.o │B│ CC t/helper/test-partial-clone.o │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC t/helper/test-path-utils.o │B│ 1 warning generated. │B│ CC t/helper/test-path-walk.o │B│ 1 warning generated. │B│ CC t/helper/test-pcre2-config.o │B│ CC t/helper/test-pkt-line.o │B│ CC t/helper/test-proc-receive.o │B│ In file included from t/helper/test-json-writer.c:1: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-genrandom.c:7: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-getcwd.c:1: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-genzeros.c:3: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-hash.c:1: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-hash-speed.c:1: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-match-trees.c:3: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-lazy-init-name-hash.c:3: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-hexdump.c:1: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-name-hash.c:6: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-mktemp.c:4: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-pack-deltas.c:3: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-mergesort.c:3: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-parse-options.c:1: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-pack-mtimes.c:3: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ In file included from | t/helper/test-online-cpus.c ^~~~~~~~~~~~~~~~~~: │B│ 1: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344/usr/include/string.h::9296:: 3warning: : returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]note: │B│ expanded from macro 'strrchr' │B│ 296 | __gl i344b | c_c ornesttu_rgne nesrtircr c(Sh,r (cpoantsth ,c h'a/r' )*;, │B│ s| t ^~~~~~~~~~~~~~~~~~r │B│ rchr (S, C/usr/include/string.h):)296 │B│ :| 3 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~: │B│ note: expanded from macro 'strrchr' │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 296 | __gl i838b | c _ c_Goennsetr_igce n(e0r i?c ((PST,R )c o:n s(tv ocihda r* )* ,1 ,s t r r\c │B│ h r| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~( │B│ S, C)) │B│ 839 | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ cons/usr/include/sys/cdefs.ht :v838o:i3d: *note: :expanded from macro '__glibc_const_generic' │B│ (CTYPE) (CA L838L | ) , _ G\e │B│ n e| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~r │B│ ic ( 0840 | ? ( P T R )de f:a u(lvto: iCdA L*L)) │B│ 1 | , ~~~~~~~~~~~~~~ │B│ \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-path-utils.c:4: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-parse-pathspec-file.c:1: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-partial-clone.c:1: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ In file included from t/helper/test-hashmap.c:1: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC t/helper/test-progress.o │B│ 1 warning generated. │B│ CC t/helper/test-reach.o │B│ CC t/helper/test-read-cache.o │B│ In file included from t/helper/test-pkt-line.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-proc-receive.c:1: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ In file included from t/helper/test-pcre2-config.c:1: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC t/helper/test-read-graph.o │B│ 1 warning generated. │B│ CC t/helper/test-read-midx.o │B│ CC t/helper/test-ref-store.o │B│ CC t/helper/test-reftable.o │B│ CC t/helper/test-regex.o │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC t/helper/test-rot13-filter.o │B│ In file included from t/helper/test-path-walk.c:3: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC t/helper/test-repository.o │B│ CC t/helper/test-revision-walking.o │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC t/helper/test-run-command.o │B│ 1 warning generated. │B│ CC t/helper/test-scrap-cache-tree.o │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC t/helper/test-serve-v2.o │B│ 1 warning generated. │B│ CC t/helper/test-sha1.o │B│ CC t/helper/test-sha256.o │B│ CC t/helper/test-sigchain.o │B│ CC t/helper/test-simple-ipc.o │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC t/helper/test-string-list.o │B│ CC t/helper/test-submodule-config.o │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC t/helper/test-submodule-nested-repo-config.o │B│ CC t/helper/test-submodule.o │B│ 1 warning generated. │B│ CC t/helper/test-subprocess.o │B│ In file included from t/helper/test-progress.c:24: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-read-cache.c:3: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-reach.c:3: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-read-graph.c:3: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-read-midx.c:3: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-regex.c:1: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-ref-store.c:3: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-reftable.c:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ In file included from t/helper/test-rot13-filter.c:39: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-repository.c:3: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC t/helper/test-trace2.o │B│ In file included from t/helper/test-revision-walking.c:13: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC t/helper/test-truncate.o │B│ In file included from t/helper/test-run-command.c:13: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-scrap-cache-tree.c:3: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-serve-v2.c:3: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ 1 warning generated. │B│ In file included from t/helper/test-string-list.c:1: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC t/helper/test-userdiff.o │B│ In file included from t/helper/test-sigchain.c:1: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ CC t/helper/test-wildmatch.o │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-sha1.c:1: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-sha256.c:1: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-simple-ipc.c:5: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-submodule-config.c:3: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC t/helper/test-windows-named-pipe.o │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC t/helper/test-write-cache.o │B│ CC t/helper/test-xml-encode.o │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ CC t/helper/test-zlib.o │B│ 1 warning generated. │B│ CC t/unit-tests/test-lib.o │B│ 1 warning generated. │B│ GEN bin-wrappers/git │B│ In file included from t/helper/test-subprocess.c:1: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ In file included from t/helper/test-submodule.c:3: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-submodule-nested-repo-config.c:3: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ 1 warning generated. │B│ GEN bin-wrappers/scalar │B│ 1 warning generated. │B│ GEN bin-wrappers/git-receive-pack │B│ In file included from t/helper/test-trace2.c:4: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ GEN bin-wrappers/git-shell │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ GEN bin-wrappers/git-upload-archive │B│ 1 warning generated. │B│ In file included from t/helper/test-userdiff.c:3: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ GEN bin-wrappers/git-upload-pack │B│ In file included from t/helper/test-windows-named-pipe.c:1: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-xml-encode.c:1: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-truncate.c:1: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-write-cache.c:3: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-zlib.c:1: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/helper/test-wildmatch.c:1: │B│ In file included from t/helper/test-tool.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ GEN bin-wrappers/git-cvsserver │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ GEN bin-wrappers/test-fake-ssh │B│ 1 warning generated. │B│ 1 warning generated. │B│ In file included from t/unit-tests/test-lib.c:3: │B│ In file included from t/unit-tests/test-lib.h:4: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ GEN bin-wrappers/test-tool │B│ 1 warning generated. │B│ LINK t/helper/test-fake-ssh │B│ * new test suites │B│ GEN t/unit-tests/clar-decls.h │B│ 1 warning generated. │B│ LINK t/helper/test-tool │B│ GEN t/unit-tests/clar.suite │B│ CC t/unit-tests/u-ctype.o │B│ CC t/unit-tests/u-dir.o │B│ CC t/unit-tests/u-example-decorate.o │B│ CC t/unit-tests/u-hash.o │B│ CC t/unit-tests/u-hashmap.o │B│ CC t/unit-tests/u-mem-pool.o │B│ CC t/unit-tests/u-oid-array.o │B│ CC t/unit-tests/u-oidmap.o │B│ CC t/unit-tests/u-oidtree.o │B│ CC t/unit-tests/u-prio-queue.o │B│ CC t/unit-tests/u-reftable-basics.o │B│ CC t/unit-tests/u-reftable-block.o │B│ CC t/unit-tests/u-reftable-merged.o │B│ CC t/unit-tests/u-reftable-pq.o │B│ CC t/unit-tests/u-reftable-readwrite.o │B│ CC t/unit-tests/u-reftable-stack.o │B│ CC t/unit-tests/u-reftable-table.o │B│ CC t/unit-tests/u-reftable-tree.o │B│ CC t/unit-tests/u-strbuf.o │B│ CC t/unit-tests/u-strcmp-offset.o │B│ CC t/unit-tests/u-string-list.o │B│ CC t/unit-tests/u-strvec.o │B│ In file included from t/unit-tests/u-reftable-tree.c:9: │B│ In file included from t/unit-tests/unit-test.h:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/unit-tests/u-example-decorate.c:3: │B│ In file included from t/unit-tests/unit-test.h:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/unit-tests/u-oidtree.c:1: │B│ In file included from t/unit-tests/unit-test.h:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/unit-tests/u-ctype.c:1: │B│ In file included from t/unit-tests/unit-test.h:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC t/unit-tests/u-trailer.o │B│ 1 warning generated. │B│ In file included from t/unit-tests/u-hash.c:1: │B│ In file included from t/unit-tests/unit-test.h:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC t/unit-tests/u-urlmatch-normalization.o │B│ 1 warning generated. │B│ CC t/unit-tests/u-utf8-width.o │B│ In file included from t/unit-tests/u-oid-array.c:3: │B│ In file included from t/unit-tests/unit-test.h:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/unit-tests/u-reftable-basics.c:9: │B│ In file included from t/unit-tests/unit-test.h:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/unit-tests/u-reftable-stack.c:11: │B│ In file included from t/unit-tests/unit-test.h:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/unit-tests/u-reftable-block.c:9: │B│ In file included from t/unit-tests/unit-test.h:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/unit-tests/u-prio-queue.c:1: │B│ In file included from t/unit-tests/unit-test.h:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/unit-tests/u-strcmp-offset.c:1: │B│ In file included from t/unit-tests/unit-test.h:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | In file included from t/unit-tests/u-reftable-pq.c:9: │B│ In file included from t/unit-tests/unit-test.h:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/unit-tests/u-reftable-table.c:1: │B│ In file included from t/unit-tests/unit-test.h:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/unit-tests/u-reftable-merged.c:9: │B│ In file included from t/unit-tests/unit-test.h:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/unit-tests/u-string-list.c:1: │B│ In file included from t/unit-tests/unit-test.h:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/unit-tests/u-reftable-readwrite.c:11: │B│ In file included from t/unit-tests/unit-test.h:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/unit-tests/u-mem-pool.c:1: │B│ In file included from t/unit-tests/unit-test.h:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/unit-tests/u-dir.c:1: │B│ In file included from t/unit-tests/unit-test.h:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/unit-tests/u-oidmap.c:1: │B│ In file included from t/unit-tests/unit-test.h:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ In file included from t/unit-tests/u-hashmap.c:1: │B│ In file included from t/unit-tests/unit-test.h:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC t/unit-tests/clar/clar.o │B│ 1 warning generated. │B│ In file included from t/unit-tests/u-strbuf.c:1: │B│ In file included from t/unit-tests/unit-test.h:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ CC t/unit-tests/lib-oid.o │B│ 1 warning generated. │B│ 1 warning generated. │B│ In file included from t/unit-tests/u-strvec.c:1: │B│ In file included from t/unit-tests/unit-test.h:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ CC t/unit-tests/lib-reftable.o │B│ CC t/unit-tests/unit-test.o │B│ In file included from t/unit-tests/u-utf8-width.c:1: │B│ In file included from t/unit-tests/unit-test.h:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ In file included from t/unit-tests/u-trailer.c:3: │B│ In file included from t/unit-tests/unit-test.h:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ In file included from t/unit-tests/u-urlmatch-normalization.c:1: │B│ In file included from t/unit-tests/unit-test.h:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ 1 warning generated. │B│ In file included from t/unit-tests/lib-reftable.c:1: │B│ In file included from t/unit-tests/unit-test.h:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/unit-tests/lib-oid.c:1: │B│ In file included from t/unit-tests/unit-test.h:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ In file included from t/unit-tests/unit-test.c:1: │B│ In file included from t/unit-tests/unit-test.h:1: │B│ ./git-compat-util.h:344:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 344 | return strrchr(path, '/'); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ /usr/include/string.h:296:3: note: expanded from macro 'strrchr' │B│ 296 | __glibc_const_generic (S, const char *, strrchr (S, C)) │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ /usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic' │B│ 838 | _Generic (0 ? (PTR) : (void *) 1, \ │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 839 | const void *: (CTYPE) (CALL), \ │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 840 | default: CALL) │B│ | ~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ 1 warning generated. │B│ MKDIR -p t/unit-tests/bin │B│ LINK t/unit-tests/bin/unit-tests │B│ + make -j 24 INSTALL_SYMLINKS=1 NO_GITWEB=1 man │B│ MKDIR -p perl/build/man/man3 │B│ GEN perl/build/man/man3/Git.3pm │B│ make -C Documentation man │B│ make[1]: Entering directory '/mason/build/x86_64/git-2.53.0.tar.gz/Documentation' │B│ GEN mergetools-diff.adoc │B│ GEN mergetools-merge.adoc │B│ GEN cmd-list.made │B│ GEN doc.dep │B│ GEN asciidoc.conf │B│ GEN docinfo.html │B│ * new asciidoc flags │B│ ASCIIDOC git-add.xml │B│ ASCIIDOC git-am.xml │B│ ASCIIDOC git-annotate.xml │B│ ASCIIDOC git-apply.xml │B│ ASCIIDOC git-archimport.xml │B│ ASCIIDOC git-archive.xml │B│ ASCIIDOC git-backfill.xml │B│ ASCIIDOC git-bisect.xml │B│ ASCIIDOC git-blame.xml │B│ ASCIIDOC git-branch.xml │B│ ASCIIDOC git-bugreport.xml │B│ ASCIIDOC git-bundle.xml │B│ ASCIIDOC git-cat-file.xml │B│ ASCIIDOC git-check-attr.xml │B│ ASCIIDOC git-check-ignore.xml │B│ ASCIIDOC git-check-mailmap.xml │B│ ASCIIDOC git-checkout.xml │B│ ASCIIDOC git-checkout-index.xml │B│ ASCIIDOC git-check-ref-format.xml │B│ ASCIIDOC git-cherry.xml │B│ ASCIIDOC git-cherry-pick.xml │B│ ASCIIDOC git-citool.xml │B│ ASCIIDOC git-clean.xml │B│ ASCIIDOC git-clone.xml │B│ ASCIIDOC git-column.xml │B│ ASCIIDOC git-commit.xml │B│ ASCIIDOC git-commit-graph.xml │B│ ASCIIDOC git-commit-tree.xml │B│ ASCIIDOC git-config.xml │B│ ASCIIDOC git-count-objects.xml │B│ ASCIIDOC git-credential.xml │B│ ASCIIDOC git-credential-cache.xml │B│ ASCIIDOC git-credential-cache--daemon.xml │B│ ASCIIDOC git-credential-store.xml │B│ ASCIIDOC git-cvsexportcommit.xml │B│ ASCIIDOC git-cvsimport.xml │B│ ASCIIDOC git-cvsserver.xml │B│ ASCIIDOC git-daemon.xml │B│ ASCIIDOC git-describe.xml │B│ ASCIIDOC git-diagnose.xml │B│ ASCIIDOC git-diff.xml │B│ ASCIIDOC git-diff-files.xml │B│ ASCIIDOC git-diff-index.xml │B│ ASCIIDOC git-diff-pairs.xml │B│ ASCIIDOC git-difftool.xml │B│ ASCIIDOC git-diff-tree.xml │B│ ASCIIDOC git-fast-export.xml │B│ ASCIIDOC git-fast-import.xml │B│ ASCIIDOC git-fetch.xml │B│ ASCIIDOC git-fetch-pack.xml │B│ ASCIIDOC git-filter-branch.xml │B│ ASCIIDOC git-fmt-merge-msg.xml │B│ ASCIIDOC git-for-each-ref.xml │B│ ASCIIDOC git-for-each-repo.xml │B│ ASCIIDOC git-format-patch.xml │B│ ASCIIDOC git-fsck.xml │B│ ASCIIDOC git-fsck-objects.xml │B│ ASCIIDOC git-fsmonitor--daemon.xml │B│ ASCIIDOC git-gc.xml │B│ ASCIIDOC git-get-tar-commit-id.xml │B│ ASCIIDOC git-grep.xml │B│ ASCIIDOC git-gui.xml │B│ ASCIIDOC git-hash-object.xml │B│ ASCIIDOC git-help.xml │B│ ASCIIDOC git-hook.xml │B│ ASCIIDOC git-http-backend.xml │B│ ASCIIDOC git-http-fetch.xml │B│ ASCIIDOC git-http-push.xml │B│ ASCIIDOC git-imap-send.xml │B│ ASCIIDOC git-index-pack.xml │B│ ASCIIDOC git-init.xml │B│ ASCIIDOC git-init-db.xml │B│ ASCIIDOC git-instaweb.xml │B│ ASCIIDOC git-interpret-trailers.xml │B│ ASCIIDOC git-last-modified.xml │B│ ASCIIDOC git-log.xml │B│ ASCIIDOC git-ls-files.xml │B│ ASCIIDOC git-ls-remote.xml │B│ ASCIIDOC git-ls-tree.xml │B│ ASCIIDOC git-mailinfo.xml │B│ ASCIIDOC git-mailsplit.xml │B│ ASCIIDOC git-maintenance.xml │B│ ASCIIDOC git-merge.xml │B│ ASCIIDOC git-merge-base.xml │B│ ASCIIDOC git-merge-file.xml │B│ ASCIIDOC git-merge-index.xml │B│ ASCIIDOC git-merge-one-file.xml │B│ ASCIIDOC git-mergetool.xml │B│ ASCIIDOC git-mergetool--lib.xml │B│ ASCIIDOC git-merge-tree.xml │B│ ASCIIDOC git-mktag.xml │B│ ASCIIDOC git-mktree.xml │B│ ASCIIDOC git-multi-pack-index.xml │B│ ASCIIDOC git-mv.xml │B│ ASCIIDOC git-name-rev.xml │B│ ASCIIDOC git-notes.xml │B│ ASCIIDOC git-p4.xml │B│ ASCIIDOC git-pack-objects.xml │B│ ASCIIDOC git-pack-redundant.xml │B│ ASCIIDOC git-pack-refs.xml │B│ ASCIIDOC git-patch-id.xml │B│ ASCIIDOC git-prune.xml │B│ ASCIIDOC git-prune-packed.xml │B│ ASCIIDOC git-pull.xml │B│ ASCIIDOC git-push.xml │B│ ASCIIDOC git-quiltimport.xml │B│ ASCIIDOC git-range-diff.xml │B│ ASCIIDOC git-read-tree.xml │B│ ASCIIDOC git-rebase.xml │B│ ASCIIDOC git-receive-pack.xml │B│ ASCIIDOC git-reflog.xml │B│ ASCIIDOC git-refs.xml │B│ ASCIIDOC git-remote.xml │B│ ASCIIDOC git-remote-ext.xml │B│ ASCIIDOC git-remote-fd.xml │B│ ASCIIDOC git-repack.xml │B│ ASCIIDOC git-replace.xml │B│ ASCIIDOC git-replay.xml │B│ ASCIIDOC git-repo.xml │B│ ASCIIDOC git-request-pull.xml │B│ ASCIIDOC git-rerere.xml │B│ ASCIIDOC git-reset.xml │B│ ASCIIDOC git-restore.xml │B│ ASCIIDOC git-revert.xml │B│ ASCIIDOC git-rev-list.xml │B│ ASCIIDOC git-rev-parse.xml │B│ ASCIIDOC git-rm.xml │B│ ASCIIDOC git-send-email.xml │B│ ASCIIDOC git-send-pack.xml │B│ ASCIIDOC git-shell.xml │B│ ASCIIDOC git-sh-i18n.xml │B│ ASCIIDOC git-sh-i18n--envsubst.xml │B│ ASCIIDOC git-shortlog.xml │B│ ASCIIDOC git-show.xml │B│ ASCIIDOC git-show-branch.xml │B│ ASCIIDOC git-show-index.xml │B│ ASCIIDOC git-show-ref.xml │B│ ASCIIDOC git-sh-setup.xml │B│ ASCIIDOC git-sparse-checkout.xml │B│ ASCIIDOC git-stage.xml │B│ ASCIIDOC git-stash.xml │B│ ASCIIDOC git-status.xml │B│ ASCIIDOC git-stripspace.xml │B│ ASCIIDOC git-submodule.xml │B│ ASCIIDOC git-svn.xml │B│ ASCIIDOC git-switch.xml │B│ ASCIIDOC git-symbolic-ref.xml │B│ ASCIIDOC git-tag.xml │B│ ASCIIDOC git-unpack-file.xml │B│ ASCIIDOC git-unpack-objects.xml │B│ ASCIIDOC git-update-index.xml │B│ ASCIIDOC git-update-ref.xml │B│ ASCIIDOC git-update-server-info.xml │B│ ASCIIDOC git-upload-archive.xml │B│ ASCIIDOC git-upload-pack.xml │B│ ASCIIDOC git-var.xml │B│ ASCIIDOC git-verify-commit.xml │B│ ASCIIDOC git-verify-pack.xml │B│ ASCIIDOC git-verify-tag.xml │B│ ASCIIDOC git-version.xml │B│ ASCIIDOC git-web--browse.xml │B│ ASCIIDOC git-whatchanged.xml │B│ ASCIIDOC git-worktree.xml │B│ ASCIIDOC git-write-tree.xml │B│ ASCIIDOC git.xml │B│ ASCIIDOC gitk.xml │B│ ASCIIDOC gitweb.xml │B│ ASCIIDOC scalar.xml │B│ ASCIIDOC gitattributes.xml │B│ ASCIIDOC gitformat-bundle.xml │B│ ASCIIDOC gitformat-chunk.xml │B│ ASCIIDOC gitformat-commit-graph.xml │B│ ASCIIDOC gitformat-index.xml │B│ ASCIIDOC gitformat-loose.xml │B│ ASCIIDOC gitformat-pack.xml │B│ ASCIIDOC gitformat-signature.xml │B│ ASCIIDOC githooks.xml │B│ ASCIIDOC gitignore.xml │B│ ASCIIDOC gitmailmap.xml │B│ ASCIIDOC gitmodules.xml │B│ ASCIIDOC gitprotocol-capabilities.xml │B│ ASCIIDOC gitprotocol-common.xml │B│ ASCIIDOC gitprotocol-http.xml │B│ ASCIIDOC gitprotocol-pack.xml │B│ ASCIIDOC gitprotocol-v2.xml │B│ ASCIIDOC gitrepository-layout.xml │B│ ASCIIDOC gitweb.conf.xml │B│ ASCIIDOC gitcli.xml │B│ ASCIIDOC gitcore-tutorial.xml │B│ ASCIIDOC gitcredentials.xml │B│ ASCIIDOC gitcvs-migration.xml │B│ ASCIIDOC gitdatamodel.xml │B│ ASCIIDOC gitdiffcore.xml │B│ ASCIIDOC giteveryday.xml │B│ ASCIIDOC gitfaq.xml │B│ ASCIIDOC gitglossary.xml │B│ ASCIIDOC gitpacking.xml │B│ ASCIIDOC gitnamespaces.xml │B│ ASCIIDOC gitremote-helpers.xml │B│ ASCIIDOC gitrevisions.xml │B│ ASCIIDOC gitsubmodules.xml │B│ ASCIIDOC gittutorial-2.xml │B│ ASCIIDOC gittutorial.xml │B│ ASCIIDOC gitworkflows.xml │B│ XMLTO git-add.1 │B│ XMLTO git-am.1 │B│ XMLTO git-annotate.1 │B│ XMLTO git-apply.1 │B│ XMLTO git-archimport.1 │B│ XMLTO git-archive.1 │B│ XMLTO git-backfill.1 │B│ XMLTO git-bisect.1 │B│ XMLTO git-blame.1 │B│ XMLTO git-branch.1 │B│ XMLTO git-bugreport.1 │B│ XMLTO git-bundle.1 │B│ XMLTO git-cat-file.1 │B│ XMLTO git-check-attr.1 │B│ XMLTO git-check-ignore.1 │B│ XMLTO git-check-mailmap.1 │B│ XMLTO git-checkout.1 │B│ XMLTO git-checkout-index.1 │B│ XMLTO git-check-ref-format.1 │B│ XMLTO git-cherry.1 │B│ XMLTO git-cherry-pick.1 │B│ XMLTO git-citool.1 │B│ XMLTO git-clean.1 │B│ XMLTO git-clone.1 │B│ XMLTO git-column.1 │B│ XMLTO git-commit.1 │B│ XMLTO git-commit-graph.1 │B│ XMLTO git-commit-tree.1 │B│ XMLTO git-count-objects.1 │B│ XMLTO git-credential.1 │B│ XMLTO git-credential-cache.1 │B│ XMLTO git-credential-cache--daemon.1 │B│ XMLTO git-credential-store.1 │B│ XMLTO git-cvsexportcommit.1 │B│ XMLTO git-cvsimport.1 │B│ XMLTO git-cvsserver.1 │B│ XMLTO git-daemon.1 │B│ XMLTO git-describe.1 │B│ XMLTO git-diagnose.1 │B│ XMLTO git-diff.1 │B│ XMLTO git-diff-files.1 │B│ XMLTO git-diff-index.1 │B│ XMLTO git-diff-pairs.1 │B│ XMLTO git-difftool.1 │B│ XMLTO git-diff-tree.1 │B│ XMLTO git-fast-export.1 │B│ XMLTO git-fast-import.1 │B│ XMLTO git-fetch.1 │B│ XMLTO git-fetch-pack.1 │B│ XMLTO git-filter-branch.1 │B│ XMLTO git-fmt-merge-msg.1 │B│ XMLTO git-for-each-ref.1 │B│ XMLTO git-for-each-repo.1 │B│ XMLTO git-format-patch.1 │B│ XMLTO git-fsck.1 │B│ XMLTO git-fsck-objects.1 │B│ XMLTO git-fsmonitor--daemon.1 │B│ XMLTO git-gc.1 │B│ XMLTO git-get-tar-commit-id.1 │B│ XMLTO git-grep.1 │B│ XMLTO git-gui.1 │B│ XMLTO git-hash-object.1 │B│ XMLTO git-help.1 │B│ XMLTO git-hook.1 │B│ XMLTO git-http-backend.1 │B│ XMLTO git-http-fetch.1 │B│ XMLTO git-http-push.1 │B│ XMLTO git-imap-send.1 │B│ XMLTO git-index-pack.1 │B│ XMLTO git-init.1 │B│ XMLTO git-init-db.1 │B│ XMLTO git-instaweb.1 │B│ XMLTO git-interpret-trailers.1 │B│ XMLTO git-last-modified.1 │B│ XMLTO git-log.1 │B│ XMLTO git-ls-files.1 │B│ XMLTO git-ls-remote.1 │B│ XMLTO git-ls-tree.1 │B│ XMLTO git-mailinfo.1 │B│ XMLTO git-mailsplit.1 │B│ XMLTO git-maintenance.1 │B│ XMLTO git-merge.1 │B│ XMLTO git-merge-base.1 │B│ XMLTO git-merge-file.1 │B│ XMLTO git-merge-index.1 │B│ XMLTO git-merge-one-file.1 │B│ XMLTO git-mergetool.1 │B│ XMLTO git-mergetool--lib.1 │B│ XMLTO git-merge-tree.1 │B│ XMLTO git-mktag.1 │B│ XMLTO git-mktree.1 │B│ XMLTO git-multi-pack-index.1 │B│ XMLTO git-mv.1 │B│ XMLTO git-name-rev.1 │B│ XMLTO git-notes.1 │B│ XMLTO git-p4.1 │B│ XMLTO git-pack-objects.1 │B│ XMLTO git-pack-redundant.1 │B│ XMLTO git-pack-refs.1 │B│ XMLTO git-patch-id.1 │B│ XMLTO git-prune.1 │B│ XMLTO git-prune-packed.1 │B│ XMLTO git-pull.1 │B│ XMLTO git-push.1 │B│ XMLTO git-quiltimport.1 │B│ XMLTO git-range-diff.1 │B│ XMLTO git-read-tree.1 │B│ XMLTO git-rebase.1 │B│ XMLTO git-receive-pack.1 │B│ XMLTO git-reflog.1 │B│ XMLTO git-refs.1 │B│ XMLTO git-remote.1 │B│ XMLTO git-remote-ext.1 │B│ XMLTO git-remote-fd.1 │B│ XMLTO git-repack.1 │B│ XMLTO git-replace.1 │B│ XMLTO git-replay.1 │B│ XMLTO git-repo.1 │B│ XMLTO git-request-pull.1 │B│ XMLTO git-rerere.1 │B│ XMLTO git-reset.1 │B│ XMLTO git-restore.1 │B│ XMLTO git-revert.1 │B│ XMLTO git-rev-list.1 │B│ XMLTO git-rev-parse.1 │B│ XMLTO git-rm.1 │B│ XMLTO git-send-email.1 │B│ XMLTO git-send-pack.1 │B│ XMLTO git-shell.1 │B│ XMLTO git-sh-i18n.1 │B│ XMLTO git-sh-i18n--envsubst.1 │B│ XMLTO git-shortlog.1 │B│ XMLTO git-show.1 │B│ XMLTO git-show-branch.1 │B│ XMLTO git-show-index.1 │B│ XMLTO git-show-ref.1 │B│ XMLTO git-sh-setup.1 │B│ XMLTO git-sparse-checkout.1 │B│ XMLTO git-stage.1 │B│ XMLTO git-stash.1 │B│ XMLTO git-status.1 │B│ XMLTO git-stripspace.1 │B│ XMLTO git-submodule.1 │B│ XMLTO git-svn.1 │B│ XMLTO git-switch.1 │B│ XMLTO git-symbolic-ref.1 │B│ XMLTO git-tag.1 │B│ XMLTO git-unpack-file.1 │B│ XMLTO git-unpack-objects.1 │B│ XMLTO git-update-index.1 │B│ XMLTO git-update-ref.1 │B│ XMLTO git-update-server-info.1 │B│ XMLTO git-upload-archive.1 │B│ XMLTO git-upload-pack.1 │B│ XMLTO git-var.1 │B│ XMLTO git-verify-commit.1 │B│ XMLTO git-verify-pack.1 │B│ XMLTO git-verify-tag.1 │B│ XMLTO git-version.1 │B│ XMLTO git-web--browse.1 │B│ XMLTO git-whatchanged.1 │B│ XMLTO git-worktree.1 │B│ XMLTO git-write-tree.1 │B│ XMLTO git.1 │B│ XMLTO gitk.1 │B│ XMLTO gitweb.1 │B│ XMLTO scalar.1 │B│ XMLTO gitattributes.5 │B│ XMLTO gitformat-bundle.5 │B│ XMLTO gitformat-chunk.5 │B│ XMLTO gitformat-commit-graph.5 │B│ XMLTO gitformat-index.5 │B│ XMLTO gitformat-loose.5 │B│ XMLTO gitformat-pack.5 │B│ XMLTO gitformat-signature.5 │B│ XMLTO githooks.5 │B│ XMLTO gitignore.5 │B│ XMLTO gitmailmap.5 │B│ XMLTO gitmodules.5 │B│ XMLTO gitprotocol-capabilities.5 │B│ XMLTO gitprotocol-common.5 │B│ XMLTO gitprotocol-http.5 │B│ XMLTO gitprotocol-pack.5 │B│ XMLTO gitprotocol-v2.5 │B│ XMLTO gitrepository-layout.5 │B│ XMLTO gitweb.conf.5 │B│ XMLTO gitcli.7 │B│ XMLTO gitcore-tutorial.7 │B│ XMLTO gitcredentials.7 │B│ XMLTO gitcvs-migration.7 │B│ XMLTO gitdatamodel.7 │B│ XMLTO gitdiffcore.7 │B│ XMLTO giteveryday.7 │B│ XMLTO gitfaq.7 │B│ XMLTO gitglossary.7 │B│ XMLTO gitpacking.7 │B│ XMLTO gitnamespaces.7 │B│ XMLTO gitremote-helpers.7 │B│ XMLTO gitrevisions.7 │B│ XMLTO gitsubmodules.7 │B│ XMLTO gittutorial-2.7 │B│ XMLTO gittutorial.7 │B│ XMLTO gitworkflows.7 │B│ XMLTO git-config.1 │B│ make[1]: Leaving directory '/mason/build/x86_64/git-2.53.0.tar.gz/Documentation' │B│ + make -j 24 INSTALL_SYMLINKS=1 NO_GITWEB=1 -C contrib/subtree │B│ make: Entering directory '/mason/build/x86_64/git-2.53.0.tar.gz/contrib/subtree' │B│ sed -e '1s|#!.*/sh|#!/bin/sh|' git-subtree.sh >git-subtree │B│ chmod +x git-subtree │B│ make: Leaving directory '/mason/build/x86_64/git-2.53.0.tar.gz/contrib/subtree' │B│ + make -j 24 INSTALL_SYMLINKS=1 NO_GITWEB=1 -C contrib/credential/libsecret │B│ make: Entering directory '/mason/build/x86_64/git-2.53.0.tar.gz/contrib/credential/libsecret' │B│ clang -D_FORTIFY_SOURCE=2 -O2 -Werror=odr -Werror=strict-aliasing -ffat-lto-objects -flto=thin -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector --param ssp-buffer-size=32 -g -fasynchronous-unwind-tables -march=x86-64-v2 -mtune=ivybridge -mprefer-vector-width=128 -pipe -Wformat -Wformat-security -Wno-error -fPIC -I/usr/include/libsecret-1 -I/usr/include/gio-unix-2.0 -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/tss2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -o git-credential-libsecret.o -c git-credential-libsecret.c │B│ clang -D_FORTIFY_SOURCE=2 -O2 -Werror=odr -Werror=strict-aliasing -ffat-lto-objects -flto=thin -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector --param ssp-buffer-size=32 -g -fasynchronous-unwind-tables -march=x86-64-v2 -mtune=ivybridge -mprefer-vector-width=128 -pipe -Wformat -Wformat-security -Wno-error -fPIC -o git-credential-libsecret git-credential-libsecret.o -Wl,--as-needed -Wl,--build-id=sha1 -Wl,--compress-debug-sections=zstd -Wl,--icf=safe -Wl,--undefined-version -Wl,-Bsymbolic-functions -Wl,-O2,--gc-sections -Wl,-z,pack-relative-relocs -Wl,-z,relro,-z,now -flto=thin -lsecret-1 -lgio-2.0 -lgobject-2.0 -lglib-2.0 │B│ make: Leaving directory '/mason/build/x86_64/git-2.53.0.tar.gz/contrib/credential/libsecret' │ │Install │I│ + TERM=dumb │I│ + export TERM │I│ + SOURCE_DATE_EPOCH=1770222544 │I│ + export SOURCE_DATE_EPOCH │I│ + PGO_STAGE=NONE │I│ + export PGO_STAGE │I│ + PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/share/pkgconfig │I│ + export PKG_CONFIG_PATH │I│ + CFLAGS='-D_FORTIFY_SOURCE=2 -O2 -Werror=odr -Werror=strict-aliasing -ffat-lto-objects -flto=thin -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector --param ssp-buffer-size=32 -g -fasynchronous-unwind-tables -march=x86-64-v2 -mtune=ivybridge -mprefer-vector-width=128 -pipe -Wformat -Wformat-security -Wno-error -fPIC' │I│ + export CFLAGS │I│ + CGO_CFLAGS='-D_FORTIFY_SOURCE=2 -O2 -Werror=odr -Werror=strict-aliasing -ffat-lto-objects -flto=thin -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector --param ssp-buffer-size=32 -g -fasynchronous-unwind-tables -march=x86-64-v2 -mtune=ivybridge -mprefer-vector-width=128 -pipe -Wformat -Wformat-security -Wno-error -fPIC' │I│ + export CGO_CFLAGS │I│ + CXXFLAGS='-D_FORTIFY_SOURCE=2 -O2 -Werror=odr -Werror=strict-aliasing -ffat-lto-objects -flto=thin -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector --param ssp-buffer-size=32 -g -fasynchronous-unwind-tables -march=x86-64-v2 -mtune=ivybridge -mprefer-vector-width=128 -pipe -Wformat -Wformat-security -Wno-error -fPIC' │I│ + export CXXFLAGS │I│ + CGO_CXXFLAGS='-D_FORTIFY_SOURCE=2 -O2 -Werror=odr -Werror=strict-aliasing -ffat-lto-objects -flto=thin -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector --param ssp-buffer-size=32 -g -fasynchronous-unwind-tables -march=x86-64-v2 -mtune=ivybridge -mprefer-vector-width=128 -pipe -Wformat -Wformat-security -Wno-error -fPIC' │I│ + export CGO_CXXFLAGS │I│ + FFLAGS='-D_FORTIFY_SOURCE=2 -O2 -flto=thin -fno-omit-frame-pointer -g' │I│ + export FFLAGS │I│ + LDFLAGS='-Wl,--as-needed -Wl,--build-id=sha1 -Wl,--compress-debug-sections=zstd -Wl,--icf=safe -Wl,--undefined-version -Wl,-Bsymbolic-functions -Wl,-O2,--gc-sections -Wl,-z,pack-relative-relocs -Wl,-z,relro,-z,now -flto=thin' │I│ + export LDFLAGS │I│ + CGO_LDFLAGS='-Wl,--as-needed -Wl,--build-id=sha1 -Wl,--compress-debug-sections=zstd -Wl,--icf=safe -Wl,--undefined-version -Wl,-Bsymbolic-functions -Wl,-O2,--gc-sections -Wl,-z,pack-relative-relocs -Wl,-z,relro,-z,now -flto=thin -Wl,--no-gc-sections' │I│ + export CGO_LDFLAGS │I│ + DFLAGS='-O2 -flto=thin -frame-pointer=all -g -gc -d-debug -mcpu=x86-64-v2 -release -Hkeep-all-bodies -relocation-model=pic -wi' │I│ + export DFLAGS │I│ + RUSTFLAGS='-C debuginfo=2 -C split-debuginfo=off -C force-frame-pointers -C link-args=-Wl,--build-id=sha1 -C link-args=-Wl,--compress-debug-sections=zstd -C lto=thin -C linker-plugin-lto -C embed-bitcode=yes -C opt-level=3 -C codegen-units=16 -C strip=none -C target-cpu=x86-64-v2' │I│ + export RUSTFLAGS │I│ + CC=clang │I│ + export CC │I│ + CXX=clang++ │I│ + export CXX │I│ + OBJC=clang │I│ + export OBJC │I│ + OBJCXX=clang++ │I│ + export OBJCXX │I│ + CPP=clang-cpp │I│ + export CPP │I│ + OBJCPP='clang -E -' │I│ + export OBJCPP │I│ + OBJCXXCPP='clang++ -E' │I│ + export OBJCXXCPP │I│ + AR=llvm-ar │I│ + export AR │I│ + LD=ld.lld │I│ + export LD │I│ + OBJCOPY=llvm-objcopy │I│ + export OBJCOPY │I│ + NM=llvm-nm │I│ + export NM │I│ + RANLIB=llvm-ranlib │I│ + export RANLIB │I│ + STRIP=llvm-strip │I│ + export STRIP │I│ + PATH=/usr/bin:/bin │I│ + export PATH │I│ + CCACHE_DIR=/mason/ccache │I│ + export CCACHE_DIR │I│ + CCACHE_BASEDIR=/mason/build/x86_64/git-2.53.0.tar.gz │I│ + export CCACHE_BASEDIR │I│ + test -z /mason/ccache │I│ + export 'NINJA_STATUS=[%f/%t %es (%P)] ' │I│ + NINJA_STATUS='[%f/%t %es (%P)] ' │I│ + CARGO_BUILD_DEP_INFO_BASEDIR=/mason/build/x86_64/git-2.53.0.tar.gz │I│ + export CARGO_BUILD_DEP_INFO_BASEDIR │I│ + CARGO_NET_RETRY=5 │I│ + export CARGO_NET_RETRY │I│ + CARGO_PROFILE_RELEASE_DEBUG=full │I│ + export CARGO_PROFILE_RELEASE_DEBUG │I│ + CARGO_PROFILE_RELEASE_SPLIT_DEBUGINFO=off │I│ + export CARGO_PROFILE_RELEASE_SPLIT_DEBUGINFO │I│ + CARGO_PROFILE_RELEASE_LTO=off │I│ + export CARGO_PROFILE_RELEASE_LTO │I│ + CARGO_PROFILE_RELEASE_STRIP=none │I│ + export CARGO_PROFILE_RELEASE_STRIP │I│ + RUSTC_WRAPPER= │I│ + export RUSTC_WRAPPER │I│ + test -z '' │I│ + unset RUSTC_WRAPPER │I│ + GOCACHE= │I│ + export GOCACHE │I│ + test -z '' │I│ + unset GOCACHE │I│ + GOMODCACHE= │I│ + export GOMODCACHE │I│ + test -z '' │I│ + unset GOMODCACHE │I│ + CARGO_HOME= │I│ + export CARGO_HOME │I│ + test -z '' │I│ + unset CARGO_HOME │I│ + SCCACHE_DIR=/mason/sccache │I│ + export SCCACHE_DIR │I│ + test -z /mason/sccache │I│ + LANG=en_US.UTF-8 │I│ + export LANG │I│ + LC_ALL=en_US.UTF-8 │I│ + export LC_ALL │I│ + test -d /mason/build/x86_64/git-2.53.0.tar.gz │I│ + cd /mason/build/x86_64/git-2.53.0.tar.gz │I│ + echo 'The work directory %(workdir) is /mason/build/x86_64/git-2.53.0.tar.gz' │I│ + [[ -d /usr/share/defaults/docbook ]] │I│ The work directory %(workdir) is /mason/build/x86_64/git-2.53.0.tar.gz │I│ + _catalogs=() │I│ ++ find /usr/share/defaults/docbook -type f -name catalog │I│ + for c in $(find /usr/share/defaults/docbook -type f -name 'catalog') │I│ + _catalogs+=("file://${c}") │I│ + for c in $(find /usr/share/defaults/docbook -type f -name 'catalog') │I│ + _catalogs+=("file://${c}") │I│ + XML_CATALOG_FILES='file:///usr/share/defaults/docbook/docbook-dtd/catalog file:///usr/share/defaults/docbook/docbook-xsl/catalog' │I│ + export XML_CATALOG_FILES │I│ + unset _catalogs │I│ + MAKE_OPTS='INSTALL_SYMLINKS=1 NO_GITWEB=1' │I│ + make -j 24 install DESTDIR=/mason/install INSTALL_SYMLINKS=1 NO_GITWEB=1 install-man │I│ install -d -m 755 '/mason/install/usr/share/man/man3' │I│ (cd perl/build/man/man3 && tar cf - .) | \ │I│ (cd '/mason/install/usr/share/man/man3' && umask 022 && tar xof -) │I│ make -C Documentation install-man │I│ SUBDIR git-gui │I│ make[1]: Entering directory '/mason/build/x86_64/git-2.53.0.tar.gz/Documentation' │I│ GEN asciidoc.conf │I│ install -d -m 755 /mason/install/usr/share/man/man1 │I│ SUBDIR gitk-git │I│ install -d -m 755 /mason/install/usr/share/man/man5 │I│ install -d -m 755 /mason/install/usr/share/man/man7 │I│ install -m 644 git-add.1 git-am.1 git-annotate.1 git-apply.1 git-archimport.1 git-archive.1 git-backfill.1 git-bisect.1 git-blame.1 git-branch.1 git-bugreport.1 git-bundle.1 git-cat-file.1 git-check-attr.1 git-check-ignore.1 git-check-mailmap.1 git-checkout.1 git-checkout-index.1 git-check-ref-format.1 git-cherry.1 git-cherry-pick.1 git-citool.1 git-clean.1 git-clone.1 git-column.1 git-commit.1 git-commit-graph.1 git-commit-tree.1 git-config.1 git-count-objects.1 git-credential.1 git-credential-cache.1 git-credential-cache--daemon.1 git-credential-store.1 git-cvsexportcommit.1 git-cvsimport.1 git-cvsserver.1 git-daemon.1 git-describe.1 git-diagnose.1 git-diff.1 git-diff-files.1 git-diff-index.1 git-diff-pairs.1 git-difftool.1 git-diff-tree.1 git-fast-export.1 git-fast-import.1 git-fetch.1 git-fetch-pack.1 git-filter-branch.1 git-fmt-merge-msg.1 git-for-each-ref.1 git-for-each-repo.1 git-format-patch.1 git-fsck.1 git-fsck-objects.1 git-fsmonitor--daemon.1 git-gc.1 git-get-tar-commit-id.1 git-grep.1 git-gui.1 git-hash-object.1 git-help.1 git-hook.1 git-http-backend.1 git-http-fetch.1 git-http-push.1 git-imap-send.1 git-index-pack.1 git-init.1 git-init-db.1 git-instaweb.1 git-interpret-trailers.1 git-last-modified.1 git-log.1 git-ls-files.1 git-ls-remote.1 git-ls-tree.1 git-mailinfo.1 git-mailsplit.1 git-maintenance.1 git-merge.1 git-merge-base.1 git-merge-file.1 git-merge-index.1 git-merge-one-file.1 git-mergetool.1 git-mergetool--lib.1 git-merge-tree.1 git-mktag.1 git-mktree.1 git-multi-pack-index.1 git-mv.1 git-name-rev.1 git-notes.1 git-p4.1 git-pack-objects.1 git-pack-redundant.1 git-pack-refs.1 git-patch-id.1 git-prune.1 git-prune-packed.1 git-pull.1 git-push.1 git-quiltimport.1 git-range-diff.1 git-read-tree.1 git-rebase.1 git-receive-pack.1 git-reflog.1 git-refs.1 git-remote.1 git-remote-ext.1 git-remote-fd.1 git-repack.1 git-replace.1 git-replay.1 git-repo.1 git-request-pull.1 git-rerere.1 git-reset.1 git-restore.1 git-revert.1 git-rev-list.1 git-rev-parse.1 git-rm.1 git-send-email.1 git-send-pack.1 git-shell.1 git-sh-i18n.1 git-sh-i18n--envsubst.1 git-shortlog.1 git-show.1 git-show-branch.1 git-show-index.1 git-show-ref.1 git-sh-setup.1 git-sparse-checkout.1 git-stage.1 git-stash.1 git-status.1 git-stripspace.1 git-submodule.1 git-svn.1 git-switch.1 git-symbolic-ref.1 git-tag.1 git-unpack-file.1 git-unpack-objects.1 git-update-index.1 git-update-ref.1 git-update-server-info.1 git-upload-archive.1 git-upload-pack.1 git-var.1 git-verify-commit.1 git-verify-pack.1 git-verify-tag.1 git-version.1 git-web--browse.1 git-whatchanged.1 git-worktree.1 git-write-tree.1 git.1 gitk.1 gitweb.1 scalar.1 /mason/install/usr/share/man/man1 │I│ SUBDIR templates │I│ install -d -m 755 '/mason/install/usr/bin' │I│ install -d -m 755 '/mason/install/usr/lib/git/git-core' │I│ install -m 644 gitattributes.5 gitformat-bundle.5 gitformat-chunk.5 gitformat-commit-graph.5 gitformat-index.5 gitformat-loose.5 gitformat-pack.5 gitformat-signature.5 githooks.5 gitignore.5 gitmailmap.5 gitmodules.5 gitprotocol-capabilities.5 gitprotocol-common.5 gitprotocol-http.5 gitprotocol-pack.5 gitprotocol-v2.5 gitrepository-layout.5 gitweb.conf.5 /mason/install/usr/share/man/man5 │I│ install git-daemon git-http-backend git-imap-send git-sh-i18n--envsubst git-shell git-http-fetch git-http-push git-remote-http git-remote-https git-remote-ftp git-remote-ftps '/mason/install/usr/lib/git/git-core' │I│ install -m 644 gitcli.7 gitcore-tutorial.7 gitcredentials.7 gitcvs-migration.7 gitdatamodel.7 gitdiffcore.7 giteveryday.7 gitfaq.7 gitglossary.7 gitpacking.7 gitnamespaces.7 gitremote-helpers.7 gitrevisions.7 gitsubmodules.7 gittutorial-2.7 gittutorial.7 gitworkflows.7 /mason/install/usr/share/man/man7 │I│ make[1]: Leaving directory '/mason/build/x86_64/git-2.53.0.tar.gz/Documentation' │I│ install git-difftool--helper git-filter-branch git-merge-octopus git-merge-one-file git-merge-resolve git-mergetool git-quiltimport git-request-pull git-submodule git-web--browse git-archimport git-cvsexportcommit git-cvsimport git-cvsserver git-send-email git-svn git-p4 git-instaweb '/mason/install/usr/lib/git/git-core' │I│ install -m 644 git-mergetool--lib git-sh-i18n git-sh-setup '/mason/install/usr/lib/git/git-core' │I│ install git scalar git-receive-pack git-shell git-upload-archive git-upload-pack '/mason/install/usr/bin' │I│ install git-cvsserver '/mason/install/usr/bin' │I│ make -C templates DESTDIR='/mason/install' install │I│ make[1]: Entering directory '/mason/build/x86_64/git-2.53.0.tar.gz/templates' │I│ install -d -m 755 '/mason/install/usr/share/git-core/templates' │I│ (cd blt && tar cf - .) | \ │I│ (cd '/mason/install/usr/share/git-core/templates' && umask 022 && tar xof -) │I│ make[1]: Leaving directory '/mason/build/x86_64/git-2.53.0.tar.gz/templates' │I│ install -d -m 755 '/mason/install/usr/lib/git/git-core/mergetools' │I│ install -m 644 mergetools/* '/mason/install/usr/lib/git/git-core/mergetools' │I│ install -d -m 755 '/mason/install/usr/share/locale' │I│ (cd po/build/locale && tar cf - .) | \ │I│ (cd '/mason/install/usr/share/locale' && umask 022 && tar xof -) │I│ install -d -m 755 '/mason/install/usr/share/perl5' │I│ (cd perl/build/lib && tar cf - .) | \ │I│ (cd '/mason/install/usr/share/perl5' && umask 022 && tar xof -) │I│ make -C gitk-git install │I│ make[1]: Entering directory '/mason/build/x86_64/git-2.53.0.tar.gz/gitk-git' │I│ install -d -m 755 '/mason/install/usr/bin' │I│ install -m 755 gitk-wish '/mason/install/usr/bin'/gitk │I│ install -d -m 755 '/mason/install/usr/share/gitk/lib/msgs' │I│ install -m 644 po/bg.msg '/mason/install/usr/share/gitk/lib/msgs' && install -m 644 po/ca.msg '/mason/install/usr/share/gitk/lib/msgs' && install -m 644 po/de.msg '/mason/install/usr/share/gitk/lib/msgs' && install -m 644 po/es.msg '/mason/install/usr/share/gitk/lib/msgs' && install -m 644 po/fr.msg '/mason/install/usr/share/gitk/lib/msgs' && install -m 644 po/hu.msg '/mason/install/usr/share/gitk/lib/msgs' && install -m 644 po/it.msg '/mason/install/usr/share/gitk/lib/msgs' && install -m 644 po/ja.msg '/mason/install/usr/share/gitk/lib/msgs' && install -m 644 po/pt_br.msg '/mason/install/usr/share/gitk/lib/msgs' && install -m 644 po/pt_pt.msg '/mason/install/usr/share/gitk/lib/msgs' && install -m 644 po/ru.msg '/mason/install/usr/share/gitk/lib/msgs' && install -m 644 po/sv.msg '/mason/install/usr/share/gitk/lib/msgs' && install -m 644 po/ta.msg '/mason/install/usr/share/gitk/lib/msgs' && install -m 644 po/vi.msg '/mason/install/usr/share/gitk/lib/msgs' && install -m 644 po/zh_cn.msg '/mason/install/usr/share/gitk/lib/msgs' && true │I│ make[1]: Leaving directory '/mason/build/x86_64/git-2.53.0.tar.gz/gitk-git' │I│ make -C git-gui gitexecdir='/usr/lib/git/git-core' install │I│ make[1]: Entering directory '/mason/build/x86_64/git-2.53.0.tar.gz/git-gui' │I│ DEST /mason/install/usr/lib/git/git-core │I│ INSTALL 755 git-gui │I│ INSTALL 755 git-gui--askpass │I│ INSTALL 755 git-gui--askyesno │I│ LINK git-citool -> git-gui │I│ DEST /mason/install/usr/share/git-gui/lib │I│ INSTALL 644 tclIndex │I│ INSTALL 644 about.tcl │I│ INSTALL 644 blame.tcl │I│ INSTALL 644 branch_checkout.tcl │I│ INSTALL 644 branch_create.tcl │I│ INSTALL 644 branch_delete.tcl │I│ INSTALL 644 branch_rename.tcl │I│ INSTALL 644 branch.tcl │I│ INSTALL 644 browser.tcl │I│ INSTALL 644 checkout_op.tcl │I│ INSTALL 644 choose_font.tcl │I│ INSTALL 644 choose_repository.tcl │I│ INSTALL 644 choose_rev.tcl │I│ INSTALL 644 chord.tcl │I│ INSTALL 644 class.tcl │I│ INSTALL 644 commit.tcl │I│ INSTALL 644 console.tcl │I│ INSTALL 644 database.tcl │I│ INSTALL 644 date.tcl │I│ INSTALL 644 diff.tcl │I│ INSTALL 644 encoding.tcl │I│ INSTALL 644 error.tcl │I│ INSTALL 644 index.tcl │I│ INSTALL 644 line.tcl │I│ INSTALL 644 logo.tcl │I│ INSTALL 644 merge.tcl │I│ INSTALL 644 mergetool.tcl │I│ INSTALL 644 option.tcl │I│ INSTALL 644 remote_add.tcl │I│ INSTALL 644 remote_branch_delete.tcl │I│ INSTALL 644 remote.tcl │I│ INSTALL 644 search.tcl │I│ INSTALL 644 shortcut.tcl │I│ INSTALL 644 spellcheck.tcl │I│ INSTALL 644 sshkey.tcl │I│ INSTALL 644 status_bar.tcl │I│ INSTALL 644 themed.tcl │I│ INSTALL 644 tools_dlg.tcl │I│ INSTALL 644 tools.tcl │I│ INSTALL 644 transport.tcl │I│ INSTALL 644 win32.tcl │I│ INSTALL 644 git-gui.ico │I│ INSTALL 644 win32_shortcut.js │I│ DEST /mason/install/usr/share/git-gui/lib/msgs │I│ INSTALL 644 bg.msg │I│ INSTALL 644 de.msg │I│ INSTALL 644 el.msg │I│ INSTALL 644 fr.msg │I│ INSTALL 644 hu.msg │I│ INSTALL 644 it.msg │I│ INSTALL 644 ja.msg │I│ INSTALL 644 nb.msg │I│ INSTALL 644 pt_br.msg │I│ INSTALL 644 pt_pt.msg │I│ INSTALL 644 ru.msg │I│ INSTALL 644 sv.msg │I│ INSTALL 644 vi.msg │I│ INSTALL 644 zh_cn.msg │I│ make[1]: Leaving directory '/mason/build/x86_64/git-2.53.0.tar.gz/git-gui' │I│ install -d -m 755 '/mason/install/usr/share/bash-completion/completions' && \ │I│ install -m 644 contrib/completion/git-completion.bash '/mason/install/usr/share/bash-completion/completions/git' │I│ bindir=$(cd '/mason/install/usr/bin' && pwd) && \ │I│ execdir=$(cd '/mason/install/usr/lib/git/git-core' && pwd) && \ │I│ destdir_from_execdir_SQ=$(echo 'lib/git/git-core' | sed -e 's|[^/][^/]*|..|g') && \ │I│ { test "$bindir/" = "$execdir/" || \ │I│ for p in git scalar git-shell git-cvsserver; do \ │I│ rm -f "$execdir/$p" && \ │I│ test -n "1" && \ │I│ ln -s "$destdir_from_execdir_SQ/bin/$p" "$execdir/$p" || \ │I│ { test -z "" && \ │I│ ln "$bindir/$p" "$execdir/$p" 2>/dev/null || \ │I│ cp "$bindir/$p" "$execdir/$p" || exit; } \ │I│ done; \ │I│ } && \ │I│ for p in git-receive-pack git-upload-archive git-upload-pack; do \ │I│ rm -f "$bindir/$p" && \ │I│ test -n "1" && \ │I│ ln -s "git" "$bindir/$p" || \ │I│ { test -z "" && \ │I│ ln "$bindir/git" "$bindir/$p" 2>/dev/null || \ │I│ ln -s "git" "$bindir/$p" 2>/dev/null || \ │I│ cp "$bindir/git" "$bindir/$p" || exit; }; \ │I│ done && \ │I│ for p in git-add git-am git-annotate git-apply git-archive git-backfill git-bisect git-blame git-branch git-bugreport git-bundle git-cat-file git-check-attr git-check-ignore git-check-mailmap git-check-ref-format git-checkout--worker git-checkout-index git-checkout git-clean git-clone git-column git-commit-graph git-commit-tree git-commit git-config git-count-objects git-credential-cache--daemon git-credential-cache git-credential-store git-credential git-describe git-diagnose git-diff-files git-diff-index git-diff-pairs git-diff-tree git-diff git-difftool git-fast-export git-fast-import git-fetch-pack git-fetch git-fmt-merge-msg git-for-each-ref git-for-each-repo git-fsck git-fsmonitor--daemon git-gc git-get-tar-commit-id git-grep git-hash-object git-help git-hook git-index-pack git-init-db git-interpret-trailers git-last-modified git-log git-ls-files git-ls-remote git-ls-tree git-mailinfo git-mailsplit git-merge-base git-merge-file git-merge-index git-merge-ours git-merge-recursive git-merge-tree git-merge git-mktag git-mktree git-multi-pack-index git-mv git-name-rev git-notes git-pack-objects git-pack-redundant git-pack-refs git-patch-id git-prune-packed git-prune git-pull git-push git-range-diff git-read-tree git-rebase git-receive-pack git-reflog git-refs git-remote-ext git-remote-fd git-remote git-repack git-replace git-replay git-repo git-rerere git-reset git-rev-list git-rev-parse git-revert git-rm git-send-pack git-shortlog git-show-branch git-show-index git-show-ref git-sparse-checkout git-stash git-stripspace git-submodule--helper git-symbolic-ref git-tag git-unpack-file git-unpack-objects git-update-index git-update-ref git-update-server-info git-upload-archive git-upload-pack git-var git-verify-commit git-verify-pack git-verify-tag git-worktree git-write-tree git-cherry git-cherry-pick git-format-patch git-fsck-objects git-init git-maintenance git-merge-subtree git-restore git-show git-stage git-status git-switch git-version git-whatchanged; do \ │I│ rm -f "$execdir/$p" && \ │I│ if test -z ""; \ │I│ then \ │I│ test -n "1" && \ │I│ ln -s "$destdir_from_execdir_SQ/bin/git" "$execdir/$p" || \ │I│ { test -z "" && \ │I│ ln "$execdir/git" "$execdir/$p" 2>/dev/null || \ │I│ ln -s "git" "$execdir/$p" 2>/dev/null || \ │I│ cp "$execdir/git" "$execdir/$p" || exit; }; \ │I│ fi \ │I│ done && \ │I│ remote_curl_aliases="git-remote-https git-remote-ftp git-remote-ftps" && \ │I│ for p in $remote_curl_aliases; do \ │I│ rm -f "$execdir/$p" && \ │I│ test -n "1" && \ │I│ ln -s "git-remote-http" "$execdir/$p" || \ │I│ { test -z "" && \ │I│ ln "$execdir/git-remote-http" "$execdir/$p" 2>/dev/null || \ │I│ ln -s "git-remote-http" "$execdir/$p" 2>/dev/null || \ │I│ cp "$execdir/git-remote-http" "$execdir/$p" || exit; } \ │I│ done │I│ + make -j 24 install DESTDIR=/mason/install INSTALL_SYMLINKS=1 NO_GITWEB=1 -C contrib/subtree │I│ make: Entering directory '/mason/build/x86_64/git-2.53.0.tar.gz/contrib/subtree' │I│ install -d -m 755 /mason/install/usr/lib/git/git-core │I│ install -m 755 git-subtree /mason/install/usr/lib/git/git-core │I│ make: Leaving directory '/mason/build/x86_64/git-2.53.0.tar.gz/contrib/subtree' │I│ + install -Dm00644 contrib/completion/git-completion.bash /mason/install/usr/share/bash-completion/completions/git │I│ + ln -s git /mason/install/usr/share/bash-completion/completions/gitk │I│ + install -Dm00644 /mason/recipe/pkg/git-gui.desktop -t /mason/install/usr/share/applications │I│ + install -Dm00644 contrib/completion/git-completion.zsh /mason/install/usr/share/zsh/site-functions/_git │I│ + install -Dm00755 contrib/credential/libsecret/git-credential-libsecret /mason/install/usr/lib/git/git-core/. │Analyzing artefacts (» = Include, × = Ignore, ^ = Replace) │A│ » /usr/bin/git │A│ » /usr/bin/git-cvsserver │A│ » /usr/bin/git-receive-pack │A│ » /usr/bin/git-shell │A│ » /usr/bin/git-upload-archive │A│ » /usr/bin/git-upload-pack │A│ » /usr/bin/gitk │A│ » /usr/bin/scalar │A│ » /usr/lib/git/git-core/git │A│ » /usr/lib/git/git-core/git-add │A│ » /usr/lib/git/git-core/git-am │A│ » /usr/lib/git/git-core/git-annotate │A│ » /usr/lib/git/git-core/git-apply │A│ » /usr/lib/git/git-core/git-archimport │A│ » /usr/lib/git/git-core/git-archive │A│ » /usr/lib/git/git-core/git-backfill │A│ » /usr/lib/git/git-core/git-bisect │A│ » /usr/lib/git/git-core/git-blame │A│ » /usr/lib/git/git-core/git-branch │A│ » /usr/lib/git/git-core/git-bugreport │A│ » /usr/lib/git/git-core/git-bundle │A│ » /usr/lib/git/git-core/git-cat-file │A│ » /usr/lib/git/git-core/git-check-attr │A│ » /usr/lib/git/git-core/git-check-ignore │A│ » /usr/lib/git/git-core/git-check-mailmap │A│ » /usr/lib/git/git-core/git-check-ref-format │A│ » /usr/lib/git/git-core/git-checkout │A│ » /usr/lib/git/git-core/git-checkout--worker │A│ » /usr/lib/git/git-core/git-checkout-index │A│ » /usr/lib/git/git-core/git-cherry │A│ » /usr/lib/git/git-core/git-cherry-pick │A│ » /usr/lib/git/git-core/git-citool │A│ » /usr/lib/git/git-core/git-clean │A│ » /usr/lib/git/git-core/git-clone │A│ » /usr/lib/git/git-core/git-column │A│ » /usr/lib/git/git-core/git-commit │A│ » /usr/lib/git/git-core/git-commit-graph │A│ » /usr/lib/git/git-core/git-commit-tree │A│ » /usr/lib/git/git-core/git-config │A│ » /usr/lib/git/git-core/git-count-objects │A│ » /usr/lib/git/git-core/git-credential │A│ » /usr/lib/git/git-core/git-credential-cache │A│ » /usr/lib/git/git-core/git-credential-cache--daemon │A│ » /usr/lib/git/git-core/git-credential-libsecret │A│ » /usr/lib/git/git-core/git-credential-store │A│ » /usr/lib/git/git-core/git-cvsexportcommit │A│ » /usr/lib/git/git-core/git-cvsimport │A│ » /usr/lib/git/git-core/git-cvsserver │A│ » /usr/lib/git/git-core/git-daemon │A│ » /usr/lib/git/git-core/git-describe │A│ » /usr/lib/git/git-core/git-diagnose │A│ » /usr/lib/git/git-core/git-diff │A│ » /usr/lib/git/git-core/git-diff-files │A│ » /usr/lib/git/git-core/git-diff-index │A│ » /usr/lib/git/git-core/git-diff-pairs │A│ » /usr/lib/git/git-core/git-diff-tree │A│ » /usr/lib/git/git-core/git-difftool │A│ » /usr/lib/git/git-core/git-difftool--helper │A│ » /usr/lib/git/git-core/git-fast-export │A│ » /usr/lib/git/git-core/git-fast-import │A│ » /usr/lib/git/git-core/git-fetch │A│ » /usr/lib/git/git-core/git-fetch-pack │A│ » /usr/lib/git/git-core/git-filter-branch │A│ » /usr/lib/git/git-core/git-fmt-merge-msg │A│ » /usr/lib/git/git-core/git-for-each-ref │A│ » /usr/lib/git/git-core/git-for-each-repo │A│ » /usr/lib/git/git-core/git-format-patch │A│ » /usr/lib/git/git-core/git-fsck │A│ » /usr/lib/git/git-core/git-fsck-objects │A│ » /usr/lib/git/git-core/git-fsmonitor--daemon │A│ » /usr/lib/git/git-core/git-gc │A│ » /usr/lib/git/git-core/git-get-tar-commit-id │A│ » /usr/lib/git/git-core/git-grep │A│ » /usr/lib/git/git-core/git-gui │A│ » /usr/lib/git/git-core/git-gui--askpass │A│ » /usr/lib/git/git-core/git-gui--askyesno │A│ » /usr/lib/git/git-core/git-hash-object │A│ » /usr/lib/git/git-core/git-help │A│ » /usr/lib/git/git-core/git-hook │A│ » /usr/lib/git/git-core/git-http-backend │A│ » /usr/lib/git/git-core/git-http-fetch │A│ » /usr/lib/git/git-core/git-http-push │A│ » /usr/lib/git/git-core/git-imap-send │A│ » /usr/lib/git/git-core/git-index-pack │A│ » /usr/lib/git/git-core/git-init │A│ » /usr/lib/git/git-core/git-init-db │A│ » /usr/lib/git/git-core/git-instaweb │A│ » /usr/lib/git/git-core/git-interpret-trailers │A│ » /usr/lib/git/git-core/git-last-modified │A│ » /usr/lib/git/git-core/git-log │A│ » /usr/lib/git/git-core/git-ls-files │A│ » /usr/lib/git/git-core/git-ls-remote │A│ » /usr/lib/git/git-core/git-ls-tree │A│ » /usr/lib/git/git-core/git-mailinfo │A│ » /usr/lib/git/git-core/git-mailsplit │A│ » /usr/lib/git/git-core/git-maintenance │A│ » /usr/lib/git/git-core/git-merge │A│ » /usr/lib/git/git-core/git-merge-base │A│ » /usr/lib/git/git-core/git-merge-file │A│ » /usr/lib/git/git-core/git-merge-index │A│ » /usr/lib/git/git-core/git-merge-octopus │A│ » /usr/lib/git/git-core/git-merge-one-file │A│ » /usr/lib/git/git-core/git-merge-ours │A│ » /usr/lib/git/git-core/git-merge-recursive │A│ » /usr/lib/git/git-core/git-merge-resolve │A│ » /usr/lib/git/git-core/git-merge-subtree │A│ » /usr/lib/git/git-core/git-merge-tree │A│ » /usr/lib/git/git-core/git-mergetool │A│ » /usr/lib/git/git-core/git-mergetool--lib │A│ » /usr/lib/git/git-core/git-mktag │A│ » /usr/lib/git/git-core/git-mktree │A│ » /usr/lib/git/git-core/git-multi-pack-index │A│ » /usr/lib/git/git-core/git-mv │A│ » /usr/lib/git/git-core/git-name-rev │A│ » /usr/lib/git/git-core/git-notes │A│ » /usr/lib/git/git-core/git-p4 │A│ » /usr/lib/git/git-core/git-pack-objects │A│ » /usr/lib/git/git-core/git-pack-redundant │A│ » /usr/lib/git/git-core/git-pack-refs │A│ » /usr/lib/git/git-core/git-patch-id │A│ » /usr/lib/git/git-core/git-prune │A│ » /usr/lib/git/git-core/git-prune-packed │A│ » /usr/lib/git/git-core/git-pull │A│ » /usr/lib/git/git-core/git-push │A│ » /usr/lib/git/git-core/git-quiltimport │A│ » /usr/lib/git/git-core/git-range-diff │A│ » /usr/lib/git/git-core/git-read-tree │A│ » /usr/lib/git/git-core/git-rebase │A│ » /usr/lib/git/git-core/git-receive-pack │A│ » /usr/lib/git/git-core/git-reflog │A│ » /usr/lib/git/git-core/git-refs │A│ » /usr/lib/git/git-core/git-remote │A│ » /usr/lib/git/git-core/git-remote-ext │A│ » /usr/lib/git/git-core/git-remote-fd │A│ » /usr/lib/git/git-core/git-remote-ftp │A│ » /usr/lib/git/git-core/git-remote-ftps │A│ » /usr/lib/git/git-core/git-remote-http │A│ » /usr/lib/git/git-core/git-remote-https │A│ » /usr/lib/git/git-core/git-repack │A│ » /usr/lib/git/git-core/git-replace │A│ » /usr/lib/git/git-core/git-replay │A│ » /usr/lib/git/git-core/git-repo │A│ » /usr/lib/git/git-core/git-request-pull │A│ » /usr/lib/git/git-core/git-rerere │A│ » /usr/lib/git/git-core/git-reset │A│ » /usr/lib/git/git-core/git-restore │A│ » /usr/lib/git/git-core/git-rev-list │A│ » /usr/lib/git/git-core/git-rev-parse │A│ » /usr/lib/git/git-core/git-revert │A│ » /usr/lib/git/git-core/git-rm │A│ » /usr/lib/git/git-core/git-send-email │A│ » /usr/lib/git/git-core/git-send-pack │A│ » /usr/lib/git/git-core/git-sh-i18n │A│ » /usr/lib/git/git-core/git-sh-i18n--envsubst │A│ » /usr/lib/git/git-core/git-sh-setup │A│ » /usr/lib/git/git-core/git-shell │A│ » /usr/lib/git/git-core/git-shortlog │A│ » /usr/lib/git/git-core/git-show │A│ » /usr/lib/git/git-core/git-show-branch │A│ » /usr/lib/git/git-core/git-show-index │A│ » /usr/lib/git/git-core/git-show-ref │A│ » /usr/lib/git/git-core/git-sparse-checkout │A│ » /usr/lib/git/git-core/git-stage │A│ » /usr/lib/git/git-core/git-stash │A│ » /usr/lib/git/git-core/git-status │A│ » /usr/lib/git/git-core/git-stripspace │A│ » /usr/lib/git/git-core/git-submodule │A│ » /usr/lib/git/git-core/git-submodule--helper │A│ » /usr/lib/git/git-core/git-subtree │A│ » /usr/lib/git/git-core/git-svn │A│ » /usr/lib/git/git-core/git-switch │A│ » /usr/lib/git/git-core/git-symbolic-ref │A│ » /usr/lib/git/git-core/git-tag │A│ » /usr/lib/git/git-core/git-unpack-file │A│ » /usr/lib/git/git-core/git-unpack-objects │A│ » /usr/lib/git/git-core/git-update-index │A│ » /usr/lib/git/git-core/git-update-ref │A│ » /usr/lib/git/git-core/git-update-server-info │A│ » /usr/lib/git/git-core/git-upload-archive │A│ » /usr/lib/git/git-core/git-upload-pack │A│ » /usr/lib/git/git-core/git-var │A│ » /usr/lib/git/git-core/git-verify-commit │A│ » /usr/lib/git/git-core/git-verify-pack │A│ » /usr/lib/git/git-core/git-verify-tag │A│ » /usr/lib/git/git-core/git-version │A│ » /usr/lib/git/git-core/git-web--browse │A│ » /usr/lib/git/git-core/git-whatchanged │A│ » /usr/lib/git/git-core/git-worktree │A│ » /usr/lib/git/git-core/git-write-tree │A│ » /usr/lib/git/git-core/mergetools/araxis │A│ » /usr/lib/git/git-core/mergetools/bc │A│ » /usr/lib/git/git-core/mergetools/codecompare │A│ » /usr/lib/git/git-core/mergetools/deltawalker │A│ » /usr/lib/git/git-core/mergetools/diffmerge │A│ » /usr/lib/git/git-core/mergetools/diffuse │A│ » /usr/lib/git/git-core/mergetools/ecmerge │A│ » /usr/lib/git/git-core/mergetools/emerge │A│ » /usr/lib/git/git-core/mergetools/examdiff │A│ » /usr/lib/git/git-core/mergetools/guiffy │A│ » /usr/lib/git/git-core/mergetools/gvimdiff │A│ » /usr/lib/git/git-core/mergetools/kdiff3 │A│ » /usr/lib/git/git-core/mergetools/kompare │A│ » /usr/lib/git/git-core/mergetools/meld │A│ » /usr/lib/git/git-core/mergetools/nvimdiff │A│ » /usr/lib/git/git-core/mergetools/opendiff │A│ » /usr/lib/git/git-core/mergetools/p4merge │A│ » /usr/lib/git/git-core/mergetools/smerge │A│ » /usr/lib/git/git-core/mergetools/tkdiff │A│ » /usr/lib/git/git-core/mergetools/tortoisemerge │A│ » /usr/lib/git/git-core/mergetools/vimdiff │A│ » /usr/lib/git/git-core/mergetools/vscode │A│ » /usr/lib/git/git-core/mergetools/winmerge │A│ » /usr/lib/git/git-core/mergetools/xxdiff │A│ » /usr/lib/git/git-core/scalar │A│ » /usr/share/applications/git-gui.desktop │A│ » /usr/share/bash-completion/completions/git │A│ » /usr/share/bash-completion/completions/gitk │A│ » /usr/share/git-core/templates/description │A│ » /usr/share/git-core/templates/hooks/applypatch-msg.sample │A│ » /usr/share/git-core/templates/hooks/commit-msg.sample │A│ » /usr/share/git-core/templates/hooks/fsmonitor-watchman.sample │A│ » /usr/share/git-core/templates/hooks/post-update.sample │A│ » /usr/share/git-core/templates/hooks/pre-applypatch.sample │A│ » /usr/share/git-core/templates/hooks/pre-commit.sample │A│ » /usr/share/git-core/templates/hooks/pre-merge-commit.sample │A│ » /usr/share/git-core/templates/hooks/pre-push.sample │A│ » /usr/share/git-core/templates/hooks/pre-rebase.sample │A│ » /usr/share/git-core/templates/hooks/pre-receive.sample │A│ » /usr/share/git-core/templates/hooks/prepare-commit-msg.sample │A│ » /usr/share/git-core/templates/hooks/push-to-checkout.sample │A│ » /usr/share/git-core/templates/hooks/sendemail-validate.sample │A│ » /usr/share/git-core/templates/hooks/update.sample │A│ » /usr/share/git-core/templates/info/exclude │A│ » /usr/share/git-gui/lib/about.tcl │A│ » /usr/share/git-gui/lib/blame.tcl │A│ » /usr/share/git-gui/lib/branch.tcl │A│ » /usr/share/git-gui/lib/branch_checkout.tcl │A│ » /usr/share/git-gui/lib/branch_create.tcl │A│ » /usr/share/git-gui/lib/branch_delete.tcl │A│ » /usr/share/git-gui/lib/branch_rename.tcl │A│ » /usr/share/git-gui/lib/browser.tcl │A│ » /usr/share/git-gui/lib/checkout_op.tcl │A│ » /usr/share/git-gui/lib/choose_font.tcl │A│ » /usr/share/git-gui/lib/choose_repository.tcl │A│ » /usr/share/git-gui/lib/choose_rev.tcl │A│ » /usr/share/git-gui/lib/chord.tcl │A│ » /usr/share/git-gui/lib/class.tcl │A│ » /usr/share/git-gui/lib/commit.tcl │A│ » /usr/share/git-gui/lib/console.tcl │A│ » /usr/share/git-gui/lib/database.tcl │A│ » /usr/share/git-gui/lib/date.tcl │A│ » /usr/share/git-gui/lib/diff.tcl │A│ » /usr/share/git-gui/lib/encoding.tcl │A│ » /usr/share/git-gui/lib/error.tcl │A│ » /usr/share/git-gui/lib/git-gui.ico │A│ » /usr/share/git-gui/lib/index.tcl │A│ » /usr/share/git-gui/lib/line.tcl │A│ » /usr/share/git-gui/lib/logo.tcl │A│ » /usr/share/git-gui/lib/merge.tcl │A│ » /usr/share/git-gui/lib/mergetool.tcl │A│ » /usr/share/git-gui/lib/msgs/bg.msg │A│ » /usr/share/git-gui/lib/msgs/de.msg │A│ » /usr/share/git-gui/lib/msgs/el.msg │A│ » /usr/share/git-gui/lib/msgs/fr.msg │A│ » /usr/share/git-gui/lib/msgs/hu.msg │A│ » /usr/share/git-gui/lib/msgs/it.msg │A│ » /usr/share/git-gui/lib/msgs/ja.msg │A│ » /usr/share/git-gui/lib/msgs/nb.msg │A│ » /usr/share/git-gui/lib/msgs/pt_br.msg │A│ » /usr/share/git-gui/lib/msgs/pt_pt.msg │A│ » /usr/share/git-gui/lib/msgs/ru.msg │A│ » /usr/share/git-gui/lib/msgs/sv.msg │A│ » /usr/share/git-gui/lib/msgs/vi.msg │A│ » /usr/share/git-gui/lib/msgs/zh_cn.msg │A│ » /usr/share/git-gui/lib/option.tcl │A│ » /usr/share/git-gui/lib/remote.tcl │A│ » /usr/share/git-gui/lib/remote_add.tcl │A│ » /usr/share/git-gui/lib/remote_branch_delete.tcl │A│ » /usr/share/git-gui/lib/search.tcl │A│ » /usr/share/git-gui/lib/shortcut.tcl │A│ » /usr/share/git-gui/lib/spellcheck.tcl │A│ » /usr/share/git-gui/lib/sshkey.tcl │A│ » /usr/share/git-gui/lib/status_bar.tcl │A│ » /usr/share/git-gui/lib/tclIndex │A│ » /usr/share/git-gui/lib/themed.tcl │A│ » /usr/share/git-gui/lib/tools.tcl │A│ » /usr/share/git-gui/lib/tools_dlg.tcl │A│ » /usr/share/git-gui/lib/transport.tcl │A│ » /usr/share/git-gui/lib/win32.tcl │A│ » /usr/share/git-gui/lib/win32_shortcut.js │A│ » /usr/share/gitk/lib/msgs/bg.msg │A│ » /usr/share/gitk/lib/msgs/ca.msg │A│ » /usr/share/gitk/lib/msgs/de.msg │A│ » /usr/share/gitk/lib/msgs/es.msg │A│ » /usr/share/gitk/lib/msgs/fr.msg │A│ » /usr/share/gitk/lib/msgs/hu.msg │A│ » /usr/share/gitk/lib/msgs/it.msg │A│ » /usr/share/gitk/lib/msgs/ja.msg │A│ » /usr/share/gitk/lib/msgs/pt_br.msg │A│ » /usr/share/gitk/lib/msgs/pt_pt.msg │A│ » /usr/share/gitk/lib/msgs/ru.msg │A│ » /usr/share/gitk/lib/msgs/sv.msg │A│ » /usr/share/gitk/lib/msgs/ta.msg │A│ » /usr/share/gitk/lib/msgs/vi.msg │A│ » /usr/share/gitk/lib/msgs/zh_cn.msg │A│ » /usr/share/locale/bg/LC_MESSAGES/git.mo │A│ » /usr/share/locale/ca/LC_MESSAGES/git.mo │A│ » /usr/share/locale/de/LC_MESSAGES/git.mo │A│ » /usr/share/locale/el/LC_MESSAGES/git.mo │A│ » /usr/share/locale/es/LC_MESSAGES/git.mo │A│ » /usr/share/locale/fr/LC_MESSAGES/git.mo │A│ » /usr/share/locale/ga/LC_MESSAGES/git.mo │A│ » /usr/share/locale/id/LC_MESSAGES/git.mo │A│ » /usr/share/locale/is/LC_MESSAGES/git.mo │A│ » /usr/share/locale/it/LC_MESSAGES/git.mo │A│ » /usr/share/locale/ko/LC_MESSAGES/git.mo │A│ » /usr/share/locale/pl/LC_MESSAGES/git.mo │A│ » /usr/share/locale/pt_PT/LC_MESSAGES/git.mo │A│ » /usr/share/locale/ru/LC_MESSAGES/git.mo │A│ » /usr/share/locale/sv/LC_MESSAGES/git.mo │A│ » /usr/share/locale/tr/LC_MESSAGES/git.mo │A│ » /usr/share/locale/uk/LC_MESSAGES/git.mo │A│ » /usr/share/locale/vi/LC_MESSAGES/git.mo │A│ » /usr/share/locale/zh_CN/LC_MESSAGES/git.mo │A│ » /usr/share/locale/zh_TW/LC_MESSAGES/git.mo │A│ » /usr/share/man/man1/git-add.1 │A│ » /usr/share/man/man1/git-am.1 │A│ » /usr/share/man/man1/git-annotate.1 │A│ » /usr/share/man/man1/git-apply.1 │A│ » /usr/share/man/man1/git-archimport.1 │A│ » /usr/share/man/man1/git-archive.1 │A│ » /usr/share/man/man1/git-backfill.1 │A│ » /usr/share/man/man1/git-bisect.1 │A│ » /usr/share/man/man1/git-blame.1 │A│ » /usr/share/man/man1/git-branch.1 │A│ » /usr/share/man/man1/git-bugreport.1 │A│ » /usr/share/man/man1/git-bundle.1 │A│ » /usr/share/man/man1/git-cat-file.1 │A│ » /usr/share/man/man1/git-check-attr.1 │A│ » /usr/share/man/man1/git-check-ignore.1 │A│ » /usr/share/man/man1/git-check-mailmap.1 │A│ » /usr/share/man/man1/git-check-ref-format.1 │A│ » /usr/share/man/man1/git-checkout-index.1 │A│ » /usr/share/man/man1/git-checkout.1 │A│ » /usr/share/man/man1/git-cherry-pick.1 │A│ » /usr/share/man/man1/git-cherry.1 │A│ » /usr/share/man/man1/git-citool.1 │A│ » /usr/share/man/man1/git-clean.1 │A│ » /usr/share/man/man1/git-clone.1 │A│ » /usr/share/man/man1/git-column.1 │A│ » /usr/share/man/man1/git-commit-graph.1 │A│ » /usr/share/man/man1/git-commit-tree.1 │A│ » /usr/share/man/man1/git-commit.1 │A│ » /usr/share/man/man1/git-config.1 │A│ » /usr/share/man/man1/git-count-objects.1 │A│ » /usr/share/man/man1/git-credential-cache--daemon.1 │A│ » /usr/share/man/man1/git-credential-cache.1 │A│ » /usr/share/man/man1/git-credential-store.1 │A│ » /usr/share/man/man1/git-credential.1 │A│ » /usr/share/man/man1/git-cvsexportcommit.1 │A│ » /usr/share/man/man1/git-cvsimport.1 │A│ » /usr/share/man/man1/git-cvsserver.1 │A│ » /usr/share/man/man1/git-daemon.1 │A│ » /usr/share/man/man1/git-describe.1 │A│ » /usr/share/man/man1/git-diagnose.1 │A│ » /usr/share/man/man1/git-diff-files.1 │A│ » /usr/share/man/man1/git-diff-index.1 │A│ » /usr/share/man/man1/git-diff-pairs.1 │A│ » /usr/share/man/man1/git-diff-tree.1 │A│ » /usr/share/man/man1/git-diff.1 │A│ » /usr/share/man/man1/git-difftool.1 │A│ » /usr/share/man/man1/git-fast-export.1 │A│ » /usr/share/man/man1/git-fast-import.1 │A│ » /usr/share/man/man1/git-fetch-pack.1 │A│ » /usr/share/man/man1/git-fetch.1 │A│ » /usr/share/man/man1/git-filter-branch.1 │A│ » /usr/share/man/man1/git-fmt-merge-msg.1 │A│ » /usr/share/man/man1/git-for-each-ref.1 │A│ » /usr/share/man/man1/git-for-each-repo.1 │A│ » /usr/share/man/man1/git-format-patch.1 │A│ » /usr/share/man/man1/git-fsck-objects.1 │A│ » /usr/share/man/man1/git-fsck.1 │A│ » /usr/share/man/man1/git-fsmonitor--daemon.1 │A│ » /usr/share/man/man1/git-gc.1 │A│ » /usr/share/man/man1/git-get-tar-commit-id.1 │A│ » /usr/share/man/man1/git-grep.1 │A│ » /usr/share/man/man1/git-gui.1 │A│ » /usr/share/man/man1/git-hash-object.1 │A│ » /usr/share/man/man1/git-help.1 │A│ » /usr/share/man/man1/git-hook.1 │A│ » /usr/share/man/man1/git-http-backend.1 │A│ » /usr/share/man/man1/git-http-fetch.1 │A│ » /usr/share/man/man1/git-http-push.1 │A│ » /usr/share/man/man1/git-imap-send.1 │A│ » /usr/share/man/man1/git-index-pack.1 │A│ » /usr/share/man/man1/git-init-db.1 │A│ » /usr/share/man/man1/git-init.1 │A│ » /usr/share/man/man1/git-instaweb.1 │A│ » /usr/share/man/man1/git-interpret-trailers.1 │A│ » /usr/share/man/man1/git-last-modified.1 │A│ » /usr/share/man/man1/git-log.1 │A│ » /usr/share/man/man1/git-ls-files.1 │A│ » /usr/share/man/man1/git-ls-remote.1 │A│ » /usr/share/man/man1/git-ls-tree.1 │A│ » /usr/share/man/man1/git-mailinfo.1 │A│ » /usr/share/man/man1/git-mailsplit.1 │A│ » /usr/share/man/man1/git-maintenance.1 │A│ » /usr/share/man/man1/git-merge-base.1 │A│ » /usr/share/man/man1/git-merge-file.1 │A│ » /usr/share/man/man1/git-merge-index.1 │A│ » /usr/share/man/man1/git-merge-one-file.1 │A│ » /usr/share/man/man1/git-merge-tree.1 │A│ » /usr/share/man/man1/git-merge.1 │A│ » /usr/share/man/man1/git-mergetool--lib.1 │A│ » /usr/share/man/man1/git-mergetool.1 │A│ » /usr/share/man/man1/git-mktag.1 │A│ » /usr/share/man/man1/git-mktree.1 │A│ » /usr/share/man/man1/git-multi-pack-index.1 │A│ » /usr/share/man/man1/git-mv.1 │A│ » /usr/share/man/man1/git-name-rev.1 │A│ » /usr/share/man/man1/git-notes.1 │A│ » /usr/share/man/man1/git-p4.1 │A│ » /usr/share/man/man1/git-pack-objects.1 │A│ » /usr/share/man/man1/git-pack-redundant.1 │A│ » /usr/share/man/man1/git-pack-refs.1 │A│ » /usr/share/man/man1/git-patch-id.1 │A│ » /usr/share/man/man1/git-prune-packed.1 │A│ » /usr/share/man/man1/git-prune.1 │A│ » /usr/share/man/man1/git-pull.1 │A│ » /usr/share/man/man1/git-push.1 │A│ » /usr/share/man/man1/git-quiltimport.1 │A│ » /usr/share/man/man1/git-range-diff.1 │A│ » /usr/share/man/man1/git-read-tree.1 │A│ » /usr/share/man/man1/git-rebase.1 │A│ » /usr/share/man/man1/git-receive-pack.1 │A│ » /usr/share/man/man1/git-reflog.1 │A│ » /usr/share/man/man1/git-refs.1 │A│ » /usr/share/man/man1/git-remote-ext.1 │A│ » /usr/share/man/man1/git-remote-fd.1 │A│ » /usr/share/man/man1/git-remote.1 │A│ » /usr/share/man/man1/git-repack.1 │A│ » /usr/share/man/man1/git-replace.1 │A│ » /usr/share/man/man1/git-replay.1 │A│ » /usr/share/man/man1/git-repo.1 │A│ » /usr/share/man/man1/git-request-pull.1 │A│ » /usr/share/man/man1/git-rerere.1 │A│ » /usr/share/man/man1/git-reset.1 │A│ » /usr/share/man/man1/git-restore.1 │A│ » /usr/share/man/man1/git-rev-list.1 │A│ » /usr/share/man/man1/git-rev-parse.1 │A│ » /usr/share/man/man1/git-revert.1 │A│ » /usr/share/man/man1/git-rm.1 │A│ » /usr/share/man/man1/git-send-email.1 │A│ » /usr/share/man/man1/git-send-pack.1 │A│ » /usr/share/man/man1/git-sh-i18n--envsubst.1 │A│ » /usr/share/man/man1/git-sh-i18n.1 │A│ » /usr/share/man/man1/git-sh-setup.1 │A│ » /usr/share/man/man1/git-shell.1 │A│ » /usr/share/man/man1/git-shortlog.1 │A│ » /usr/share/man/man1/git-show-branch.1 │A│ » /usr/share/man/man1/git-show-index.1 │A│ » /usr/share/man/man1/git-show-ref.1 │A│ » /usr/share/man/man1/git-show.1 │A│ » /usr/share/man/man1/git-sparse-checkout.1 │A│ » /usr/share/man/man1/git-stage.1 │A│ » /usr/share/man/man1/git-stash.1 │A│ » /usr/share/man/man1/git-status.1 │A│ » /usr/share/man/man1/git-stripspace.1 │A│ » /usr/share/man/man1/git-submodule.1 │A│ » /usr/share/man/man1/git-svn.1 │A│ » /usr/share/man/man1/git-switch.1 │A│ » /usr/share/man/man1/git-symbolic-ref.1 │A│ » /usr/share/man/man1/git-tag.1 │A│ » /usr/share/man/man1/git-unpack-file.1 │A│ » /usr/share/man/man1/git-unpack-objects.1 │A│ » /usr/share/man/man1/git-update-index.1 │A│ » /usr/share/man/man1/git-update-ref.1 │A│ » /usr/share/man/man1/git-update-server-info.1 │A│ » /usr/share/man/man1/git-upload-archive.1 │A│ » /usr/share/man/man1/git-upload-pack.1 │A│ » /usr/share/man/man1/git-var.1 │A│ » /usr/share/man/man1/git-verify-commit.1 │A│ » /usr/share/man/man1/git-verify-pack.1 │A│ » /usr/share/man/man1/git-verify-tag.1 │A│ » /usr/share/man/man1/git-version.1 │A│ » /usr/share/man/man1/git-web--browse.1 │A│ » /usr/share/man/man1/git-whatchanged.1 │A│ » /usr/share/man/man1/git-worktree.1 │A│ » /usr/share/man/man1/git-write-tree.1 │A│ » /usr/share/man/man1/git.1 │A│ » /usr/share/man/man1/gitk.1 │A│ » /usr/share/man/man1/gitweb.1 │A│ » /usr/share/man/man1/scalar.1 │A│ » /usr/share/man/man3/Git.3pm │A│ » /usr/share/man/man5/gitattributes.5 │A│ » /usr/share/man/man5/gitformat-bundle.5 │A│ » /usr/share/man/man5/gitformat-chunk.5 │A│ » /usr/share/man/man5/gitformat-commit-graph.5 │A│ » /usr/share/man/man5/gitformat-index.5 │A│ » /usr/share/man/man5/gitformat-loose.5 │A│ » /usr/share/man/man5/gitformat-pack.5 │A│ » /usr/share/man/man5/gitformat-signature.5 │A│ » /usr/share/man/man5/githooks.5 │A│ » /usr/share/man/man5/gitignore.5 │A│ » /usr/share/man/man5/gitmailmap.5 │A│ » /usr/share/man/man5/gitmodules.5 │A│ » /usr/share/man/man5/gitprotocol-capabilities.5 │A│ » /usr/share/man/man5/gitprotocol-common.5 │A│ » /usr/share/man/man5/gitprotocol-http.5 │A│ » /usr/share/man/man5/gitprotocol-pack.5 │A│ » /usr/share/man/man5/gitprotocol-v2.5 │A│ » /usr/share/man/man5/gitrepository-layout.5 │A│ » /usr/share/man/man5/gitweb.conf.5 │A│ » /usr/share/man/man7/gitcli.7 │A│ » /usr/share/man/man7/gitcore-tutorial.7 │A│ » /usr/share/man/man7/gitcredentials.7 │A│ » /usr/share/man/man7/gitcvs-migration.7 │A│ » /usr/share/man/man7/gitdatamodel.7 │A│ » /usr/share/man/man7/gitdiffcore.7 │A│ » /usr/share/man/man7/giteveryday.7 │A│ » /usr/share/man/man7/gitfaq.7 │A│ » /usr/share/man/man7/gitglossary.7 │A│ » /usr/share/man/man7/gitnamespaces.7 │A│ » /usr/share/man/man7/gitpacking.7 │A│ » /usr/share/man/man7/gitremote-helpers.7 │A│ » /usr/share/man/man7/gitrevisions.7 │A│ » /usr/share/man/man7/gitsubmodules.7 │A│ » /usr/share/man/man7/gittutorial-2.7 │A│ » /usr/share/man/man7/gittutorial.7 │A│ » /usr/share/man/man7/gitworkflows.7 │A│ » /usr/share/perl5/FromCPAN/Error.pm │A│ » /usr/share/perl5/FromCPAN/Mail/Address.pm │A│ » /usr/share/perl5/Git/I18N.pm │A│ » /usr/share/perl5/Git/IndexInfo.pm │A│ » /usr/share/perl5/Git/LoadCPAN/Error.pm │A│ » /usr/share/perl5/Git/LoadCPAN/Mail/Address.pm │A│ » /usr/share/perl5/Git/LoadCPAN.pm │A│ » /usr/share/perl5/Git/Packet.pm │A│ » /usr/share/perl5/Git/SVN/Editor.pm │A│ » /usr/share/perl5/Git/SVN/Fetcher.pm │A│ » /usr/share/perl5/Git/SVN/GlobSpec.pm │A│ » /usr/share/perl5/Git/SVN/Log.pm │A│ » /usr/share/perl5/Git/SVN/Memoize/YAML.pm │A│ » /usr/share/perl5/Git/SVN/Migration.pm │A│ » /usr/share/perl5/Git/SVN/Prompt.pm │A│ » /usr/share/perl5/Git/SVN/Ra.pm │A│ » /usr/share/perl5/Git/SVN/Utils.pm │A│ » /usr/share/perl5/Git/SVN.pm │A│ » /usr/share/perl5/Git.pm │A│ » /usr/share/zsh/site-functions/_git │A│ » /usr/lib/debug/.build-id/44/bc34655c2fa6f3b1dd82710256a883d7588aab.debug │A│ » /usr/lib/debug/.build-id/82/0a59b01ea1dc4ce1021f6c61eb573b1f666709.debug │A│ » /usr/lib/debug/.build-id/a9/d5cb37725113e85ce532f318491ee11e5bab0c.debug │A│ » /usr/lib/debug/.build-id/5c/3501d1428b9af1a6a1305f10d96cb7befbc896.debug │A│ » /usr/lib/debug/.build-id/16/4f76ed34b10a41ec31a8e3eabdbc84791bc986.debug │A│ » /usr/lib/debug/.build-id/8d/3659027a877dc3bbc188bea76373044eb2109d.debug │A│ » /usr/lib/debug/.build-id/88/2992351d452319fc4e0de57d644eb69c5c1adb.debug │A│ » /usr/lib/debug/.build-id/fc/d1b5e8cd659a4245f1b7b1ffb81ba58fdc32c8.debug │A│ » /usr/lib/debug/.build-id/b3/b7188fd359c977e42e92258c8c2de43dbbddc5.debug │A│ » /usr/lib/debug/.build-id/2c/93a2981c869b7bc1d64affb0108388c43c17ab.debug │A│ » /usr/lib/debug/.build-id/2d/4e66d3e1eaa8816829eb6bd82d436d3a811f61.debug Packaging Emitted git-2.53.0-23-1-x86_64.stone Emitted git-dbginfo-2.53.0-23-1-x86_64.stone Emitted git-gui-2.53.0-23-1-x86_64.stone Emitted gitk-2.53.0-23-1-x86_64.stone Phase Elapsed % │Initialize 0.56s 0.8% │Populate (moss) ││Resolve 0.39s 0.6% ││Fetch 0.31s 0.5% ││Blit 3.61s 5.2% │Fetch 0.44s 0.6% │x86_64 ││Prepare 0.23s 0.3% ││Setup 4.35s 6.3% ││Build 47.74s 69.3% ││Install 1.27s 1.8% │Analyze 0.35s 0.5% │Emit 9.64s 14.0% ────────────────────────────────────── Total 1m08.88s 100.0% Build finished successfully at 2026-02-04T18:08:32+01:00