+ export BPO_JOB_ID=110542 + BPO_JOB_ID=110542 + ./pmbootstrap/pmbootstrap.py -mp https://build.postmarketos.org/wip/master -mp http://postmarketos1.brixit.nl/postmarketos/master --ccache-disable --timeout 2100 --details-to-stdout build --no-depends --strict --arch armv7 --force pulseaudio-modules-droid (002181) [18:35:53] Shutdown complete (002181) [18:35:53] Calculate work folder size (002181) [18:35:53] % sudo du --summarize --block-size=1 /home/build/.local/var/pmbootstrap 16384 /home/build/.local/var/pmbootstrap (002181) [18:35:53] Shutdown complete (002181) [18:35:53] % sudo du --summarize --block-size=1 /home/build/.local/var/pmbootstrap 16384 /home/build/.local/var/pmbootstrap (002181) [18:35:53] Cleared up ~0 MB of space (002181) [18:35:53] APKINDEX outdated (file does not exist yet): https://build.postmarketos.org/wip/master/armv7/APKINDEX.tar.gz (002181) [18:35:53] APKINDEX outdated (file does not exist yet): http://postmarketos1.brixit.nl/postmarketos/master/armv7/APKINDEX.tar.gz (002181) [18:35:53] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/main/armv7/APKINDEX.tar.gz (002181) [18:35:53] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/community/armv7/APKINDEX.tar.gz (002181) [18:35:53] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/testing/armv7/APKINDEX.tar.gz (002181) [18:35:53] Update package index for armv7 (5 file(s)) (002181) [18:35:53] Download https://build.postmarketos.org/wip/master/armv7/APKINDEX.tar.gz (002181) [18:35:54] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_apk_armv7 (002181) [18:35:54] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_b905cf66e311acd369b04bce8b2a8d2625fe77c6d398d71c396c12336143ea42 /home/build/.local/var/pmbootstrap/cache_apk_armv7/APKINDEX.73602495.tar.gz (002181) [18:35:54] Download http://postmarketos1.brixit.nl/postmarketos/master/armv7/APKINDEX.tar.gz (002181) [18:35:54] WARNING: file not found: http://postmarketos1.brixit.nl/postmarketos/master/armv7/APKINDEX.tar.gz (002181) [18:35:54] Download http://dl-cdn.alpinelinux.org/alpine/edge/main/armv7/APKINDEX.tar.gz (002181) [18:35:54] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_0f1faf822f82691859d0e8f260bd6e166b077d22cb110252f3ffee25be012d3a /home/build/.local/var/pmbootstrap/cache_apk_armv7/APKINDEX.066df28d.tar.gz (002181) [18:35:54] Download http://dl-cdn.alpinelinux.org/alpine/edge/community/armv7/APKINDEX.tar.gz (002181) [18:35:54] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_0fed3c2bd59299fbad6fccfe30e8c1bd44376fd0bfab82855d845960df6b580a /home/build/.local/var/pmbootstrap/cache_apk_armv7/APKINDEX.b53994b4.tar.gz (002181) [18:35:54] Download http://dl-cdn.alpinelinux.org/alpine/edge/testing/armv7/APKINDEX.tar.gz (002181) [18:35:54] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_13fca83e1310ea23d63b5ec43b1831cc6d7773fb41dac6b610b892c2cdcf4de6 /home/build/.local/var/pmbootstrap/cache_apk_armv7/APKINDEX.30e6f5af.tar.gz (002181) [18:35:56] Build is necessary for package 'pulseaudio-modules-droid': No binary package available (002181) [18:35:56] NOTE: Skipped apk version check for chroot 'buildroot_armv7', because it is not installed yet! (002181) [18:35:56] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_armv7/dev (002181) [18:35:56] % sudo mount -t tmpfs -o size=1M,noexec,dev tmpfs /home/build/.local/var/pmbootstrap/chroot_buildroot_armv7/dev (002181) [18:35:56] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_armv7/dev/pts /home/build/.local/var/pmbootstrap/chroot_buildroot_armv7/dev/shm (002181) [18:35:56] % sudo mount -t tmpfs -o nodev,nosuid,noexec tmpfs /home/build/.local/var/pmbootstrap/chroot_buildroot_armv7/dev/shm (002181) [18:35:56] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_buildroot_armv7/dev/null c 1 3 (002181) [18:35:56] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_buildroot_armv7/dev/zero c 1 5 (002181) [18:35:56] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_buildroot_armv7/dev/full c 1 7 (002181) [18:35:56] % sudo mknod -m 644 /home/build/.local/var/pmbootstrap/chroot_buildroot_armv7/dev/random c 1 8 (002181) [18:35:56] % sudo mknod -m 644 /home/build/.local/var/pmbootstrap/chroot_buildroot_armv7/dev/urandom c 1 9 (002181) [18:35:56] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_armv7/proc (002181) [18:35:56] % sudo mount --bind /proc /home/build/.local/var/pmbootstrap/chroot_buildroot_armv7/proc (002181) [18:35:56] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_armv7/var/cache/apk (002181) [18:35:56] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_apk_armv7 /home/build/.local/var/pmbootstrap/chroot_buildroot_armv7/var/cache/apk (002181) [18:35:56] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_ccache_armv7 (002181) [18:35:56] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_armv7/mnt/pmbootstrap-ccache (002181) [18:35:56] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_ccache_armv7 /home/build/.local/var/pmbootstrap/chroot_buildroot_armv7/mnt/pmbootstrap-ccache (002181) [18:35:56] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_distfiles (002181) [18:35:56] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_armv7/var/cache/distfiles (002181) [18:35:56] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_distfiles /home/build/.local/var/pmbootstrap/chroot_buildroot_armv7/var/cache/distfiles (002181) [18:35:56] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_git (002181) [18:35:56] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_armv7/mnt/pmbootstrap-git (002181) [18:35:56] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_git /home/build/.local/var/pmbootstrap/chroot_buildroot_armv7/mnt/pmbootstrap-git (002181) [18:35:56] % sudo mkdir -p /home/build/.local/var/pmbootstrap/config_abuild (002181) [18:35:56] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_armv7/mnt/pmbootstrap-abuild-config (002181) [18:35:56] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_abuild /home/build/.local/var/pmbootstrap/chroot_buildroot_armv7/mnt/pmbootstrap-abuild-config (002181) [18:35:56] % sudo mkdir -p /home/build/.local/var/pmbootstrap/config_apk_keys (002181) [18:35:56] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_armv7/etc/apk/keys (002181) [18:35:56] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_apk_keys /home/build/.local/var/pmbootstrap/chroot_buildroot_armv7/etc/apk/keys (002181) [18:35:56] % sudo mkdir -p /home/build/.local/var/pmbootstrap/packages (002181) [18:35:56] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_armv7/mnt/pmbootstrap-packages (002181) [18:35:56] % sudo mount --bind /home/build/.local/var/pmbootstrap/packages /home/build/.local/var/pmbootstrap/chroot_buildroot_armv7/mnt/pmbootstrap-packages (002181) [18:35:56] APKINDEX outdated (file does not exist yet): https://build.postmarketos.org/wip/master/x86_64/APKINDEX.tar.gz (002181) [18:35:56] APKINDEX outdated (file does not exist yet): http://postmarketos1.brixit.nl/postmarketos/master/x86_64/APKINDEX.tar.gz (002181) [18:35:56] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz (002181) [18:35:56] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz (002181) [18:35:56] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz (002181) [18:35:56] Update package index for x86_64 (5 file(s)) (002181) [18:35:56] Download https://build.postmarketos.org/wip/master/x86_64/APKINDEX.tar.gz (002181) [18:35:56] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_apk_x86_64 (002181) [18:35:56] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_53711a85d2d03805fc9e859f0e55eda4941541086fca30263c9338b694af655c /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.73602495.tar.gz (002181) [18:35:56] Download http://postmarketos1.brixit.nl/postmarketos/master/x86_64/APKINDEX.tar.gz (002181) [18:35:57] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_82f4e91ad45607a0f5d4d39ff6824bc49ebe5a431f60836f8ba0448c906a07f4 /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.3f9c67ba.tar.gz (002181) [18:35:57] Download http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz (002181) [18:35:57] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_b36af8b1d7f948f0d2fcae5bd60c1b876620e69b987bc066e7a90c810687e76f /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.066df28d.tar.gz (002181) [18:35:57] Download http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz (002181) [18:35:57] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_0999dbfe3755729bd8aa3997d03dbd36a87187a19b61ce5cea2e01671a6305d6 /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.b53994b4.tar.gz (002181) [18:35:57] Download http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz (002181) [18:35:57] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_6ccac8825a1621fb204ad4b3e645b24ffd8fa9acfe97edc265646cafd18d3e4c /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.30e6f5af.tar.gz (002181) [18:35:58] Download http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/apk-tools-static-2.10.4-r3.apk (002181) [18:35:58] sigfilename: sbin/apk.static.SIGN.RSA.alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub (002181) [18:35:58] sigkey: alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub (002181) [18:35:58] extracted: /tmp/pmbootstrapyfi366ddapk (002181) [18:35:58] extracted: /tmp/pmbootstrapf5i983s6sig (002181) [18:35:58] Verify apk.static signature with /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub (002181) [18:35:58] % openssl dgst -sha1 -verify /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub -signature /tmp/pmbootstrapf5i983s6sig /tmp/pmbootstrapyfi366ddapk Verified OK (002181) [18:35:58] Verify the version reported by the apk.static binary (must match the package version 2.10.4-r3) (002181) [18:35:58] % /tmp/pmbootstrapyfi366ddapk --version apk-tools 2.10.4, compiled for x86_64. (002181) [18:35:58] NOTE: Skipped apk version check for chroot 'native', because it is not installed yet! (002181) [18:35:58] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/dev (002181) [18:35:58] % sudo mount -t tmpfs -o size=1M,noexec,dev tmpfs /home/build/.local/var/pmbootstrap/chroot_native/dev (002181) [18:35:58] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/dev/pts /home/build/.local/var/pmbootstrap/chroot_native/dev/shm (002181) [18:35:58] % sudo mount -t tmpfs -o nodev,nosuid,noexec tmpfs /home/build/.local/var/pmbootstrap/chroot_native/dev/shm (002181) [18:35:58] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/null c 1 3 (002181) [18:35:58] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/zero c 1 5 (002181) [18:35:58] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/full c 1 7 (002181) [18:35:58] % sudo mknod -m 644 /home/build/.local/var/pmbootstrap/chroot_native/dev/random c 1 8 (002181) [18:35:58] % sudo mknod -m 644 /home/build/.local/var/pmbootstrap/chroot_native/dev/urandom c 1 9 (002181) [18:35:58] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/proc (002181) [18:35:58] % sudo mount --bind /proc /home/build/.local/var/pmbootstrap/chroot_native/proc (002181) [18:35:58] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/var/cache/apk (002181) [18:35:58] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_apk_x86_64 /home/build/.local/var/pmbootstrap/chroot_native/var/cache/apk (002181) [18:35:58] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_ccache_x86_64 (002181) [18:35:58] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-ccache (002181) [18:35:58] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_ccache_x86_64 /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-ccache (002181) [18:35:58] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/var/cache/distfiles (002181) [18:35:58] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_distfiles /home/build/.local/var/pmbootstrap/chroot_native/var/cache/distfiles (002181) [18:35:58] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-git (002181) [18:35:58] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_git /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-git (002181) [18:35:58] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-abuild-config (002181) [18:35:58] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_abuild /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-abuild-config (002181) [18:35:58] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/keys (002181) [18:35:58] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_apk_keys /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/keys (002181) [18:35:58] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-packages (002181) [18:35:58] % sudo mount --bind /home/build/.local/var/pmbootstrap/packages /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-packages (002181) [18:35:58] sigfilename: sbin/apk.static.SIGN.RSA.alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub (002181) [18:35:58] sigkey: alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub (002181) [18:35:58] extracted: /tmp/pmbootstrap50c_vzraapk (002181) [18:35:58] extracted: /tmp/pmbootstrap8otiykcbsig (002181) [18:35:58] Verify apk.static signature with /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub (002181) [18:35:58] % openssl dgst -sha1 -verify /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub -signature /tmp/pmbootstrap8otiykcbsig /tmp/pmbootstrap50c_vzraapk Verified OK (002181) [18:35:58] Verify the version reported by the apk.static binary (must match the package version 2.10.4-r3) (002181) [18:35:58] % /tmp/pmbootstrap50c_vzraapk --version apk-tools 2.10.4, compiled for x86_64. (002181) [18:35:58] (native) install alpine-base (002181) [18:35:58] % sudo ln -s -f /var/cache/apk /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/cache (002181) [18:35:58] % sudo cp /home/build/pmbootstrap/pmb/data/keys/wip.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/ (002181) [18:35:58] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-524d27bb.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/ (002181) [18:35:58] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58199dcc.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/ (002181) [18:35:58] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58e4f17d.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/ (002181) [18:35:58] % sudo cp /home/build/pmbootstrap/pmb/data/keys/pmos-5a03a13a.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/ (002181) [18:35:58] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5243ef4b.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/ (002181) [18:35:58] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/ (002181) [18:35:58] % sudo cp /home/build/pmbootstrap/pmb/data/keys/build.postmarketos.org.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/ (002181) [18:35:58] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/ (002181) [18:35:58] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58cbb476.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/ (002181) [18:35:58] % sudo cp /etc/resolv.conf /home/build/.local/var/pmbootstrap/chroot_native/etc/resolv.conf (002181) [18:35:58] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/etc/apk (002181) [18:35:58] (native) update /etc/apk/repositories (002181) [18:35:58] % sudo sh -c echo /mnt/pmbootstrap-packages >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories (002181) [18:35:58] % sudo sh -c echo https://build.postmarketos.org/wip/master >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories (002181) [18:35:58] % sudo sh -c echo http://postmarketos1.brixit.nl/postmarketos/master >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories (002181) [18:35:58] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/main >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories (002181) [18:35:58] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/community >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories (002181) [18:35:58] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories (002181) [18:35:58] % sudo /home/build/.local/var/pmbootstrap/apk.static --no-progress --root /home/build/.local/var/pmbootstrap/chroot_native --cache-dir /home/build/.local/var/pmbootstrap/cache_apk_x86_64 --initdb --arch x86_64 add alpine-base WARNING: Ignoring /mnt/pmbootstrap-packages/x86_64/APKINDEX.tar.gz: No such file or directory (1/19) Installing musl (1.1.24-r0) (2/19) Installing busybox (1.31.1-r0) Executing busybox-1.31.1-r0.post-install (3/19) Installing alpine-baselayout (3.2.0-r2) Executing alpine-baselayout-3.2.0-r2.pre-install Executing alpine-baselayout-3.2.0-r2.post-install (4/19) Installing openrc (0.42.1-r0) Executing openrc-0.42.1-r0.post-install (5/19) Installing alpine-conf (3.8.3-r0) (6/19) Installing libcrypto1.1 (1.1.1d-r2) (7/19) Installing libssl1.1 (1.1.1d-r2) (8/19) Installing ca-certificates-cacert (20190108-r0) (9/19) Installing libtls-standalone (2.9.1-r0) (10/19) Installing ssl_client (1.31.1-r0) (11/19) Installing zlib (1.2.11-r3) (12/19) Installing apk-tools (2.10.4-r3) (13/19) Installing busybox-suid (1.31.1-r0) (14/19) Installing busybox-initscripts (3.2-r1) Executing busybox-initscripts-3.2-r1.post-install (15/19) Installing scanelf (1.2.4-r0) (16/19) Installing musl-utils (1.1.24-r0) (17/19) Installing libc-utils (0.7.1-r0) (18/19) Installing alpine-keys (2.1-r2) (19/19) Installing alpine-base (3.11_alpha20191114-r0) Executing busybox-1.31.1-r0.trigger OK: 8 MiB in 19 packages (002181) [18:35:59] (native) % adduser -D pmos -u 12345 (002181) [18:35:59] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-abuild-config /home/pmos/.abuild (002181) [18:35:59] (native) % chown pmos:pmos /mnt/pmbootstrap-abuild-config (002181) [18:35:59] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-ccache /home/pmos/.ccache (002181) [18:35:59] (native) % chown pmos:pmos /mnt/pmbootstrap-ccache (002181) [18:35:59] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-git /home/pmos/git (002181) [18:35:59] (native) % chown pmos:pmos /mnt/pmbootstrap-git (002181) [18:35:59] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/packages (002181) [18:35:59] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-packages /home/pmos/packages/pmos (002181) [18:35:59] (native) % chown pmos:pmos /mnt/pmbootstrap-packages (002181) [18:35:59] (native) calculate depends of qemu-arm (pmbootstrap -v for details) (002181) [18:36:01] (native) install qemu-arm (002181) [18:36:01] (native) % apk --no-progress add qemu-arm WARNING: Ignoring /mnt/pmbootstrap-packages/x86_64/APKINDEX.tar.gz: No such file or directory (1/1) Installing qemu-arm (4.1.0-r1) Executing busybox-1.31.1-r0.trigger OK: 12 MiB in 20 packages (002181) [18:36:01] Register qemu binfmt (arm) (002181) [18:36:01] % sudo sh -c echo ":qemu-arm:M::\x7f\x45\x4c\x46\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/bin/qemu-arm-static:C" > /proc/sys/fs/binfmt_misc/register (002181) [18:36:01] (buildroot_armv7) install alpine-base (002181) [18:36:01] % sudo ln -s -f /var/cache/apk /home/build/.local/var/pmbootstrap/chroot_buildroot_armv7/etc/apk/cache (002181) [18:36:01] % sudo cp /home/build/pmbootstrap/pmb/data/keys/wip.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/ (002181) [18:36:01] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-524d27bb.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/ (002181) [18:36:01] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58199dcc.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/ (002181) [18:36:01] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58e4f17d.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/ (002181) [18:36:01] % sudo cp /home/build/pmbootstrap/pmb/data/keys/pmos-5a03a13a.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/ (002181) [18:36:01] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5243ef4b.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/ (002181) [18:36:01] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/ (002181) [18:36:01] % sudo cp /home/build/pmbootstrap/pmb/data/keys/build.postmarketos.org.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/ (002181) [18:36:01] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/ (002181) [18:36:02] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58cbb476.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/ (002181) [18:36:02] % sudo cp /etc/resolv.conf /home/build/.local/var/pmbootstrap/chroot_buildroot_armv7/etc/resolv.conf (002181) [18:36:02] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_armv7/etc/apk (002181) [18:36:02] (buildroot_armv7) update /etc/apk/repositories (002181) [18:36:02] % sudo sh -c echo /mnt/pmbootstrap-packages >> /home/build/.local/var/pmbootstrap/chroot_buildroot_armv7/etc/apk/repositories (002181) [18:36:02] % sudo sh -c echo https://build.postmarketos.org/wip/master >> /home/build/.local/var/pmbootstrap/chroot_buildroot_armv7/etc/apk/repositories (002181) [18:36:02] % sudo sh -c echo http://postmarketos1.brixit.nl/postmarketos/master >> /home/build/.local/var/pmbootstrap/chroot_buildroot_armv7/etc/apk/repositories (002181) [18:36:02] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/main >> /home/build/.local/var/pmbootstrap/chroot_buildroot_armv7/etc/apk/repositories (002181) [18:36:02] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/community >> /home/build/.local/var/pmbootstrap/chroot_buildroot_armv7/etc/apk/repositories (002181) [18:36:02] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >> /home/build/.local/var/pmbootstrap/chroot_buildroot_armv7/etc/apk/repositories (002181) [18:36:02] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_armv7/usr/bin (002181) [18:36:02] % sudo cp /home/build/.local/var/pmbootstrap/chroot_native/usr/bin/qemu-arm /home/build/.local/var/pmbootstrap/chroot_buildroot_armv7/usr/bin/qemu-arm-static (002181) [18:36:02] % sudo /home/build/.local/var/pmbootstrap/apk.static --no-progress --root /home/build/.local/var/pmbootstrap/chroot_buildroot_armv7 --cache-dir /home/build/.local/var/pmbootstrap/cache_apk_armv7 --initdb --arch armv7 add alpine-base WARNING: Ignoring /mnt/pmbootstrap-packages/armv7/APKINDEX.tar.gz: No such file or directory fetch http://postmarketos1.brixit.nl/postmarketos/master/armv7/APKINDEX.tar.gz ERROR: http://postmarketos1.brixit.nl/postmarketos/master: No such file or directory WARNING: Ignoring APKINDEX.3f9c67ba.tar.gz: No such file or directory (1/19) Installing musl (1.1.24-r0) (2/19) Installing busybox (1.31.1-r0) Executing busybox-1.31.1-r0.post-install (3/19) Installing alpine-baselayout (3.2.0-r2) Executing alpine-baselayout-3.2.0-r2.pre-install Executing alpine-baselayout-3.2.0-r2.post-install (4/19) Installing openrc (0.42.1-r0) Executing openrc-0.42.1-r0.post-install (5/19) Installing alpine-conf (3.8.3-r0) (6/19) Installing libcrypto1.1 (1.1.1d-r2) (7/19) Installing libssl1.1 (1.1.1d-r2) (8/19) Installing ca-certificates-cacert (20190108-r0) (9/19) Installing libtls-standalone (2.9.1-r0) (10/19) Installing ssl_client (1.31.1-r0) (11/19) Installing zlib (1.2.11-r3) (12/19) Installing apk-tools (2.10.4-r3) (13/19) Installing busybox-suid (1.31.1-r0) (14/19) Installing busybox-initscripts (3.2-r1) Executing busybox-initscripts-3.2-r1.post-install (15/19) Installing scanelf (1.2.4-r0) (16/19) Installing musl-utils (1.1.24-r0) (17/19) Installing libc-utils (0.7.1-r0) (18/19) Installing alpine-keys (2.1-r2) (19/19) Installing alpine-base (3.11_alpha20191114-r0) Executing busybox-1.31.1-r0.trigger OK: 6 MiB in 19 packages (002181) [18:36:03] (buildroot_armv7) % adduser -D pmos -u 12345 (002181) [18:36:03] (buildroot_armv7) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-abuild-config /home/pmos/.abuild (002181) [18:36:03] (buildroot_armv7) % chown pmos:pmos /mnt/pmbootstrap-abuild-config (002181) [18:36:03] (buildroot_armv7) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-ccache /home/pmos/.ccache (002181) [18:36:03] (buildroot_armv7) % chown pmos:pmos /mnt/pmbootstrap-ccache (002181) [18:36:03] (buildroot_armv7) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-git /home/pmos/git (002181) [18:36:03] (buildroot_armv7) % chown pmos:pmos /mnt/pmbootstrap-git (002181) [18:36:03] (buildroot_armv7) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/packages (002181) [18:36:03] (buildroot_armv7) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-packages /home/pmos/packages/pmos (002181) [18:36:04] (buildroot_armv7) % chown pmos:pmos /mnt/pmbootstrap-packages (002181) [18:36:04] (buildroot_armv7) calculate depends of abuild, build-base, ccache (pmbootstrap -v for details) (002181) [18:36:04] libc-dev: guessed to be a subpackage of libc, which we can't find in pmaports, so it's probably in Alpine (002181) [18:36:04] musl-dev: guessed to be a subpackage of musl, which we can't find in pmaports, so it's probably in Alpine (002181) [18:36:04] (buildroot_armv7) install abuild build-base ccache (002181) [18:36:04] (buildroot_armv7) % apk --no-progress add -u --virtual .pmbootstrap abuild build-base ccache fakeroot sudo pax-utils openssl attr tar pkgconf patch lzip curl binutils file gcc g++ make libc-dev fortify-headers libcap libattr libacl libgcc libstdc++ ca-certificates libcurl libmagic isl libgomp libatomic gmp mpc1 mpfr4 musl-dev nghttp2-libs WARNING: Ignoring /mnt/pmbootstrap-packages/armv7/APKINDEX.tar.gz: No such file or directory fetch http://postmarketos1.brixit.nl/postmarketos/master/armv7/APKINDEX.tar.gz ERROR: http://postmarketos1.brixit.nl/postmarketos/master: No such file or directory WARNING: Ignoring APKINDEX.3f9c67ba.tar.gz: No such file or directory (1/37) Installing fakeroot (1.24-r0) (2/37) Installing sudo (1.8.29-r0) (3/37) Installing libcap (2.27-r0) (4/37) Installing pax-utils (1.2.4-r0) (5/37) Installing openssl (1.1.1d-r2) (6/37) Installing libattr (2.4.48-r0) (7/37) Installing attr (2.4.48-r0) (8/37) Installing libacl (2.2.53-r0) (9/37) Installing tar (1.32-r1) (10/37) Installing pkgconf (1.6.3-r0) (11/37) Installing patch (2.7.6-r6) (12/37) Installing libgcc (9.2.0-r2) (13/37) Installing libstdc++ (9.2.0-r2) (14/37) Installing lzip (1.21-r0) (15/37) Installing ca-certificates (20190108-r0) (16/37) Installing nghttp2-libs (1.40.0-r0) (17/37) Installing libcurl (7.67.0-r0) (18/37) Installing curl (7.67.0-r0) (19/37) Installing abuild (3.5.0_rc1-r2) Executing abuild-3.5.0_rc1-r2.pre-install (20/37) Installing binutils (2.33.1-r0) (21/37) Installing libmagic (5.37-r1) (22/37) Installing file (5.37-r1) (23/37) Installing gmp (6.1.2-r1) (24/37) Installing isl (0.18-r0) (25/37) Installing libgomp (9.2.0-r2) (26/37) Installing libatomic (9.2.0-r2) (27/37) Installing mpfr4 (4.0.2-r1) (28/37) Installing mpc1 (1.1.0-r1) (29/37) Installing gcc (9.2.0-r2) (30/37) Installing musl-dev (1.1.24-r0) (31/37) Installing libc-dev (0.7.1-r0) (32/37) Installing g++ (9.2.0-r2) (33/37) Installing make (4.2.1-r2) (34/37) Installing fortify-headers (1.1-r0) (35/37) Installing build-base (0.5-r1) (36/37) Installing ccache (3.7.5-r0) (37/37) Installing .pmbootstrap (20191117.183606) Executing busybox-1.31.1-r0.trigger Executing ca-certificates-20190108-r0.trigger OK: 126 MiB in 56 packages (002181) [18:36:11] (buildroot_armv7) % apk --no-progress add abuild build-base ccache WARNING: Ignoring /mnt/pmbootstrap-packages/armv7/APKINDEX.tar.gz: No such file or directory fetch http://postmarketos1.brixit.nl/postmarketos/master/armv7/APKINDEX.tar.gz ERROR: http://postmarketos1.brixit.nl/postmarketos/master: No such file or directory WARNING: Ignoring APKINDEX.3f9c67ba.tar.gz: No such file or directory OK: 126 MiB in 56 packages (002181) [18:36:12] (buildroot_armv7) % apk --no-progress del .pmbootstrap WARNING: Ignoring /mnt/pmbootstrap-packages/armv7/APKINDEX.tar.gz: No such file or directory WARNING: Ignoring APKINDEX.3f9c67ba.tar.gz: No such file or directory (1/1) Purging .pmbootstrap (20191117.183606) OK: 126 MiB in 55 packages (002181) [18:36:13] (buildroot_armv7) % chown root:abuild /var/cache/distfiles (002181) [18:36:13] (buildroot_armv7) % chmod g+w /var/cache/distfiles (002181) [18:36:13] (buildroot_armv7) generate abuild keys (002181) [18:36:13] (buildroot_armv7) % busybox su pmos -c HOME=/home/pmos abuild-keygen -n -q -a Generating RSA private key, 2048 bit long modulus (2 primes) ........................................................................................................................................................................+++++ ................................................................+++++ e is 65537 (0x010001) writing RSA key (002181) [18:36:24] (buildroot_armv7) % cp /mnt/pmbootstrap-abuild-config/pmos-5dd1931e.rsa.pub /etc/apk/keys/ (002181) [18:36:24] (buildroot_armv7) % cp /tmp/gzip_wrapper.sh /usr/local/bin/gzip (002181) [18:36:24] (buildroot_armv7) % chmod +x /usr/local/bin/gzip (002181) [18:36:24] (buildroot_armv7) % adduser pmos abuild (002181) [18:36:24] (buildroot_armv7) % sed -i -e s/^CLEANUP=.*/CLEANUP=''/ /etc/abuild.conf (002181) [18:36:24] (buildroot_armv7) % sed -i -e s/^ERROR_CLEANUP=.*/ERROR_CLEANUP=''/ /etc/abuild.conf (002181) [18:36:24] (buildroot_armv7) % touch /var/local/pmbootstrap_chroot_build_init_done (002181) [18:36:24] (buildroot_armv7) % sed -i -e s/^export JOBS=.*/export JOBS=3/ /etc/abuild.conf (002181) [18:36:24] (buildroot_armv7) % busybox su pmos -c HOME=/home/pmos ccache --max-size 5G Set cache size limit to 5.0 GB (002181) [18:36:24] (native) calculate depends of ccache-cross-symlinks, gcc-armv7, g++-armv7, crossdirect (pmbootstrap -v for details) (002181) [18:36:25] (native) install ccache-cross-symlinks gcc-armv7 g++-armv7 crossdirect (002181) [18:36:25] (native) % apk --no-progress add -u --virtual .pmbootstrap ccache-cross-symlinks gcc-armv7 g++-armv7 crossdirect ccache isl binutils-armv7 mpc1 libstdc++ gcc libc-dev gmp libgcc mpfr4 binutils libgomp libatomic musl-dev WARNING: Ignoring /mnt/pmbootstrap-packages/x86_64/APKINDEX.tar.gz: No such file or directory (1/19) Installing ccache (3.7.5-r0) (2/19) Installing ccache-cross-symlinks (2-r1) (3/19) Installing gmp (6.1.2-r1) (4/19) Installing isl (0.18-r0) (5/19) Installing libgcc (9.2.0-r2) (6/19) Installing libstdc++ (9.2.0-r2) (7/19) Installing binutils-armv7 (2.33.1-r0) (8/19) Installing mpfr4 (4.0.2-r1) (9/19) Installing mpc1 (1.1.0-r1) (10/19) Installing gcc-armv7 (9.2.0-r2) (11/19) Installing binutils (2.33.1-r0) (12/19) Installing libgomp (9.2.0-r2) (13/19) Installing libatomic (9.2.0-r2) (14/19) Installing gcc (9.2.0-r2) (15/19) Installing musl-dev (1.1.24-r0) (16/19) Installing libc-dev (0.7.1-r0) (17/19) Installing g++-armv7 (9.2.0-r2) (18/19) Installing crossdirect (3-r1) (19/19) Installing .pmbootstrap (20191117.183625) Executing busybox-1.31.1-r0.trigger OK: 243 MiB in 39 packages (002181) [18:36:51] (native) % apk --no-progress add ccache-cross-symlinks gcc-armv7 g++-armv7 crossdirect WARNING: Ignoring /mnt/pmbootstrap-packages/x86_64/APKINDEX.tar.gz: No such file or directory OK: 243 MiB in 39 packages (002181) [18:36:52] (native) % apk --no-progress del .pmbootstrap WARNING: Ignoring /mnt/pmbootstrap-packages/x86_64/APKINDEX.tar.gz: No such file or directory (1/1) Purging .pmbootstrap (20191117.183625) OK: 243 MiB in 38 packages (002181) [18:36:52] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_armv7/native (002181) [18:36:52] % sudo mount --bind /home/build/.local/var/pmbootstrap/chroot_native /home/build/.local/var/pmbootstrap/chroot_buildroot_armv7/native (002181) [18:36:52] % sudo ln -s /native/lib/ld-musl-x86_64.so.1 /home/build/.local/var/pmbootstrap/chroot_buildroot_armv7/lib/ld-musl-x86_64.so.1 (002181) [18:36:52] (buildroot_armv7) build armv7/pulseaudio-modules-droid-13.0-r1.apk (002181) [18:36:52] % sudo cp -rL /home/build/pmaports/hybris/pulseaudio-modules-droid/ /home/build/.local/var/pmbootstrap/chroot_buildroot_armv7/home/pmos/build (002181) [18:36:52] (buildroot_armv7) % chown -R pmos:pmos /home/pmos/build (002181) [18:36:52] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_armv7/mnt/pmaports (002181) [18:36:52] % sudo mount --bind /home/build/pmaports /home/build/.local/var/pmbootstrap/chroot_buildroot_armv7/mnt/pmaports (002181) [18:36:52] (buildroot_armv7) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/build (002181) [18:36:52] (buildroot_armv7) % busybox su pmos -c HOME=/home/pmos ln -sf /mnt/pmaports/.git /home/pmos/build/.git (002181) [18:36:52] (buildroot_armv7) % cd /home/pmos/build; busybox su pmos -c CARCH=armv7 SUDO_APK='abuild-apk --no-progress' PATH=/native/usr/lib/crossdirect/armv7:/usr/lib/ccache/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CCACHE_DISABLE=1 HOME=/home/pmos abuild -D postmarketOS -r -f ]0;abuild: pulseaudio-modules-droid>>> pulseaudio-modules-droid: Building pmos/pulseaudio-modules-droid 13.0-r1 (using abuild 3.5.0_rc1-r2) started Sun, 17 Nov 2019 18:36:53 +0000 >>> pulseaudio-modules-droid: Checking sanity of /home/pmos/build/APKBUILD... >>> pulseaudio-modules-droid: Analyzing dependencies... >>> pulseaudio-modules-droid: Installing for build: build-base pulseaudio autoconf automake libtool m4 intltool dbus-dev expat-dev pulseaudio-dev pulsecore-private-headers android-headers-7.1 android-headers-7.1-caf libhybris-dev libhybris-7.1 WARNING: Ignoring /home/pmos/packages//pmos/armv7/APKINDEX.tar.gz: No such file or directory WARNING: Ignoring /mnt/pmbootstrap-packages/armv7/APKINDEX.tar.gz: No such file or directory fetch http://postmarketos1.brixit.nl/postmarketos/master/armv7/APKINDEX.tar.gz ERROR: http://postmarketos1.brixit.nl/postmarketos/master: No such file or directory WARNING: Ignoring APKINDEX.3f9c67ba.tar.gz: No such file or directory (1/108) Installing libice (1.0.10-r0) (2/108) Installing libuuid (2.34-r1) (3/108) Installing libsm (1.2.3-r0) (4/108) Installing libxau (1.0.9-r0) (5/108) Installing libbsd (0.10.0-r0) (6/108) Installing libxdmcp (1.1.3-r0) (7/108) Installing libxcb (1.13.1-r0) (8/108) Installing libx11 (1.6.9-r0) (9/108) Installing libxext (1.3.4-r0) (10/108) Installing libxtst (1.2.3-r3) (11/108) Installing dbus-libs (1.12.16-r1) (12/108) Installing libffi (3.2.1-r6) (13/108) Installing xz-libs (5.2.4-r0) (14/108) Installing xz (5.2.4-r0) (15/108) Installing libintl (0.20.1-r1) (16/108) Installing libblkid (2.34-r1) (17/108) Installing libmount (2.34-r1) (18/108) Installing pcre (8.43-r0) (19/108) Installing glib (2.62.2-r0) (20/108) Installing libltdl (2.4.6-r6) (21/108) Installing orc (0.4.31-r0) (22/108) Installing libasyncns (0.8-r1) (23/108) Installing libogg (1.3.4-r0) (24/108) Installing flac (1.3.3-r0) (25/108) Installing alsa-lib (1.1.9-r0) (26/108) Installing libvorbis (1.3.6-r2) (27/108) Installing libsndfile (1.0.28-r8) (28/108) Installing soxr (0.1.3-r1) (29/108) Installing speexdsp (1.2.0-r0) (30/108) Installing tdb-libs (1.4.2-r0) (31/108) Installing libpulse (13.0-r2) (32/108) Installing eudev-libs (3.2.9-r1) (33/108) Installing pulseaudio (13.0-r2) Executing pulseaudio-13.0-r2.post-install (34/108) Installing m4 (1.4.18-r1) (35/108) Installing libbz2 (1.0.8-r1) (36/108) Installing perl (5.30.0-r2) (37/108) Installing autoconf (2.69-r2) (38/108) Installing automake (1.16.1-r0) (39/108) Installing ncurses-terminfo-base (6.1_p20191019-r0) (40/108) Installing ncurses-terminfo (6.1_p20191019-r0) (41/108) Installing ncurses-libs (6.1_p20191019-r0) (42/108) Installing readline (8.0.1-r0) (43/108) Installing bash (5.0.11-r1) Executing bash-5.0.11-r1.post-install (44/108) Installing libtool (2.4.6-r6) (45/108) Installing perl-http-date (6.04-r0) (46/108) Installing perl-lwp-mediatypes (6.04-r0) (47/108) Installing perl-encode-locale (1.05-r1) (48/108) Installing perl-uri (1.76-r0) (49/108) Installing perl-io-html (1.001-r2) (50/108) Installing perl-http-message (6.18-r0) (51/108) Installing perl-http-cookies (6.05-r0) (52/108) Installing perl-net-http (6.19-r0) (53/108) Installing perl-http-daemon (6.06-r0) (54/108) Installing perl-html-tagset (3.20-r1) (55/108) Installing perl-html-parser (3.72-r4) (56/108) Installing perl-file-listing (6.04-r1) (57/108) Installing perl-www-robotrules (6.02-r1) (58/108) Installing perl-http-negotiate (6.01-r1) (59/108) Installing perl-capture-tiny (0.48-r0) (60/108) Installing perl-devel-symdump (2.18-r0) (61/108) Installing perl-test-pod (1.52-r0) (62/108) Installing perl-pod-coverage (0.23-r0) (63/108) Installing perl-try-tiny (0.30-r1) (64/108) Installing perl-libwww (6.41-r0) (65/108) Installing expat (2.2.9-r0) (66/108) Installing perl-xml-parser (2.46-r0) (67/108) Installing libunistring (0.9.10-r0) (68/108) Installing gettext-libs (0.20.1-r1) (69/108) Installing libxml2 (2.9.10-r0) (70/108) Installing gettext (0.20.1-r1) (71/108) Installing intltool (0.51.0-r4) (72/108) Installing libfdisk (2.34-r1) (73/108) Installing libsmartcols (2.34-r1) (74/108) Installing util-linux-dev (2.34-r1) (75/108) Installing dbus-dev (1.12.16-r1) (76/108) Installing expat-dev (2.2.9-r0) (77/108) Installing libpulse-mainloop-glib (13.0-r2) (78/108) Installing gdbm (1.13-r1) (79/108) Installing sqlite-libs (3.30.1-r0) (80/108) Installing python3 (3.8.0-r0) (81/108) Installing gettext-asprintf (0.20.1-r1) (82/108) Installing gettext-dev (0.20.1-r1) (83/108) Installing bzip2-dev (1.0.8-r1) (84/108) Installing libxml2-utils (2.9.10-r0) (85/108) Installing libgpg-error (1.36-r2) (86/108) Installing libgcrypt (1.8.5-r0) (87/108) Installing libxslt (1.1.34-r0) (88/108) Installing docbook-xml (4.5-r6) Executing docbook-xml-4.5-r6.post-install (89/108) Installing docbook-xsl (1.79.2-r2) Executing docbook-xsl-1.79.2-r2.post-install (90/108) Installing linux-headers (4.19.36-r0) (91/108) Installing libffi-dev (3.2.1-r6) (92/108) Installing libpcre16 (8.43-r0) (93/108) Installing libpcre32 (8.43-r0) (94/108) Installing libpcrecpp (8.43-r0) (95/108) Installing pcre-dev (8.43-r0) (96/108) Installing zlib-dev (1.2.11-r3) (97/108) Installing glib-dev (2.62.2-r0) (98/108) Installing pulseaudio-dev (13.0-r2) (99/108) Installing pulsecore-private-headers (13.0-r0) (100/108) Installing android-headers-7.1 (7.1_git20170630-r0) (101/108) Installing android-headers-7.1-caf (7.1_git20170630-r0) (102/108) Installing bsd-compat-headers (0.7.1-r0) (103/108) Installing android-headers-9.0 (9.0_git20190803-r0) (104/108) Installing libhybris-dev (1.0_git20191001-r1) (105/108) Installing libhybris (1.0_git20191001-r1) (106/108) Installing libhybris-7.1 (1.0_git20191001-r1) (107/108) Installing .makedepends-pulseaudio-modules-droid (20191117.183657) (108/108) Installing pulseaudio-openrc (13.0-r2) Executing busybox-1.31.1-r0.trigger Executing glib-2.62.2-r0.trigger OK: 295 MiB in 163 packages ]0;>>> pulseaudio-modules-droid: Cleaning up srcdir ]0;>>> pulseaudio-modules-droid: Cleaning up pkgdir >>> pulseaudio-modules-droid: Fetching pulseaudio-modules-droid-12.2.79.tar.gz::https://github.com/mer-hybris/pulseaudio-modules-droid/archive/12.2.79.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 144 0 144 0 0 348 0 --:--:-- --:--:-- --:--:-- 360 100 79863 0 79863 0 0 96921 0 --:--:-- --:--:-- --:--:-- 96921 >>> pulseaudio-modules-droid: Fetching pulseaudio-modules-droid-12.2.79.tar.gz::https://github.com/mer-hybris/pulseaudio-modules-droid/archive/12.2.79.tar.gz >>> pulseaudio-modules-droid: Checking sha512sums... pulseaudio-modules-droid-12.2.79.tar.gz: OK 0001-configure-ac-compat.patch: OK 0002-Fix-compatibility-with-pulseaudio-13.0.patch: OK >>> pulseaudio-modules-droid: Unpacking /var/cache/distfiles/pulseaudio-modules-droid-12.2.79.tar.gz... >>> pulseaudio-modules-droid: 0001-configure-ac-compat.patch patching file configure.ac >>> pulseaudio-modules-droid: 0002-Fix-compatibility-with-pulseaudio-13.0.patch patching file src/droid/droid-sink.c patching file src/droid/droid-source.c patching file src/droid/module-droid-keepalive.c configure.ac:34: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2601: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2617: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from... m4/attributes.m4:35: CC_CHECK_CFLAGS_SILENT is expanded from... m4/attributes.m4:49: CC_CHECK_CFLAGS is expanded from... configure.ac:34: the top level configure.ac:80: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... configure.ac:80: the top level configure.ac:96: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... configure.ac:96: the top level configure.ac:154: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2601: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2617: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2063: AC_CACHE_CHECK is expanded from... m4/tls.m4:1: CC_CHECK_TLS is expanded from... configure.ac:154: the top level configure.ac:156: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2601: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2617: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2063: AC_CACHE_CHECK is expanded from... configure.ac:156: the top level configure.ac:34: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2601: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2617: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from... m4/attributes.m4:35: CC_CHECK_CFLAGS_SILENT is expanded from... m4/attributes.m4:49: CC_CHECK_CFLAGS is expanded from... configure.ac:34: the top level configure.ac:80: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... configure.ac:80: the top level configure.ac:96: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... configure.ac:96: the top level configure.ac:154: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2601: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2617: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2063: AC_CACHE_CHECK is expanded from... m4/tls.m4:1: CC_CHECK_TLS is expanded from... configure.ac:154: the top level configure.ac:156: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2601: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2617: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2063: AC_CACHE_CHECK is expanded from... configure.ac:156: the top level configure.ac:34: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2601: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2617: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from... m4/attributes.m4:35: CC_CHECK_CFLAGS_SILENT is expanded from... m4/attributes.m4:49: CC_CHECK_CFLAGS is expanded from... configure.ac:34: the top level configure.ac:80: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... configure.ac:80: the top level configure.ac:96: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... configure.ac:96: the top level configure.ac:154: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2601: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2617: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2063: AC_CACHE_CHECK is expanded from... m4/tls.m4:1: CC_CHECK_TLS is expanded from... configure.ac:154: the top level configure.ac:156: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2601: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2617: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2063: AC_CACHE_CHECK is expanded from... configure.ac:156: the top level libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' configure.ac:34: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2601: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2617: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from... m4/attributes.m4:35: CC_CHECK_CFLAGS_SILENT is expanded from... m4/attributes.m4:49: CC_CHECK_CFLAGS is expanded from... configure.ac:34: the top level configure.ac:80: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... configure.ac:80: the top level configure.ac:96: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... configure.ac:96: the top level configure.ac:154: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2601: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2617: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2063: AC_CACHE_CHECK is expanded from... m4/tls.m4:1: CC_CHECK_TLS is expanded from... configure.ac:154: the top level configure.ac:156: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2601: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2617: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2063: AC_CACHE_CHECK is expanded from... configure.ac:156: the top level configure.ac:34: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2601: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2617: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from... m4/attributes.m4:35: CC_CHECK_CFLAGS_SILENT is expanded from... m4/attributes.m4:49: CC_CHECK_CFLAGS is expanded from... configure.ac:34: the top level configure.ac:80: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... configure.ac:80: the top level configure.ac:96: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... configure.ac:96: the top level configure.ac:154: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2601: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2617: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2063: AC_CACHE_CHECK is expanded from... m4/tls.m4:1: CC_CHECK_TLS is expanded from... configure.ac:154: the top level configure.ac:156: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2601: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2617: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2063: AC_CACHE_CHECK is expanded from... configure.ac:156: the top level configure.ac:34: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2601: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2617: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from... m4/attributes.m4:35: CC_CHECK_CFLAGS_SILENT is expanded from... m4/attributes.m4:49: CC_CHECK_CFLAGS is expanded from... configure.ac:34: the top level configure.ac:80: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... configure.ac:80: the top level configure.ac:96: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... configure.ac:96: the top level configure.ac:154: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2601: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2617: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2063: AC_CACHE_CHECK is expanded from... m4/tls.m4:1: CC_CHECK_TLS is expanded from... configure.ac:154: the top level configure.ac:156: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2601: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2617: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2063: AC_CACHE_CHECK is expanded from... configure.ac:156: the top level configure.ac:34: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2601: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2617: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from... m4/attributes.m4:35: CC_CHECK_CFLAGS_SILENT is expanded from... m4/attributes.m4:49: CC_CHECK_CFLAGS is expanded from... configure.ac:34: the top level configure.ac:80: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... configure.ac:80: the top level configure.ac:96: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... configure.ac:96: the top level configure.ac:154: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2601: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2617: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2063: AC_CACHE_CHECK is expanded from... m4/tls.m4:1: CC_CHECK_TLS is expanded from... configure.ac:154: the top level configure.ac:156: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2601: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2617: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2063: AC_CACHE_CHECK is expanded from... configure.ac:156: the top level configure.ac:34: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2601: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2617: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from... m4/attributes.m4:35: CC_CHECK_CFLAGS_SILENT is expanded from... m4/attributes.m4:49: CC_CHECK_CFLAGS is expanded from... configure.ac:34: the top level configure.ac:80: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... configure.ac:80: the top level configure.ac:96: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... configure.ac:96: the top level configure.ac:154: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2601: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2617: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2063: AC_CACHE_CHECK is expanded from... m4/tls.m4:1: CC_CHECK_TLS is expanded from... configure.ac:154: the top level configure.ac:156: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2601: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2617: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2063: AC_CACHE_CHECK is expanded from... configure.ac:156: the top level configure.ac:18: installing './compile' configure.ac:60: installing './config.guess' configure.ac:60: installing './config.sub' configure.ac:5: installing './install-sh' configure.ac:5: installing './missing' /usr/share/automake-1.16/am/ltlibrary.am: warning: 'libdroid-util.la': linking libtool libraries using a non-POSIX /usr/share/automake-1.16/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac' src/common/Makefile.am:16: while processing Libtool library 'libdroid-util.la' src/common/Makefile.am: installing './depcomp' /usr/share/automake-1.16/am/ltlibrary.am: warning: 'libdroid-sink.la': linking libtool libraries using a non-POSIX /usr/share/automake-1.16/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac' src/droid/Makefile.am:15: while processing Libtool library 'libdroid-sink.la' /usr/share/automake-1.16/am/ltlibrary.am: warning: 'libdroid-source.la': linking libtool libraries using a non-POSIX /usr/share/automake-1.16/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac' src/droid/Makefile.am:15: while processing Libtool library 'libdroid-source.la' /usr/share/automake-1.16/am/ltlibrary.am: warning: 'module-droid-card.la': linking libtool libraries using a non-POSIX /usr/share/automake-1.16/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac' src/droid/Makefile.am:15: while processing Libtool library 'module-droid-card.la' /usr/share/automake-1.16/am/ltlibrary.am: warning: 'module-droid-keepalive.la': linking libtool libraries using a non-POSIX /usr/share/automake-1.16/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac' src/droid/Makefile.am:15: while processing Libtool library 'module-droid-keepalive.la' /usr/share/automake-1.16/am/ltlibrary.am: warning: 'module-droid-sink.la': linking libtool libraries using a non-POSIX /usr/share/automake-1.16/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac' src/droid/Makefile.am:15: while processing Libtool library 'module-droid-sink.la' /usr/share/automake-1.16/am/ltlibrary.am: warning: 'module-droid-source.la': linking libtool libraries using a non-POSIX /usr/share/automake-1.16/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac' src/droid/Makefile.am:15: while processing Libtool library 'module-droid-source.la' checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for armv7-alpine-linux-musleabihf-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... gcc3 checking for gcc option to accept ISO C99... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether gcc needs -traditional... no checking if gcc supports -Wall flag... yes checking if gcc supports -W flag... yes checking if gcc supports -Wextra flag... yes checking if gcc supports -pedantic flag... yes checking if gcc supports -pipe flag... yes checking if gcc supports -Wno-long-long flag... yes checking if gcc supports -Winline flag... yes checking if gcc supports -Wvla flag... yes checking if gcc supports -Wno-overlength-strings flag... yes checking if gcc supports -Wunsafe-loop-optimizations flag... yes checking if gcc supports -Wundef flag... yes checking if gcc supports -Wformat=2 flag... yes checking if gcc supports -Wlogical-op flag... yes checking if gcc supports -Wsign-compare flag... yes checking if gcc supports -Wpacked flag... yes checking if gcc supports -Wformat-security flag... yes checking if gcc supports -Wmissing-include-dirs flag... yes checking if gcc supports -Wformat-nonliteral flag... yes checking if gcc supports -Wold-style-definition flag... yes checking if gcc supports -Wpointer-arith flag... yes checking if gcc supports -Winit-self flag... yes checking if gcc supports -Wfloat-equal flag... yes checking if gcc supports -Wmissing-prototypes flag... yes checking if gcc supports -Wstrict-prototypes flag... yes checking if gcc supports -Wredundant-decls flag... yes checking if gcc supports -Wmissing-declarations flag... yes checking if gcc supports -Wmissing-noreturn flag... yes checking if gcc supports -Wshadow flag... yes checking if gcc supports -Wendif-labels flag... yes checking if gcc supports -Wstrict-aliasing=2 flag... yes checking if gcc supports -Wwrite-strings flag... yes checking if gcc supports -Wno-unused-parameter flag... yes checking if gcc supports -ffast-math flag... yes checking if gcc supports -Wp,-D_FORTIFY_SOURCE=2 flag... yes checking if gcc supports -fno-common flag... yes checking if gcc supports -fdiagnostics-show-option flag... yes checking build system type... armv7-alpine-linux-musleabihf checking host system type... armv7-alpine-linux-musleabihf checking target operating system... linux checking whether gcc knows __sync_bool_compare_and_swap()... yes checking whether we need libatomic_ops... no checking whether gcc knows __thread for Thread-Local Storage... yes checking whether gcc knows _Bool... yes checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/armv7-alpine-linux-musleabihf/bin/ld checking if the linker (/usr/armv7-alpine-linux-musleabihf/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 98304 checking how to convert armv7-alpine-linux-musleabihf file names to armv7-alpine-linux-musleabihf format... func_convert_file_noop checking how to convert armv7-alpine-linux-musleabihf file names to toolchain format... func_convert_file_noop checking for /usr/armv7-alpine-linux-musleabihf/bin/ld option to reload object files... -r checking for armv7-alpine-linux-musleabihf-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for armv7-alpine-linux-musleabihf-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for armv7-alpine-linux-musleabihf-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for armv7-alpine-linux-musleabihf-strip... no checking for strip... strip checking for armv7-alpine-linux-musleabihf-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for armv7-alpine-linux-musleabihf-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/armv7-alpine-linux-musleabihf/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for armv7-alpine-linux-musleabihf-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for PULSEAUDIO... yes checking for DROIDHEADERS... yes checking for HYBRIS... yes checking for DBUS... yes checking for EXPAT... yes checking if droid headers have enum AUDIO_DEVICE_OUT_HDMI... yes checking if droid headers have enum AUDIO_DEVICE_OUT_HDMI_ARC... yes checking if droid headers have enum AUDIO_DEVICE_OUT_TELEPHONY_TX... yes checking if droid headers have enum AUDIO_DEVICE_OUT_LINE... yes checking if droid headers have enum AUDIO_DEVICE_OUT_SPDIF... yes checking if droid headers have enum AUDIO_DEVICE_OUT_AUX_LINE... yes checking if droid headers have enum AUDIO_DEVICE_OUT_SPEAKER_SAFE... yes checking if droid headers have enum AUDIO_DEVICE_OUT_FM... yes checking if droid headers have enum AUDIO_DEVICE_OUT_FM_TX... no checking if droid headers have enum AUDIO_DEVICE_OUT_ANC_HEADSET... no checking if droid headers have enum AUDIO_DEVICE_OUT_ANC_HEADPHONE... no checking if droid headers have enum AUDIO_DEVICE_OUT_PROXY... yes checking if droid headers have enum AUDIO_DEVICE_OUT_IP... yes checking if droid headers have enum AUDIO_DEVICE_IN_HDMI... yes checking if droid headers have enum AUDIO_DEVICE_IN_TELEPHONY_RX... yes checking if droid headers have enum AUDIO_DEVICE_IN_FM_TUNER... yes checking if droid headers have enum AUDIO_DEVICE_IN_TV_TUNER... yes checking if droid headers have enum AUDIO_DEVICE_IN_LINE... yes checking if droid headers have enum AUDIO_DEVICE_IN_SPDIF... yes checking if droid headers have enum AUDIO_DEVICE_IN_BLUETOOTH_A2DP... yes checking if droid headers have enum AUDIO_DEVICE_IN_LOOPBACK... yes checking if droid headers have enum AUDIO_DEVICE_IN_PROXY... yes checking if droid headers have enum AUDIO_DEVICE_IN_FM_RX... no checking if droid headers have enum AUDIO_DEVICE_IN_FM_RX_A2DP... no checking if droid headers have enum AUDIO_DEVICE_IN_ALL_USB... yes checking if droid headers have enum AUDIO_DEVICE_IN_IP... yes checking if droid headers have enum AUDIO_SOURCE_FM_TUNER... yes checking if droid headers have enum AUDIO_SOURCE_FM_RX... no checking if droid headers have enum AUDIO_SOURCE_FM_RX_A2DP... no checking if droid headers have enum AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD... yes checking if droid headers have enum AUDIO_OUTPUT_FLAG_NON_BLOCKING... yes checking if droid headers have enum AUDIO_OUTPUT_FLAG_HW_AV_SYNC... yes checking if droid headers have enum AUDIO_OUTPUT_FLAG_VOIP_RX... yes checking if droid headers have enum AUDIO_OUTPUT_FLAG_INCALL_MUSIC... no checking if droid headers have enum AUDIO_OUTPUT_FLAG_COMPRESS_PASSTHROUGH... yes checking if droid headers have enum AUDIO_OUTPUT_FLAG_TTS... yes checking if droid headers have enum AUDIO_OUTPUT_FLAG_RAW... yes checking if droid headers have enum AUDIO_OUTPUT_FLAG_SYNC... yes checking if droid headers have enum AUDIO_OUTPUT_FLAG_IEC958_NONAUDIO... yes checking if droid headers have enum AUDIO_INPUT_FLAG_NONE... yes checking if droid headers have enum AUDIO_INPUT_FLAG_FAST... yes checking if droid headers have enum AUDIO_INPUT_FLAG_HW_HOTWORD... yes checking if droid headers have enum AUDIO_INPUT_FLAG_RAW... yes checking if droid headers have enum AUDIO_INPUT_FLAG_SYNC... yes checking if droid headers have enum AUDIO_CHANNEL_OUT_SURROUND... yes checking if droid headers have enum AUDIO_CHANNEL_OUT_5POINT1_BACK... yes checking if droid headers have enum AUDIO_CHANNEL_OUT_5POINT1_SIDE... yes checking if droid headers have enum AUDIO_CHANNEL_IN_VOICE_CALL_MONO... yes checking if droid headers have enum AUDIO_CHANNEL_IN_VOICE_UPLINK_MONO... yes checking if droid headers have enum AUDIO_CHANNEL_IN_VOICE_DNLINK_MONO... yes checking if droid headers have enum AUDIO_FORMAT_PCM_OFFLOAD... yes checking if droid headers have enum AUDIO_FORMAT_FLAC... yes checking if droid headers have enum AUDIO_FORMAT_OPUS... yes checking If we are using hardfp tool chain... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/common/Makefile config.status: creating src/common/libdroid-util.pc config.status: creating src/droid/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands ---{ pulseaudio-modules-droid 13.0 }--- compiler: gcc CFLAGS: -Os -fomit-frame-pointer -Wall -W -Wextra -pedantic -pipe -Wno-long-long -Winline -Wvla -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wpacked -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self -Wfloat-equal -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wstrict-aliasing=2 -Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option prefix: /usr modules directory: ${exec_prefix}/lib/pulse-13.0/modules Droid device: generic XML config support: yes (expat) >>> pulseaudio-modules-droid: building pulseaudio-modules-droid-7.1 Making clean in src make[1]: Entering directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src' Making clean in common make[2]: Entering directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src/common' rm -rf .libs _libs test -z "libdroid-util.la" || rm -f libdroid-util.la rm -f *.o rm -f *.lo rm -f ./so_locations make[2]: Leaving directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src/common' Making clean in droid make[2]: Entering directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src/droid' rm -rf .libs _libs test -z "libdroid-sink.la libdroid-source.la module-droid-keepalive.la module-droid-sink.la module-droid-source.la module-droid-card.la" || rm -f libdroid-sink.la libdroid-source.la module-droid-keepalive.la module-droid-sink.la module-droid-source.la module-droid-card.la rm -f *.o rm -f *.lo rm -f ./so_locations make[2]: Leaving directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src/droid' make[2]: Entering directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src' rm -rf .libs _libs rm -f *.lo make[2]: Leaving directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src' make[1]: Leaving directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src' make[1]: Entering directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79' rm -rf .libs _libs rm -f *.lo make[1]: Leaving directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79' /usr/bin/make all-recursive make[1]: Entering directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79' Making all in src make[2]: Entering directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src' Making all in common make[3]: Entering directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src/common' CC libdroid_util_la-conversion.lo CC libdroid_util_la-droid-config.lo CC libdroid_util_la-droid-util.lo In file included from /usr/include/android-7.1/hardware/audio.h:23, from ../../src/common/include/droid/version.h:31, from droid-config.c:26: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1/cutils/bitops.h:23, from /usr/include/android-7.1/hardware/audio.h:26, from ../../src/common/include/droid/version.h:31, from droid-config.c:26: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1/hardware/audio.h:26, from ../../src/common/include/droid/version.h:31, from droid-config.c:26: /usr/include/android-7.1/cutils/bitops.h: In function 'bitmask_ffz': /usr/include/android-7.1/cutils/bitops.h:65:15: warning: implicit declaration of function 'ffs' [-Wimplicit-function-declaration] 65 | bit = ffs(~bitmask[i]); | ^~~ /usr/include/android-7.1/cutils/bitops.h:65:19: warning: 'ffs' argument 1 type is 'unsigned int' where 'int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 65 | bit = ffs(~bitmask[i]); | ^~~~~~~~~~~ : note: built-in 'ffs' declared here In file included from /usr/include/android-7.1/hardware/hardware.h:21, from /usr/include/android-7.1/hardware/audio.h:28, from ../../src/common/include/droid/version.h:31, from droid-config.c:26: /usr/include/sys/cdefs.h: At top level: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1/hardware/hardware.h:23, from /usr/include/android-7.1/hardware/audio.h:28, from ../../src/common/include/droid/version.h:31, from droid-config.c:26: /usr/include/android-7.1/cutils/native_handle.h:29:9: warning: ISO C forbids zero-size array 'data' [-Wpedantic] 29 | int data[0]; /* numFds + numInts ints */ | ^~~~ In file included from /usr/include/android-7.1/system/audio.h:24, from /usr/include/android-7.1/hardware/audio.h:29, from ../../src/common/include/droid/version.h:31, from droid-config.c:26: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1/hardware/audio.h:29, from ../../src/common/include/droid/version.h:31, from droid-config.c:26: /usr/include/android-7.1/system/audio.h:302:40: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 302 | AUDIO_FORMAT_INVALID = 0xFFFFFFFFUL, | ^~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:340:40: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 340 | AUDIO_FORMAT_MAIN_MASK = 0xFF000000UL, /* Deprecated. Use audio_get_main_format() */ | ^~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:411:47: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 411 | AUDIO_CHANNEL_INVALID = 0xC0000000, | ^~~~~~~~~~ /usr/include/android-7.1/system/audio.h:610:32: warning: enumerator value for 'AUDIO_CHANNEL_INDEX_HDR' is not an integer constant expression [-Wpedantic] 610 | AUDIO_CHANNEL_INDEX_HDR = AUDIO_CHANNEL_REPRESENTATION_INDEX << AUDIO_CHANNEL_COUNT_MAX, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:706:50: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 706 | AUDIO_DEVICE_BIT_IN = 0x80000000, | ^~~~~~~~~~ /usr/include/android-7.1/system/audio.h:784:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 784 | AUDIO_DEVICE_IN_COMMUNICATION = AUDIO_DEVICE_BIT_IN | 0x1, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:785:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 785 | AUDIO_DEVICE_IN_AMBIENT = AUDIO_DEVICE_BIT_IN | 0x2, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:786:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 786 | AUDIO_DEVICE_IN_BUILTIN_MIC = AUDIO_DEVICE_BIT_IN | 0x4, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:787:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 787 | AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET = AUDIO_DEVICE_BIT_IN | 0x8, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:788:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 788 | AUDIO_DEVICE_IN_WIRED_HEADSET = AUDIO_DEVICE_BIT_IN | 0x10, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:789:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 789 | AUDIO_DEVICE_IN_AUX_DIGITAL = AUDIO_DEVICE_BIT_IN | 0x20, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:790:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 790 | AUDIO_DEVICE_IN_HDMI = AUDIO_DEVICE_IN_AUX_DIGITAL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:792:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 792 | AUDIO_DEVICE_IN_VOICE_CALL = AUDIO_DEVICE_BIT_IN | 0x40, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:793:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 793 | AUDIO_DEVICE_IN_TELEPHONY_RX = AUDIO_DEVICE_IN_VOICE_CALL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:794:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 794 | AUDIO_DEVICE_IN_BACK_MIC = AUDIO_DEVICE_BIT_IN | 0x80, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:795:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 795 | AUDIO_DEVICE_IN_REMOTE_SUBMIX = AUDIO_DEVICE_BIT_IN | 0x100, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:796:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 796 | AUDIO_DEVICE_IN_ANLG_DOCK_HEADSET = AUDIO_DEVICE_BIT_IN | 0x200, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:797:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 797 | AUDIO_DEVICE_IN_DGTL_DOCK_HEADSET = AUDIO_DEVICE_BIT_IN | 0x400, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:798:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 798 | AUDIO_DEVICE_IN_USB_ACCESSORY = AUDIO_DEVICE_BIT_IN | 0x800, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:799:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 799 | AUDIO_DEVICE_IN_USB_DEVICE = AUDIO_DEVICE_BIT_IN | 0x1000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:801:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 801 | AUDIO_DEVICE_IN_FM_TUNER = AUDIO_DEVICE_BIT_IN | 0x2000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:803:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 803 | AUDIO_DEVICE_IN_TV_TUNER = AUDIO_DEVICE_BIT_IN | 0x4000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:805:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 805 | AUDIO_DEVICE_IN_LINE = AUDIO_DEVICE_BIT_IN | 0x8000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:807:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 807 | AUDIO_DEVICE_IN_SPDIF = AUDIO_DEVICE_BIT_IN | 0x10000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:808:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 808 | AUDIO_DEVICE_IN_BLUETOOTH_A2DP = AUDIO_DEVICE_BIT_IN | 0x20000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:809:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 809 | AUDIO_DEVICE_IN_LOOPBACK = AUDIO_DEVICE_BIT_IN | 0x40000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:810:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 810 | AUDIO_DEVICE_IN_IP = AUDIO_DEVICE_BIT_IN | 0x80000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:812:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 812 | AUDIO_DEVICE_IN_BUS = AUDIO_DEVICE_BIT_IN | 0x100000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:813:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 813 | AUDIO_DEVICE_IN_PROXY = AUDIO_DEVICE_BIT_IN | 0x1000000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:814:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 814 | AUDIO_DEVICE_IN_DEFAULT = AUDIO_DEVICE_BIT_IN | AUDIO_DEVICE_BIT_DEFAULT, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:816:31: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 816 | AUDIO_DEVICE_IN_ALL = (AUDIO_DEVICE_IN_COMMUNICATION | | ^ /usr/include/android-7.1/system/audio.h:839:31: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 839 | AUDIO_DEVICE_IN_ALL_SCO = AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:840:32: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 840 | AUDIO_DEVICE_IN_ALL_USB = (AUDIO_DEVICE_IN_USB_ACCESSORY | | ^ /usr/include/android-7.1/system/audio.h:966:12: warning: obsolete use of designated initializer with ':' [-Wpedantic] 966 | version: AUDIO_OFFLOAD_INFO_VERSION_CURRENT, | ^ /usr/include/android-7.1/system/audio.h:967:9: warning: obsolete use of designated initializer with ':' [-Wpedantic] 967 | size: sizeof(audio_offload_info_t), | ^ /usr/include/android-7.1/system/audio.h:968:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 968 | sample_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:969:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 969 | channel_mask: 0, | ^ /usr/include/android-7.1/system/audio.h:970:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 970 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1/system/audio.h:971:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 971 | stream_type: AUDIO_STREAM_VOICE_CALL, | ^ /usr/include/android-7.1/system/audio.h:972:13: warning: obsolete use of designated initializer with ':' [-Wpedantic] 972 | bit_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:973:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 973 | duration_us: 0, | ^ /usr/include/android-7.1/system/audio.h:974:14: warning: obsolete use of designated initializer with ':' [-Wpedantic] 974 | has_video: false, | ^ /usr/include/android-7.1/system/audio.h:975:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 975 | is_streaming: false, | ^ /usr/include/android-7.1/system/audio.h:976:14: warning: obsolete use of designated initializer with ':' [-Wpedantic] 976 | bit_width: 16, | ^ /usr/include/android-7.1/system/audio.h:977:24: warning: obsolete use of designated initializer with ':' [-Wpedantic] 977 | offload_buffer_size: 0, | ^ /usr/include/android-7.1/system/audio.h:978:10: warning: obsolete use of designated initializer with ':' [-Wpedantic] 978 | usage: AUDIO_USAGE_UNKNOWN, | ^ /usr/include/android-7.1/system/audio.h:995:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 995 | sample_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:996:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 996 | channel_mask: AUDIO_CHANNEL_NONE, | ^ /usr/include/android-7.1/system/audio.h:997:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 997 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1/system/audio.h:998:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 998 | offload_info: { | ^ /usr/include/android-7.1/system/audio.h:999:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 999 | version: AUDIO_OFFLOAD_INFO_VERSION_CURRENT, | ^ /usr/include/android-7.1/system/audio.h:1000:13: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1000 | size: sizeof(audio_offload_info_t), | ^ /usr/include/android-7.1/system/audio.h:1001:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1001 | sample_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:1002:21: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1002 | channel_mask: 0, | ^ /usr/include/android-7.1/system/audio.h:1003:15: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1003 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1/system/audio.h:1004:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1004 | stream_type: AUDIO_STREAM_VOICE_CALL, | ^ /usr/include/android-7.1/system/audio.h:1005:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1005 | bit_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:1006:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1006 | duration_us: 0, | ^ /usr/include/android-7.1/system/audio.h:1007:18: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1007 | has_video: false, | ^ /usr/include/android-7.1/system/audio.h:1008:21: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1008 | is_streaming: false | ^ /usr/include/android-7.1/system/audio.h:1010:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1010 | frame_count: 0, | ^ /usr/include/android-7.1/system/audio.h:1022:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1022 | sample_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:1023:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1023 | channel_mask: AUDIO_CHANNEL_NONE, | ^ /usr/include/android-7.1/system/audio.h:1024:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1024 | format: AUDIO_FORMAT_DEFAULT | ^ /usr/include/android-7.1/system/audio.h: In function 'audio_device_address_to_parameter': /usr/include/android-7.1/system/audio.h:1672:5: warning: ISO C90 forbids array 'param' whose size can't be evaluated [-Wvla] 1672 | char param[kSize]; | ^~~~ In file included from /usr/include/android-7.1/hardware/audio_effect.h:24, from /usr/include/android-7.1/hardware/audio.h:30, from ../../src/common/include/droid/version.h:31, from droid-config.c:26: /usr/include/sys/cdefs.h: At top level: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ droid-config.c: In function 'pa_parse_droid_audio_config': droid-config.c:147:19: warning: implicit declaration of function 'rindex' [-Wimplicit-function-declaration] 147 | if ((suffix = rindex(filename, '.'))) { | ^~~~~~ droid-config.c:147:19: warning: incompatible implicit declaration of built-in function 'rindex' CC libdroid_util_la-config-parser-legacy.lo In file included from /usr/include/android-7.1/hardware/audio.h:23, from ../../src/common/include/droid/version.h:31, from conversion.c:26: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1/cutils/bitops.h:23, from /usr/include/android-7.1/hardware/audio.h:26, from ../../src/common/include/droid/version.h:31, from conversion.c:26: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1/hardware/audio.h:26, from ../../src/common/include/droid/version.h:31, from conversion.c:26: /usr/include/android-7.1/cutils/bitops.h: In function 'bitmask_ffz': /usr/include/android-7.1/cutils/bitops.h:65:15: warning: implicit declaration of function 'ffs' [-Wimplicit-function-declaration] 65 | bit = ffs(~bitmask[i]); | ^~~ /usr/include/android-7.1/cutils/bitops.h:65:19: warning: 'ffs' argument 1 type is 'unsigned int' where 'int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 65 | bit = ffs(~bitmask[i]); | ^~~~~~~~~~~ : note: built-in 'ffs' declared here In file included from /usr/include/android-7.1/hardware/hardware.h:21, from /usr/include/android-7.1/hardware/audio.h:28, from ../../src/common/include/droid/version.h:31, from conversion.c:26: /usr/include/sys/cdefs.h: At top level: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1/hardware/hardware.h:23, from /usr/include/android-7.1/hardware/audio.h:28, from ../../src/common/include/droid/version.h:31, from conversion.c:26: /usr/include/android-7.1/cutils/native_handle.h:29:9: warning: ISO C forbids zero-size array 'data' [-Wpedantic] 29 | int data[0]; /* numFds + numInts ints */ | ^~~~ In file included from /usr/include/android-7.1/system/audio.h:24, from /usr/include/android-7.1/hardware/audio.h:29, from ../../src/common/include/droid/version.h:31, from conversion.c:26: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1/hardware/audio.h:29, from ../../src/common/include/droid/version.h:31, from conversion.c:26: /usr/include/android-7.1/system/audio.h:302:40: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 302 | AUDIO_FORMAT_INVALID = 0xFFFFFFFFUL, | ^~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:340:40: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 340 | AUDIO_FORMAT_MAIN_MASK = 0xFF000000UL, /* Deprecated. Use audio_get_main_format() */ | ^~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:411:47: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 411 | AUDIO_CHANNEL_INVALID = 0xC0000000, | ^~~~~~~~~~ /usr/include/android-7.1/system/audio.h:610:32: warning: enumerator value for 'AUDIO_CHANNEL_INDEX_HDR' is not an integer constant expression [-Wpedantic] 610 | AUDIO_CHANNEL_INDEX_HDR = AUDIO_CHANNEL_REPRESENTATION_INDEX << AUDIO_CHANNEL_COUNT_MAX, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:706:50: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 706 | AUDIO_DEVICE_BIT_IN = 0x80000000, | ^~~~~~~~~~ /usr/include/android-7.1/system/audio.h:784:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 784 | AUDIO_DEVICE_IN_COMMUNICATION = AUDIO_DEVICE_BIT_IN | 0x1, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:785:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 785 | AUDIO_DEVICE_IN_AMBIENT = AUDIO_DEVICE_BIT_IN | 0x2, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:786:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 786 | AUDIO_DEVICE_IN_BUILTIN_MIC = AUDIO_DEVICE_BIT_IN | 0x4, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:787:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 787 | AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET = AUDIO_DEVICE_BIT_IN | 0x8, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:788:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 788 | AUDIO_DEVICE_IN_WIRED_HEADSET = AUDIO_DEVICE_BIT_IN | 0x10, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:789:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 789 | AUDIO_DEVICE_IN_AUX_DIGITAL = AUDIO_DEVICE_BIT_IN | 0x20, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:790:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 790 | AUDIO_DEVICE_IN_HDMI = AUDIO_DEVICE_IN_AUX_DIGITAL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:792:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 792 | AUDIO_DEVICE_IN_VOICE_CALL = AUDIO_DEVICE_BIT_IN | 0x40, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:793:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 793 | AUDIO_DEVICE_IN_TELEPHONY_RX = AUDIO_DEVICE_IN_VOICE_CALL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:794:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 794 | AUDIO_DEVICE_IN_BACK_MIC = AUDIO_DEVICE_BIT_IN | 0x80, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:795:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 795 | AUDIO_DEVICE_IN_REMOTE_SUBMIX = AUDIO_DEVICE_BIT_IN | 0x100, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:796:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 796 | AUDIO_DEVICE_IN_ANLG_DOCK_HEADSET = AUDIO_DEVICE_BIT_IN | 0x200, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:797:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 797 | AUDIO_DEVICE_IN_DGTL_DOCK_HEADSET = AUDIO_DEVICE_BIT_IN | 0x400, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:798:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 798 | AUDIO_DEVICE_IN_USB_ACCESSORY = AUDIO_DEVICE_BIT_IN | 0x800, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:799:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 799 | AUDIO_DEVICE_IN_USB_DEVICE = AUDIO_DEVICE_BIT_IN | 0x1000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:801:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 801 | AUDIO_DEVICE_IN_FM_TUNER = AUDIO_DEVICE_BIT_IN | 0x2000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:803:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 803 | AUDIO_DEVICE_IN_TV_TUNER = AUDIO_DEVICE_BIT_IN | 0x4000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:805:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 805 | AUDIO_DEVICE_IN_LINE = AUDIO_DEVICE_BIT_IN | 0x8000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:807:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 807 | AUDIO_DEVICE_IN_SPDIF = AUDIO_DEVICE_BIT_IN | 0x10000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:808:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 808 | AUDIO_DEVICE_IN_BLUETOOTH_A2DP = AUDIO_DEVICE_BIT_IN | 0x20000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:809:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 809 | AUDIO_DEVICE_IN_LOOPBACK = AUDIO_DEVICE_BIT_IN | 0x40000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:810:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 810 | AUDIO_DEVICE_IN_IP = AUDIO_DEVICE_BIT_IN | 0x80000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:812:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 812 | AUDIO_DEVICE_IN_BUS = AUDIO_DEVICE_BIT_IN | 0x100000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:813:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 813 | AUDIO_DEVICE_IN_PROXY = AUDIO_DEVICE_BIT_IN | 0x1000000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:814:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 814 | AUDIO_DEVICE_IN_DEFAULT = AUDIO_DEVICE_BIT_IN | AUDIO_DEVICE_BIT_DEFAULT, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:816:31: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 816 | AUDIO_DEVICE_IN_ALL = (AUDIO_DEVICE_IN_COMMUNICATION | | ^ /usr/include/android-7.1/system/audio.h:839:31: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 839 | AUDIO_DEVICE_IN_ALL_SCO = AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:840:32: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 840 | AUDIO_DEVICE_IN_ALL_USB = (AUDIO_DEVICE_IN_USB_ACCESSORY | | ^ /usr/include/android-7.1/system/audio.h:966:12: warning: obsolete use of designated initializer with ':' [-Wpedantic] 966 | version: AUDIO_OFFLOAD_INFO_VERSION_CURRENT, | ^ /usr/include/android-7.1/system/audio.h:967:9: warning: obsolete use of designated initializer with ':' [-Wpedantic] 967 | size: sizeof(audio_offload_info_t), | ^ /usr/include/android-7.1/system/audio.h:968:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 968 | sample_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:969:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 969 | channel_mask: 0, | ^ /usr/include/android-7.1/system/audio.h:970:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 970 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1/system/audio.h:971:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 971 | stream_type: AUDIO_STREAM_VOICE_CALL, | ^ /usr/include/android-7.1/system/audio.h:972:13: warning: obsolete use of designated initializer with ':' [-Wpedantic] 972 | bit_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:973:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 973 | duration_us: 0, | ^ /usr/include/android-7.1/system/audio.h:974:14: warning: obsolete use of designated initializer with ':' [-Wpedantic] 974 | has_video: false, | ^ /usr/include/android-7.1/system/audio.h:975:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 975 | is_streaming: false, | ^ /usr/include/android-7.1/system/audio.h:976:14: warning: obsolete use of designated initializer with ':' [-Wpedantic] 976 | bit_width: 16, | ^ /usr/include/android-7.1/system/audio.h:977:24: warning: obsolete use of designated initializer with ':' [-Wpedantic] 977 | offload_buffer_size: 0, | ^ /usr/include/android-7.1/system/audio.h:978:10: warning: obsolete use of designated initializer with ':' [-Wpedantic] 978 | usage: AUDIO_USAGE_UNKNOWN, | ^ /usr/include/android-7.1/system/audio.h:995:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 995 | sample_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:996:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 996 | channel_mask: AUDIO_CHANNEL_NONE, | ^ /usr/include/android-7.1/system/audio.h:997:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 997 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1/system/audio.h:998:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 998 | offload_info: { | ^ /usr/include/android-7.1/system/audio.h:999:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 999 | version: AUDIO_OFFLOAD_INFO_VERSION_CURRENT, | ^ /usr/include/android-7.1/system/audio.h:1000:13: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1000 | size: sizeof(audio_offload_info_t), | ^ /usr/include/android-7.1/system/audio.h:1001:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1001 | sample_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:1002:21: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1002 | channel_mask: 0, | ^ /usr/include/android-7.1/system/audio.h:1003:15: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1003 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1/system/audio.h:1004:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1004 | stream_type: AUDIO_STREAM_VOICE_CALL, | ^ /usr/include/android-7.1/system/audio.h:1005:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1005 | bit_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:1006:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1006 | duration_us: 0, | ^ /usr/include/android-7.1/system/audio.h:1007:18: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1007 | has_video: false, | ^ /usr/include/android-7.1/system/audio.h:1008:21: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1008 | is_streaming: false | ^ /usr/include/android-7.1/system/audio.h:1010:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1010 | frame_count: 0, | ^ /usr/include/android-7.1/system/audio.h:1022:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1022 | sample_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:1023:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1023 | channel_mask: AUDIO_CHANNEL_NONE, | ^ /usr/include/android-7.1/system/audio.h:1024:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1024 | format: AUDIO_FORMAT_DEFAULT | ^ /usr/include/android-7.1/system/audio.h: In function 'audio_device_address_to_parameter': /usr/include/android-7.1/system/audio.h:1672:5: warning: ISO C90 forbids array 'param' whose size can't be evaluated [-Wvla] 1672 | char param[kSize]; | ^~~~ In file included from /usr/include/android-7.1/hardware/audio_effect.h:24, from /usr/include/android-7.1/hardware/audio.h:30, from ../../src/common/include/droid/version.h:31, from conversion.c:26: /usr/include/sys/cdefs.h: At top level: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ CC libdroid_util_la-config-parser-xml.lo In file included from /usr/include/android-7.1/hardware/audio.h:23, from ../../src/common/include/droid/version.h:31, from droid-util.c:63: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1/cutils/bitops.h:23, from /usr/include/android-7.1/hardware/audio.h:26, from ../../src/common/include/droid/version.h:31, from droid-util.c:63: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1/hardware/hardware.h:21, from /usr/include/android-7.1/hardware/audio.h:28, from ../../src/common/include/droid/version.h:31, from droid-util.c:63: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1/hardware/hardware.h:23, from /usr/include/android-7.1/hardware/audio.h:28, from ../../src/common/include/droid/version.h:31, from droid-util.c:63: /usr/include/android-7.1/cutils/native_handle.h:29:9: warning: ISO C forbids zero-size array 'data' [-Wpedantic] 29 | int data[0]; /* numFds + numInts ints */ | ^~~~ In file included from /usr/include/android-7.1/system/audio.h:24, from /usr/include/android-7.1/hardware/audio.h:29, from ../../src/common/include/droid/version.h:31, from droid-util.c:63: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1/hardware/audio.h:29, from ../../src/common/include/droid/version.h:31, from droid-util.c:63: /usr/include/android-7.1/system/audio.h:302:40: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 302 | AUDIO_FORMAT_INVALID = 0xFFFFFFFFUL, | ^~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:340:40: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 340 | AUDIO_FORMAT_MAIN_MASK = 0xFF000000UL, /* Deprecated. Use audio_get_main_format() */ | ^~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:411:47: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 411 | AUDIO_CHANNEL_INVALID = 0xC0000000, | ^~~~~~~~~~ /usr/include/android-7.1/system/audio.h:610:32: warning: enumerator value for 'AUDIO_CHANNEL_INDEX_HDR' is not an integer constant expression [-Wpedantic] 610 | AUDIO_CHANNEL_INDEX_HDR = AUDIO_CHANNEL_REPRESENTATION_INDEX << AUDIO_CHANNEL_COUNT_MAX, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:706:50: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 706 | AUDIO_DEVICE_BIT_IN = 0x80000000, | ^~~~~~~~~~ /usr/include/android-7.1/system/audio.h:784:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 784 | AUDIO_DEVICE_IN_COMMUNICATION = AUDIO_DEVICE_BIT_IN | 0x1, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:785:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 785 | AUDIO_DEVICE_IN_AMBIENT = AUDIO_DEVICE_BIT_IN | 0x2, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:786:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 786 | AUDIO_DEVICE_IN_BUILTIN_MIC = AUDIO_DEVICE_BIT_IN | 0x4, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:787:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 787 | AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET = AUDIO_DEVICE_BIT_IN | 0x8, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:788:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 788 | AUDIO_DEVICE_IN_WIRED_HEADSET = AUDIO_DEVICE_BIT_IN | 0x10, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:789:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 789 | AUDIO_DEVICE_IN_AUX_DIGITAL = AUDIO_DEVICE_BIT_IN | 0x20, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:790:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 790 | AUDIO_DEVICE_IN_HDMI = AUDIO_DEVICE_IN_AUX_DIGITAL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:792:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 792 | AUDIO_DEVICE_IN_VOICE_CALL = AUDIO_DEVICE_BIT_IN | 0x40, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:793:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 793 | AUDIO_DEVICE_IN_TELEPHONY_RX = AUDIO_DEVICE_IN_VOICE_CALL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:794:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 794 | AUDIO_DEVICE_IN_BACK_MIC = AUDIO_DEVICE_BIT_IN | 0x80, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:795:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 795 | AUDIO_DEVICE_IN_REMOTE_SUBMIX = AUDIO_DEVICE_BIT_IN | 0x100, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:796:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 796 | AUDIO_DEVICE_IN_ANLG_DOCK_HEADSET = AUDIO_DEVICE_BIT_IN | 0x200, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:797:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 797 | AUDIO_DEVICE_IN_DGTL_DOCK_HEADSET = AUDIO_DEVICE_BIT_IN | 0x400, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:798:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 798 | AUDIO_DEVICE_IN_USB_ACCESSORY = AUDIO_DEVICE_BIT_IN | 0x800, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:799:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 799 | AUDIO_DEVICE_IN_USB_DEVICE = AUDIO_DEVICE_BIT_IN | 0x1000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:801:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 801 | AUDIO_DEVICE_IN_FM_TUNER = AUDIO_DEVICE_BIT_IN | 0x2000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:803:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 803 | AUDIO_DEVICE_IN_TV_TUNER = AUDIO_DEVICE_BIT_IN | 0x4000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:805:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 805 | AUDIO_DEVICE_IN_LINE = AUDIO_DEVICE_BIT_IN | 0x8000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:807:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 807 | AUDIO_DEVICE_IN_SPDIF = AUDIO_DEVICE_BIT_IN | 0x10000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:808:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 808 | AUDIO_DEVICE_IN_BLUETOOTH_A2DP = AUDIO_DEVICE_BIT_IN | 0x20000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:809:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 809 | AUDIO_DEVICE_IN_LOOPBACK = AUDIO_DEVICE_BIT_IN | 0x40000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:810:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 810 | AUDIO_DEVICE_IN_IP = AUDIO_DEVICE_BIT_IN | 0x80000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:812:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 812 | AUDIO_DEVICE_IN_BUS = AUDIO_DEVICE_BIT_IN | 0x100000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:813:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 813 | AUDIO_DEVICE_IN_PROXY = AUDIO_DEVICE_BIT_IN | 0x1000000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:814:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 814 | AUDIO_DEVICE_IN_DEFAULT = AUDIO_DEVICE_BIT_IN | AUDIO_DEVICE_BIT_DEFAULT, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:816:31: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 816 | AUDIO_DEVICE_IN_ALL = (AUDIO_DEVICE_IN_COMMUNICATION | | ^ /usr/include/android-7.1/system/audio.h:839:31: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 839 | AUDIO_DEVICE_IN_ALL_SCO = AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:840:32: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 840 | AUDIO_DEVICE_IN_ALL_USB = (AUDIO_DEVICE_IN_USB_ACCESSORY | | ^ /usr/include/android-7.1/system/audio.h:966:12: warning: obsolete use of designated initializer with ':' [-Wpedantic] 966 | version: AUDIO_OFFLOAD_INFO_VERSION_CURRENT, | ^ /usr/include/android-7.1/system/audio.h:967:9: warning: obsolete use of designated initializer with ':' [-Wpedantic] 967 | size: sizeof(audio_offload_info_t), | ^ /usr/include/android-7.1/system/audio.h:968:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 968 | sample_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:969:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 969 | channel_mask: 0, | ^ /usr/include/android-7.1/system/audio.h:970:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 970 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1/system/audio.h:971:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 971 | stream_type: AUDIO_STREAM_VOICE_CALL, | ^ /usr/include/android-7.1/system/audio.h:972:13: warning: obsolete use of designated initializer with ':' [-Wpedantic] 972 | bit_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:973:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 973 | duration_us: 0, | ^ /usr/include/android-7.1/system/audio.h:974:14: warning: obsolete use of designated initializer with ':' [-Wpedantic] 974 | has_video: false, | ^ /usr/include/android-7.1/system/audio.h:975:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 975 | is_streaming: false, | ^ /usr/include/android-7.1/system/audio.h:976:14: warning: obsolete use of designated initializer with ':' [-Wpedantic] 976 | bit_width: 16, | ^ /usr/include/android-7.1/system/audio.h:977:24: warning: obsolete use of designated initializer with ':' [-Wpedantic] 977 | offload_buffer_size: 0, | ^ /usr/include/android-7.1/system/audio.h:978:10: warning: obsolete use of designated initializer with ':' [-Wpedantic] 978 | usage: AUDIO_USAGE_UNKNOWN, | ^ /usr/include/android-7.1/system/audio.h:995:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 995 | sample_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:996:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 996 | channel_mask: AUDIO_CHANNEL_NONE, | ^ /usr/include/android-7.1/system/audio.h:997:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 997 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1/system/audio.h:998:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 998 | offload_info: { | ^ /usr/include/android-7.1/system/audio.h:999:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 999 | version: AUDIO_OFFLOAD_INFO_VERSION_CURRENT, | ^ /usr/include/android-7.1/system/audio.h:1000:13: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1000 | size: sizeof(audio_offload_info_t), | ^ /usr/include/android-7.1/system/audio.h:1001:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1001 | sample_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:1002:21: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1002 | channel_mask: 0, | ^ /usr/include/android-7.1/system/audio.h:1003:15: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1003 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1/system/audio.h:1004:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1004 | stream_type: AUDIO_STREAM_VOICE_CALL, | ^ /usr/include/android-7.1/system/audio.h:1005:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1005 | bit_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:1006:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1006 | duration_us: 0, | ^ /usr/include/android-7.1/system/audio.h:1007:18: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1007 | has_video: false, | ^ /usr/include/android-7.1/system/audio.h:1008:21: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1008 | is_streaming: false | ^ /usr/include/android-7.1/system/audio.h:1010:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1010 | frame_count: 0, | ^ /usr/include/android-7.1/system/audio.h:1022:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1022 | sample_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:1023:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1023 | channel_mask: AUDIO_CHANNEL_NONE, | ^ /usr/include/android-7.1/system/audio.h:1024:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1024 | format: AUDIO_FORMAT_DEFAULT | ^ /usr/include/android-7.1/system/audio.h: In function 'audio_device_address_to_parameter': /usr/include/android-7.1/system/audio.h:1672:5: warning: ISO C90 forbids array 'param' whose size can't be evaluated [-Wvla] 1672 | char param[kSize]; | ^~~~ In file included from /usr/include/android-7.1/hardware/audio_effect.h:24, from /usr/include/android-7.1/hardware/audio.h:30, from ../../src/common/include/droid/version.h:31, from droid-util.c:63: /usr/include/sys/cdefs.h: At top level: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ droid-util.c:90:27: warning: 'droid_combined_auto_inputs' defined but not used [-Wunused-const-variable=] 90 | static const char * const droid_combined_auto_inputs[2] = { "primary", NULL }; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ droid-util.c:89:27: warning: 'droid_combined_auto_outputs' defined but not used [-Wunused-const-variable=] 89 | static const char * const droid_combined_auto_outputs[3] = { "primary", "low_latency", NULL }; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from droid-util.c:64: droid-util.c: In function 'input_stream_set_route': ../../src/common/include/droid/droid-util.h:239:20: warning: inlining failed in call to 'pa_droid_quirk': call is unlikely and code size would grow [-Winline] 239 | static inline bool pa_droid_quirk(pa_droid_hw_module *hw, enum pa_droid_quirk_type quirk) { | ^~~~~~~~~~~~~~ droid-util.c:1694:13: note: called from here 1694 | if (pa_droid_quirk(s->module, QUIRK_INPUT_ATOI)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from droid-util.c:64: ../../src/common/include/droid/droid-util.h:239:20: warning: inlining failed in call to 'pa_droid_quirk': call is unlikely and code size would grow [-Winline] 239 | static inline bool pa_droid_quirk(pa_droid_hw_module *hw, enum pa_droid_quirk_type quirk) { | ^~~~~~~~~~~~~~ droid-util.c:1707:9: note: called from here 1707 | if (pa_droid_quirk(s->module, QUIRK_SET_PARAMETERS)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from droid-util.c:64: droid-util.c: In function 'pa_droid_hw_module_unref': ../../src/common/include/droid/droid-util.h:239:20: warning: inlining failed in call to 'pa_droid_quirk': call is unlikely and code size would grow [-Winline] 239 | static inline bool pa_droid_quirk(pa_droid_hw_module *hw, enum pa_droid_quirk_type quirk) { | ^~~~~~~~~~~~~~ droid-util.c:1152:13: note: called from here 1152 | if (pa_droid_quirk(hw, QUIRK_UNLOAD_CALL_EXIT)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from droid-util.c:64: ../../src/common/include/droid/droid-util.h:239:20: warning: inlining failed in call to 'pa_droid_quirk': call is unlikely and code size would grow [-Winline] 239 | static inline bool pa_droid_quirk(pa_droid_hw_module *hw, enum pa_droid_quirk_type quirk) { | ^~~~~~~~~~~~~~ droid-util.c:1154:19: note: called from here 1154 | else if (!pa_droid_quirk(hw, QUIRK_UNLOAD_NO_CLOSE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from droid-util.c:64: droid-util.c: In function 'pa_droid_stream_suspend': ../../src/common/include/droid/droid-util.h:239:20: warning: inlining failed in call to 'pa_droid_quirk': call is unlikely and code size would grow [-Winline] 239 | static inline bool pa_droid_quirk(pa_droid_hw_module *hw, enum pa_droid_quirk_type quirk) { | ^~~~~~~~~~~~~~ droid-util.c:1826:41: note: called from here 1826 | if (s->input->merged || pa_droid_quirk(s->module, QUIRK_CLOSE_INPUT)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from droid-util.c:64: ../../src/common/include/droid/droid-util.h:239:20: warning: inlining failed in call to 'pa_droid_quirk': call is unlikely and code size would grow [-Winline] 239 | static inline bool pa_droid_quirk(pa_droid_hw_module *hw, enum pa_droid_quirk_type quirk) { | ^~~~~~~~~~~~~~ droid-util.c:1832:40: note: called from here 1832 | } else if (s->input->merged || pa_droid_quirk(s->module, QUIRK_CLOSE_INPUT)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from droid-util.c:64: droid-util.c: In function 'pa_droid_open_input_stream': ../../src/common/include/droid/droid-util.h:239:20: warning: inlining failed in call to 'pa_droid_quirk': call is unlikely and code size would grow [-Winline] 239 | static inline bool pa_droid_quirk(pa_droid_hw_module *hw, enum pa_droid_quirk_type quirk) { | ^~~~~~~~~~~~~~ droid-util.c:1549:31: note: called from here 1549 | if (!s->input->merged && !pa_droid_quirk(module, QUIRK_CLOSE_INPUT)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/android-7.1/hardware/audio.h:23, from ../../src/common/include/droid/version.h:31, from config-parser-legacy.c:34: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1/cutils/bitops.h:23, from /usr/include/android-7.1/hardware/audio.h:26, from ../../src/common/include/droid/version.h:31, from config-parser-legacy.c:34: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1/hardware/hardware.h:21, from /usr/include/android-7.1/hardware/audio.h:28, from ../../src/common/include/droid/version.h:31, from config-parser-legacy.c:34: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1/hardware/hardware.h:23, from /usr/include/android-7.1/hardware/audio.h:28, from ../../src/common/include/droid/version.h:31, from config-parser-legacy.c:34: /usr/include/android-7.1/cutils/native_handle.h:29:9: warning: ISO C forbids zero-size array 'data' [-Wpedantic] 29 | int data[0]; /* numFds + numInts ints */ | ^~~~ In file included from /usr/include/android-7.1/system/audio.h:24, from /usr/include/android-7.1/hardware/audio.h:29, from ../../src/common/include/droid/version.h:31, from config-parser-legacy.c:34: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1/hardware/audio.h:29, from ../../src/common/include/droid/version.h:31, from config-parser-legacy.c:34: /usr/include/android-7.1/system/audio.h:302:40: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 302 | AUDIO_FORMAT_INVALID = 0xFFFFFFFFUL, | ^~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:340:40: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 340 | AUDIO_FORMAT_MAIN_MASK = 0xFF000000UL, /* Deprecated. Use audio_get_main_format() */ | ^~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:411:47: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 411 | AUDIO_CHANNEL_INVALID = 0xC0000000, | ^~~~~~~~~~ /usr/include/android-7.1/system/audio.h:610:32: warning: enumerator value for 'AUDIO_CHANNEL_INDEX_HDR' is not an integer constant expression [-Wpedantic] 610 | AUDIO_CHANNEL_INDEX_HDR = AUDIO_CHANNEL_REPRESENTATION_INDEX << AUDIO_CHANNEL_COUNT_MAX, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:706:50: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 706 | AUDIO_DEVICE_BIT_IN = 0x80000000, | ^~~~~~~~~~ /usr/include/android-7.1/system/audio.h:784:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 784 | AUDIO_DEVICE_IN_COMMUNICATION = AUDIO_DEVICE_BIT_IN | 0x1, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:785:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 785 | AUDIO_DEVICE_IN_AMBIENT = AUDIO_DEVICE_BIT_IN | 0x2, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:786:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 786 | AUDIO_DEVICE_IN_BUILTIN_MIC = AUDIO_DEVICE_BIT_IN | 0x4, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:787:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 787 | AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET = AUDIO_DEVICE_BIT_IN | 0x8, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:788:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 788 | AUDIO_DEVICE_IN_WIRED_HEADSET = AUDIO_DEVICE_BIT_IN | 0x10, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:789:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 789 | AUDIO_DEVICE_IN_AUX_DIGITAL = AUDIO_DEVICE_BIT_IN | 0x20, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:790:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 790 | AUDIO_DEVICE_IN_HDMI = AUDIO_DEVICE_IN_AUX_DIGITAL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:792:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 792 | AUDIO_DEVICE_IN_VOICE_CALL = AUDIO_DEVICE_BIT_IN | 0x40, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:793:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 793 | AUDIO_DEVICE_IN_TELEPHONY_RX = AUDIO_DEVICE_IN_VOICE_CALL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:794:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 794 | AUDIO_DEVICE_IN_BACK_MIC = AUDIO_DEVICE_BIT_IN | 0x80, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:795:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 795 | AUDIO_DEVICE_IN_REMOTE_SUBMIX = AUDIO_DEVICE_BIT_IN | 0x100, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:796:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 796 | AUDIO_DEVICE_IN_ANLG_DOCK_HEADSET = AUDIO_DEVICE_BIT_IN | 0x200, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:797:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 797 | AUDIO_DEVICE_IN_DGTL_DOCK_HEADSET = AUDIO_DEVICE_BIT_IN | 0x400, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:798:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 798 | AUDIO_DEVICE_IN_USB_ACCESSORY = AUDIO_DEVICE_BIT_IN | 0x800, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:799:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 799 | AUDIO_DEVICE_IN_USB_DEVICE = AUDIO_DEVICE_BIT_IN | 0x1000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:801:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 801 | AUDIO_DEVICE_IN_FM_TUNER = AUDIO_DEVICE_BIT_IN | 0x2000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:803:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 803 | AUDIO_DEVICE_IN_TV_TUNER = AUDIO_DEVICE_BIT_IN | 0x4000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:805:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 805 | AUDIO_DEVICE_IN_LINE = AUDIO_DEVICE_BIT_IN | 0x8000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:807:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 807 | AUDIO_DEVICE_IN_SPDIF = AUDIO_DEVICE_BIT_IN | 0x10000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:808:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 808 | AUDIO_DEVICE_IN_BLUETOOTH_A2DP = AUDIO_DEVICE_BIT_IN | 0x20000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:809:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 809 | AUDIO_DEVICE_IN_LOOPBACK = AUDIO_DEVICE_BIT_IN | 0x40000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:810:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 810 | AUDIO_DEVICE_IN_IP = AUDIO_DEVICE_BIT_IN | 0x80000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:812:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 812 | AUDIO_DEVICE_IN_BUS = AUDIO_DEVICE_BIT_IN | 0x100000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:813:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 813 | AUDIO_DEVICE_IN_PROXY = AUDIO_DEVICE_BIT_IN | 0x1000000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:814:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 814 | AUDIO_DEVICE_IN_DEFAULT = AUDIO_DEVICE_BIT_IN | AUDIO_DEVICE_BIT_DEFAULT, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:816:31: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 816 | AUDIO_DEVICE_IN_ALL = (AUDIO_DEVICE_IN_COMMUNICATION | | ^ /usr/include/android-7.1/system/audio.h:839:31: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 839 | AUDIO_DEVICE_IN_ALL_SCO = AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:840:32: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 840 | AUDIO_DEVICE_IN_ALL_USB = (AUDIO_DEVICE_IN_USB_ACCESSORY | | ^ /usr/include/android-7.1/system/audio.h:966:12: warning: obsolete use of designated initializer with ':' [-Wpedantic] 966 | version: AUDIO_OFFLOAD_INFO_VERSION_CURRENT, | ^ /usr/include/android-7.1/system/audio.h:967:9: warning: obsolete use of designated initializer with ':' [-Wpedantic] 967 | size: sizeof(audio_offload_info_t), | ^ /usr/include/android-7.1/system/audio.h:968:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 968 | sample_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:969:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 969 | channel_mask: 0, | ^ /usr/include/android-7.1/system/audio.h:970:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 970 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1/system/audio.h:971:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 971 | stream_type: AUDIO_STREAM_VOICE_CALL, | ^ /usr/include/android-7.1/system/audio.h:972:13: warning: obsolete use of designated initializer with ':' [-Wpedantic] 972 | bit_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:973:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 973 | duration_us: 0, | ^ /usr/include/android-7.1/system/audio.h:974:14: warning: obsolete use of designated initializer with ':' [-Wpedantic] 974 | has_video: false, | ^ /usr/include/android-7.1/system/audio.h:975:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 975 | is_streaming: false, | ^ /usr/include/android-7.1/system/audio.h:976:14: warning: obsolete use of designated initializer with ':' [-Wpedantic] 976 | bit_width: 16, | ^ /usr/include/android-7.1/system/audio.h:977:24: warning: obsolete use of designated initializer with ':' [-Wpedantic] 977 | offload_buffer_size: 0, | ^ /usr/include/android-7.1/system/audio.h:978:10: warning: obsolete use of designated initializer with ':' [-Wpedantic] 978 | usage: AUDIO_USAGE_UNKNOWN, | ^ /usr/include/android-7.1/system/audio.h:995:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 995 | sample_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:996:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 996 | channel_mask: AUDIO_CHANNEL_NONE, | ^ /usr/include/android-7.1/system/audio.h:997:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 997 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1/system/audio.h:998:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 998 | offload_info: { | ^ /usr/include/android-7.1/system/audio.h:999:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 999 | version: AUDIO_OFFLOAD_INFO_VERSION_CURRENT, | ^ /usr/include/android-7.1/system/audio.h:1000:13: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1000 | size: sizeof(audio_offload_info_t), | ^ /usr/include/android-7.1/system/audio.h:1001:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1001 | sample_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:1002:21: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1002 | channel_mask: 0, | ^ /usr/include/android-7.1/system/audio.h:1003:15: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1003 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1/system/audio.h:1004:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1004 | stream_type: AUDIO_STREAM_VOICE_CALL, | ^ /usr/include/android-7.1/system/audio.h:1005:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1005 | bit_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:1006:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1006 | duration_us: 0, | ^ /usr/include/android-7.1/system/audio.h:1007:18: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1007 | has_video: false, | ^ /usr/include/android-7.1/system/audio.h:1008:21: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1008 | is_streaming: false | ^ /usr/include/android-7.1/system/audio.h:1010:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1010 | frame_count: 0, | ^ /usr/include/android-7.1/system/audio.h:1022:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1022 | sample_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:1023:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1023 | channel_mask: AUDIO_CHANNEL_NONE, | ^ /usr/include/android-7.1/system/audio.h:1024:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1024 | format: AUDIO_FORMAT_DEFAULT | ^ /usr/include/android-7.1/system/audio.h: In function 'audio_device_address_to_parameter': /usr/include/android-7.1/system/audio.h:1672:5: warning: ISO C90 forbids array 'param' whose size can't be evaluated [-Wvla] 1672 | char param[kSize]; | ^~~~ In file included from /usr/include/android-7.1/hardware/audio_effect.h:24, from /usr/include/android-7.1/hardware/audio.h:30, from ../../src/common/include/droid/version.h:31, from config-parser-legacy.c:34: /usr/include/sys/cdefs.h: At top level: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1/hardware/audio.h:23, from ../../src/common/include/droid/droid-config.h:31, from config-parser-xml.c:27: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1/cutils/bitops.h:23, from /usr/include/android-7.1/hardware/audio.h:26, from ../../src/common/include/droid/droid-config.h:31, from config-parser-xml.c:27: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1/hardware/hardware.h:21, from /usr/include/android-7.1/hardware/audio.h:28, from ../../src/common/include/droid/droid-config.h:31, from config-parser-xml.c:27: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1/hardware/hardware.h:23, from /usr/include/android-7.1/hardware/audio.h:28, from ../../src/common/include/droid/droid-config.h:31, from config-parser-xml.c:27: /usr/include/android-7.1/cutils/native_handle.h:29:9: warning: ISO C forbids zero-size array 'data' [-Wpedantic] 29 | int data[0]; /* numFds + numInts ints */ | ^~~~ In file included from /usr/include/android-7.1/system/audio.h:24, from /usr/include/android-7.1/hardware/audio.h:29, from ../../src/common/include/droid/droid-config.h:31, from config-parser-xml.c:27: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1/hardware/audio.h:29, from ../../src/common/include/droid/droid-config.h:31, from config-parser-xml.c:27: /usr/include/android-7.1/system/audio.h:302:40: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 302 | AUDIO_FORMAT_INVALID = 0xFFFFFFFFUL, | ^~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:340:40: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 340 | AUDIO_FORMAT_MAIN_MASK = 0xFF000000UL, /* Deprecated. Use audio_get_main_format() */ | ^~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:411:47: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 411 | AUDIO_CHANNEL_INVALID = 0xC0000000, | ^~~~~~~~~~ /usr/include/android-7.1/system/audio.h:610:32: warning: enumerator value for 'AUDIO_CHANNEL_INDEX_HDR' is not an integer constant expression [-Wpedantic] 610 | AUDIO_CHANNEL_INDEX_HDR = AUDIO_CHANNEL_REPRESENTATION_INDEX << AUDIO_CHANNEL_COUNT_MAX, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:706:50: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 706 | AUDIO_DEVICE_BIT_IN = 0x80000000, | ^~~~~~~~~~ /usr/include/android-7.1/system/audio.h:784:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 784 | AUDIO_DEVICE_IN_COMMUNICATION = AUDIO_DEVICE_BIT_IN | 0x1, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:785:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 785 | AUDIO_DEVICE_IN_AMBIENT = AUDIO_DEVICE_BIT_IN | 0x2, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:786:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 786 | AUDIO_DEVICE_IN_BUILTIN_MIC = AUDIO_DEVICE_BIT_IN | 0x4, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:787:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 787 | AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET = AUDIO_DEVICE_BIT_IN | 0x8, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:788:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 788 | AUDIO_DEVICE_IN_WIRED_HEADSET = AUDIO_DEVICE_BIT_IN | 0x10, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:789:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 789 | AUDIO_DEVICE_IN_AUX_DIGITAL = AUDIO_DEVICE_BIT_IN | 0x20, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:790:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 790 | AUDIO_DEVICE_IN_HDMI = AUDIO_DEVICE_IN_AUX_DIGITAL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:792:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 792 | AUDIO_DEVICE_IN_VOICE_CALL = AUDIO_DEVICE_BIT_IN | 0x40, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:793:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 793 | AUDIO_DEVICE_IN_TELEPHONY_RX = AUDIO_DEVICE_IN_VOICE_CALL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:794:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 794 | AUDIO_DEVICE_IN_BACK_MIC = AUDIO_DEVICE_BIT_IN | 0x80, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:795:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 795 | AUDIO_DEVICE_IN_REMOTE_SUBMIX = AUDIO_DEVICE_BIT_IN | 0x100, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:796:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 796 | AUDIO_DEVICE_IN_ANLG_DOCK_HEADSET = AUDIO_DEVICE_BIT_IN | 0x200, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:797:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 797 | AUDIO_DEVICE_IN_DGTL_DOCK_HEADSET = AUDIO_DEVICE_BIT_IN | 0x400, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:798:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 798 | AUDIO_DEVICE_IN_USB_ACCESSORY = AUDIO_DEVICE_BIT_IN | 0x800, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:799:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 799 | AUDIO_DEVICE_IN_USB_DEVICE = AUDIO_DEVICE_BIT_IN | 0x1000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:801:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 801 | AUDIO_DEVICE_IN_FM_TUNER = AUDIO_DEVICE_BIT_IN | 0x2000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:803:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 803 | AUDIO_DEVICE_IN_TV_TUNER = AUDIO_DEVICE_BIT_IN | 0x4000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:805:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 805 | AUDIO_DEVICE_IN_LINE = AUDIO_DEVICE_BIT_IN | 0x8000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:807:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 807 | AUDIO_DEVICE_IN_SPDIF = AUDIO_DEVICE_BIT_IN | 0x10000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:808:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 808 | AUDIO_DEVICE_IN_BLUETOOTH_A2DP = AUDIO_DEVICE_BIT_IN | 0x20000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:809:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 809 | AUDIO_DEVICE_IN_LOOPBACK = AUDIO_DEVICE_BIT_IN | 0x40000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:810:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 810 | AUDIO_DEVICE_IN_IP = AUDIO_DEVICE_BIT_IN | 0x80000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:812:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 812 | AUDIO_DEVICE_IN_BUS = AUDIO_DEVICE_BIT_IN | 0x100000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:813:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 813 | AUDIO_DEVICE_IN_PROXY = AUDIO_DEVICE_BIT_IN | 0x1000000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:814:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 814 | AUDIO_DEVICE_IN_DEFAULT = AUDIO_DEVICE_BIT_IN | AUDIO_DEVICE_BIT_DEFAULT, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:816:31: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 816 | AUDIO_DEVICE_IN_ALL = (AUDIO_DEVICE_IN_COMMUNICATION | | ^ /usr/include/android-7.1/system/audio.h:839:31: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 839 | AUDIO_DEVICE_IN_ALL_SCO = AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:840:32: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 840 | AUDIO_DEVICE_IN_ALL_USB = (AUDIO_DEVICE_IN_USB_ACCESSORY | | ^ /usr/include/android-7.1/system/audio.h:966:12: warning: obsolete use of designated initializer with ':' [-Wpedantic] 966 | version: AUDIO_OFFLOAD_INFO_VERSION_CURRENT, | ^ /usr/include/android-7.1/system/audio.h:967:9: warning: obsolete use of designated initializer with ':' [-Wpedantic] 967 | size: sizeof(audio_offload_info_t), | ^ /usr/include/android-7.1/system/audio.h:968:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 968 | sample_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:969:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 969 | channel_mask: 0, | ^ /usr/include/android-7.1/system/audio.h:970:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 970 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1/system/audio.h:971:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 971 | stream_type: AUDIO_STREAM_VOICE_CALL, | ^ /usr/include/android-7.1/system/audio.h:972:13: warning: obsolete use of designated initializer with ':' [-Wpedantic] 972 | bit_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:973:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 973 | duration_us: 0, | ^ /usr/include/android-7.1/system/audio.h:974:14: warning: obsolete use of designated initializer with ':' [-Wpedantic] 974 | has_video: false, | ^ /usr/include/android-7.1/system/audio.h:975:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 975 | is_streaming: false, | ^ /usr/include/android-7.1/system/audio.h:976:14: warning: obsolete use of designated initializer with ':' [-Wpedantic] 976 | bit_width: 16, | ^ /usr/include/android-7.1/system/audio.h:977:24: warning: obsolete use of designated initializer with ':' [-Wpedantic] 977 | offload_buffer_size: 0, | ^ /usr/include/android-7.1/system/audio.h:978:10: warning: obsolete use of designated initializer with ':' [-Wpedantic] 978 | usage: AUDIO_USAGE_UNKNOWN, | ^ /usr/include/android-7.1/system/audio.h:995:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 995 | sample_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:996:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 996 | channel_mask: AUDIO_CHANNEL_NONE, | ^ /usr/include/android-7.1/system/audio.h:997:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 997 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1/system/audio.h:998:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 998 | offload_info: { | ^ /usr/include/android-7.1/system/audio.h:999:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 999 | version: AUDIO_OFFLOAD_INFO_VERSION_CURRENT, | ^ /usr/include/android-7.1/system/audio.h:1000:13: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1000 | size: sizeof(audio_offload_info_t), | ^ /usr/include/android-7.1/system/audio.h:1001:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1001 | sample_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:1002:21: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1002 | channel_mask: 0, | ^ /usr/include/android-7.1/system/audio.h:1003:15: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1003 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1/system/audio.h:1004:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1004 | stream_type: AUDIO_STREAM_VOICE_CALL, | ^ /usr/include/android-7.1/system/audio.h:1005:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1005 | bit_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:1006:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1006 | duration_us: 0, | ^ /usr/include/android-7.1/system/audio.h:1007:18: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1007 | has_video: false, | ^ /usr/include/android-7.1/system/audio.h:1008:21: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1008 | is_streaming: false | ^ /usr/include/android-7.1/system/audio.h:1010:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1010 | frame_count: 0, | ^ /usr/include/android-7.1/system/audio.h:1022:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1022 | sample_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:1023:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1023 | channel_mask: AUDIO_CHANNEL_NONE, | ^ /usr/include/android-7.1/system/audio.h:1024:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1024 | format: AUDIO_FORMAT_DEFAULT | ^ /usr/include/android-7.1/system/audio.h: In function 'audio_device_address_to_parameter': /usr/include/android-7.1/system/audio.h:1672:5: warning: ISO C90 forbids array 'param' whose size can't be evaluated [-Wvla] 1672 | char param[kSize]; | ^~~~ In file included from /usr/include/android-7.1/hardware/audio_effect.h:24, from /usr/include/android-7.1/hardware/audio.h:30, from ../../src/common/include/droid/droid-config.h:31, from config-parser-xml.c:27: /usr/include/sys/cdefs.h: At top level: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ CCLD libdroid-util.la make[3]: Leaving directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src/common' Making all in droid make[3]: Entering directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src/droid' CC module_droid_keepalive_la-keepalive.lo CC libdroid_source_la-droid-source.lo CC libdroid_sink_la-droid-sink.lo CC module_droid_keepalive_la-module-droid-keepalive.lo In file included from /usr/include/android-7.1/hardware/audio.h:23, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from droid-sink.h:44, from droid-sink.c:59: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1/cutils/bitops.h:23, from /usr/include/android-7.1/hardware/audio.h:26, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from droid-sink.h:44, from droid-sink.c:59: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1/hardware/hardware.h:21, from /usr/include/android-7.1/hardware/audio.h:28, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from droid-sink.h:44, from droid-sink.c:59: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1/hardware/hardware.h:23, from /usr/include/android-7.1/hardware/audio.h:28, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from droid-sink.h:44, from droid-sink.c:59: /usr/include/android-7.1/cutils/native_handle.h:29:9: warning: ISO C forbids zero-size array 'data' [-Wpedantic] 29 | int data[0]; /* numFds + numInts ints */ | ^~~~ In file included from /usr/include/android-7.1/system/audio.h:24, from /usr/include/android-7.1/hardware/audio.h:29, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from droid-sink.h:44, from droid-sink.c:59: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1/hardware/audio.h:29, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from droid-sink.h:44, from droid-sink.c:59: /usr/include/android-7.1/system/audio.h:302:40: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 302 | AUDIO_FORMAT_INVALID = 0xFFFFFFFFUL, | ^~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:340:40: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 340 | AUDIO_FORMAT_MAIN_MASK = 0xFF000000UL, /* Deprecated. Use audio_get_main_format() */ | ^~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:411:47: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 411 | AUDIO_CHANNEL_INVALID = 0xC0000000, | ^~~~~~~~~~ /usr/include/android-7.1/system/audio.h:610:32: warning: enumerator value for 'AUDIO_CHANNEL_INDEX_HDR' is not an integer constant expression [-Wpedantic] 610 | AUDIO_CHANNEL_INDEX_HDR = AUDIO_CHANNEL_REPRESENTATION_INDEX << AUDIO_CHANNEL_COUNT_MAX, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:706:50: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 706 | AUDIO_DEVICE_BIT_IN = 0x80000000, | ^~~~~~~~~~ /usr/include/android-7.1/system/audio.h:784:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 784 | AUDIO_DEVICE_IN_COMMUNICATION = AUDIO_DEVICE_BIT_IN | 0x1, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:785:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 785 | AUDIO_DEVICE_IN_AMBIENT = AUDIO_DEVICE_BIT_IN | 0x2, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:786:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 786 | AUDIO_DEVICE_IN_BUILTIN_MIC = AUDIO_DEVICE_BIT_IN | 0x4, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:787:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 787 | AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET = AUDIO_DEVICE_BIT_IN | 0x8, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:788:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 788 | AUDIO_DEVICE_IN_WIRED_HEADSET = AUDIO_DEVICE_BIT_IN | 0x10, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:789:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 789 | AUDIO_DEVICE_IN_AUX_DIGITAL = AUDIO_DEVICE_BIT_IN | 0x20, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:790:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 790 | AUDIO_DEVICE_IN_HDMI = AUDIO_DEVICE_IN_AUX_DIGITAL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:792:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 792 | AUDIO_DEVICE_IN_VOICE_CALL = AUDIO_DEVICE_BIT_IN | 0x40, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:793:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 793 | AUDIO_DEVICE_IN_TELEPHONY_RX = AUDIO_DEVICE_IN_VOICE_CALL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:794:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 794 | AUDIO_DEVICE_IN_BACK_MIC = AUDIO_DEVICE_BIT_IN | 0x80, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:795:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 795 | AUDIO_DEVICE_IN_REMOTE_SUBMIX = AUDIO_DEVICE_BIT_IN | 0x100, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:796:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 796 | AUDIO_DEVICE_IN_ANLG_DOCK_HEADSET = AUDIO_DEVICE_BIT_IN | 0x200, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:797:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 797 | AUDIO_DEVICE_IN_DGTL_DOCK_HEADSET = AUDIO_DEVICE_BIT_IN | 0x400, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:798:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 798 | AUDIO_DEVICE_IN_USB_ACCESSORY = AUDIO_DEVICE_BIT_IN | 0x800, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:799:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 799 | AUDIO_DEVICE_IN_USB_DEVICE = AUDIO_DEVICE_BIT_IN | 0x1000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:801:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 801 | AUDIO_DEVICE_IN_FM_TUNER = AUDIO_DEVICE_BIT_IN | 0x2000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:803:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 803 | AUDIO_DEVICE_IN_TV_TUNER = AUDIO_DEVICE_BIT_IN | 0x4000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:805:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 805 | AUDIO_DEVICE_IN_LINE = AUDIO_DEVICE_BIT_IN | 0x8000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:807:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 807 | AUDIO_DEVICE_IN_SPDIF = AUDIO_DEVICE_BIT_IN | 0x10000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:808:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 808 | AUDIO_DEVICE_IN_BLUETOOTH_A2DP = AUDIO_DEVICE_BIT_IN | 0x20000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:809:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 809 | AUDIO_DEVICE_IN_LOOPBACK = AUDIO_DEVICE_BIT_IN | 0x40000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:810:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 810 | AUDIO_DEVICE_IN_IP = AUDIO_DEVICE_BIT_IN | 0x80000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:812:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 812 | AUDIO_DEVICE_IN_BUS = AUDIO_DEVICE_BIT_IN | 0x100000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:813:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 813 | AUDIO_DEVICE_IN_PROXY = AUDIO_DEVICE_BIT_IN | 0x1000000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:814:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 814 | AUDIO_DEVICE_IN_DEFAULT = AUDIO_DEVICE_BIT_IN | AUDIO_DEVICE_BIT_DEFAULT, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:816:31: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 816 | AUDIO_DEVICE_IN_ALL = (AUDIO_DEVICE_IN_COMMUNICATION | | ^ /usr/include/android-7.1/system/audio.h:839:31: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 839 | AUDIO_DEVICE_IN_ALL_SCO = AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:840:32: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 840 | AUDIO_DEVICE_IN_ALL_USB = (AUDIO_DEVICE_IN_USB_ACCESSORY | | ^ /usr/include/android-7.1/system/audio.h:966:12: warning: obsolete use of designated initializer with ':' [-Wpedantic] 966 | version: AUDIO_OFFLOAD_INFO_VERSION_CURRENT, | ^ /usr/include/android-7.1/system/audio.h:967:9: warning: obsolete use of designated initializer with ':' [-Wpedantic] 967 | size: sizeof(audio_offload_info_t), | ^ /usr/include/android-7.1/system/audio.h:968:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 968 | sample_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:969:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 969 | channel_mask: 0, | ^ /usr/include/android-7.1/system/audio.h:970:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 970 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1/system/audio.h:971:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 971 | stream_type: AUDIO_STREAM_VOICE_CALL, | ^ /usr/include/android-7.1/system/audio.h:972:13: warning: obsolete use of designated initializer with ':' [-Wpedantic] 972 | bit_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:973:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 973 | duration_us: 0, | ^ /usr/include/android-7.1/system/audio.h:974:14: warning: obsolete use of designated initializer with ':' [-Wpedantic] 974 | has_video: false, | ^ /usr/include/android-7.1/system/audio.h:975:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 975 | is_streaming: false, | ^ /usr/include/android-7.1/system/audio.h:976:14: warning: obsolete use of designated initializer with ':' [-Wpedantic] 976 | bit_width: 16, | ^ /usr/include/android-7.1/system/audio.h:977:24: warning: obsolete use of designated initializer with ':' [-Wpedantic] 977 | offload_buffer_size: 0, | ^ /usr/include/android-7.1/system/audio.h:978:10: warning: obsolete use of designated initializer with ':' [-Wpedantic] 978 | usage: AUDIO_USAGE_UNKNOWN, | ^ /usr/include/android-7.1/system/audio.h:995:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 995 | sample_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:996:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 996 | channel_mask: AUDIO_CHANNEL_NONE, | ^ /usr/include/android-7.1/system/audio.h:997:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 997 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1/system/audio.h:998:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 998 | offload_info: { | ^ /usr/include/android-7.1/system/audio.h:999:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 999 | version: AUDIO_OFFLOAD_INFO_VERSION_CURRENT, | ^ /usr/include/android-7.1/system/audio.h:1000:13: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1000 | size: sizeof(audio_offload_info_t), | ^ /usr/include/android-7.1/system/audio.h:1001:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1001 | sample_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:1002:21: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1002 | channel_mask: 0, | ^ /usr/include/android-7.1/system/audio.h:1003:15: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1003 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1/system/audio.h:1004:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1004 | stream_type: AUDIO_STREAM_VOICE_CALL, | ^ /usr/include/android-7.1/system/audio.h:1005:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1005 | bit_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:1006:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1006 | duration_us: 0, | ^ /usr/include/android-7.1/system/audio.h:1007:18: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1007 | has_video: false, | ^ /usr/include/android-7.1/system/audio.h:1008:21: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1008 | is_streaming: false | ^ /usr/include/android-7.1/system/audio.h:1010:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1010 | frame_count: 0, | ^ /usr/include/android-7.1/system/audio.h:1022:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1022 | sample_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:1023:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1023 | channel_mask: AUDIO_CHANNEL_NONE, | ^ /usr/include/android-7.1/system/audio.h:1024:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1024 | format: AUDIO_FORMAT_DEFAULT | ^ /usr/include/android-7.1/system/audio.h: In function 'audio_device_address_to_parameter': /usr/include/android-7.1/system/audio.h:1672:5: warning: ISO C90 forbids array 'param' whose size can't be evaluated [-Wvla] 1672 | char param[kSize]; | ^~~~ In file included from /usr/include/android-7.1/hardware/audio_effect.h:24, from /usr/include/android-7.1/hardware/audio.h:30, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from droid-sink.h:44, from droid-sink.c:59: /usr/include/sys/cdefs.h: At top level: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ droid-sink.c: In function 'thread_func': droid-sink.c:376:9: warning: implicit declaration of function 'pa_thread_make_realtime' [-Wimplicit-function-declaration] 376 | pa_thread_make_realtime(u->core->realtime_priority); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/android-7.1/hardware/audio.h:23, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from droid-source.h:44, from droid-source.c:56: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1/cutils/bitops.h:23, from /usr/include/android-7.1/hardware/audio.h:26, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from droid-source.h:44, from droid-source.c:56: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1/hardware/hardware.h:21, from /usr/include/android-7.1/hardware/audio.h:28, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from droid-source.h:44, from droid-source.c:56: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1/hardware/hardware.h:23, from /usr/include/android-7.1/hardware/audio.h:28, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from droid-source.h:44, from droid-source.c:56: /usr/include/android-7.1/cutils/native_handle.h:29:9: warning: ISO C forbids zero-size array 'data' [-Wpedantic] 29 | int data[0]; /* numFds + numInts ints */ | ^~~~ In file included from /usr/include/android-7.1/system/audio.h:24, from /usr/include/android-7.1/hardware/audio.h:29, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from droid-source.h:44, from droid-source.c:56: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1/hardware/audio.h:29, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from droid-source.h:44, from droid-source.c:56: /usr/include/android-7.1/system/audio.h:302:40: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 302 | AUDIO_FORMAT_INVALID = 0xFFFFFFFFUL, | ^~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:340:40: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 340 | AUDIO_FORMAT_MAIN_MASK = 0xFF000000UL, /* Deprecated. Use audio_get_main_format() */ | ^~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:411:47: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 411 | AUDIO_CHANNEL_INVALID = 0xC0000000, | ^~~~~~~~~~ /usr/include/android-7.1/system/audio.h:610:32: warning: enumerator value for 'AUDIO_CHANNEL_INDEX_HDR' is not an integer constant expression [-Wpedantic] 610 | AUDIO_CHANNEL_INDEX_HDR = AUDIO_CHANNEL_REPRESENTATION_INDEX << AUDIO_CHANNEL_COUNT_MAX, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:706:50: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 706 | AUDIO_DEVICE_BIT_IN = 0x80000000, | ^~~~~~~~~~ /usr/include/android-7.1/system/audio.h:784:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 784 | AUDIO_DEVICE_IN_COMMUNICATION = AUDIO_DEVICE_BIT_IN | 0x1, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:785:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 785 | AUDIO_DEVICE_IN_AMBIENT = AUDIO_DEVICE_BIT_IN | 0x2, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:786:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 786 | AUDIO_DEVICE_IN_BUILTIN_MIC = AUDIO_DEVICE_BIT_IN | 0x4, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:787:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 787 | AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET = AUDIO_DEVICE_BIT_IN | 0x8, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:788:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 788 | AUDIO_DEVICE_IN_WIRED_HEADSET = AUDIO_DEVICE_BIT_IN | 0x10, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:789:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 789 | AUDIO_DEVICE_IN_AUX_DIGITAL = AUDIO_DEVICE_BIT_IN | 0x20, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:790:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 790 | AUDIO_DEVICE_IN_HDMI = AUDIO_DEVICE_IN_AUX_DIGITAL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:792:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 792 | AUDIO_DEVICE_IN_VOICE_CALL = AUDIO_DEVICE_BIT_IN | 0x40, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:793:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 793 | AUDIO_DEVICE_IN_TELEPHONY_RX = AUDIO_DEVICE_IN_VOICE_CALL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:794:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 794 | AUDIO_DEVICE_IN_BACK_MIC = AUDIO_DEVICE_BIT_IN | 0x80, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:795:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 795 | AUDIO_DEVICE_IN_REMOTE_SUBMIX = AUDIO_DEVICE_BIT_IN | 0x100, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:796:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 796 | AUDIO_DEVICE_IN_ANLG_DOCK_HEADSET = AUDIO_DEVICE_BIT_IN | 0x200, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:797:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 797 | AUDIO_DEVICE_IN_DGTL_DOCK_HEADSET = AUDIO_DEVICE_BIT_IN | 0x400, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:798:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 798 | AUDIO_DEVICE_IN_USB_ACCESSORY = AUDIO_DEVICE_BIT_IN | 0x800, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:799:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 799 | AUDIO_DEVICE_IN_USB_DEVICE = AUDIO_DEVICE_BIT_IN | 0x1000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:801:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 801 | AUDIO_DEVICE_IN_FM_TUNER = AUDIO_DEVICE_BIT_IN | 0x2000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:803:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 803 | AUDIO_DEVICE_IN_TV_TUNER = AUDIO_DEVICE_BIT_IN | 0x4000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:805:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 805 | AUDIO_DEVICE_IN_LINE = AUDIO_DEVICE_BIT_IN | 0x8000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:807:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 807 | AUDIO_DEVICE_IN_SPDIF = AUDIO_DEVICE_BIT_IN | 0x10000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:808:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 808 | AUDIO_DEVICE_IN_BLUETOOTH_A2DP = AUDIO_DEVICE_BIT_IN | 0x20000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:809:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 809 | AUDIO_DEVICE_IN_LOOPBACK = AUDIO_DEVICE_BIT_IN | 0x40000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:810:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 810 | AUDIO_DEVICE_IN_IP = AUDIO_DEVICE_BIT_IN | 0x80000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:812:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 812 | AUDIO_DEVICE_IN_BUS = AUDIO_DEVICE_BIT_IN | 0x100000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:813:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 813 | AUDIO_DEVICE_IN_PROXY = AUDIO_DEVICE_BIT_IN | 0x1000000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:814:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 814 | AUDIO_DEVICE_IN_DEFAULT = AUDIO_DEVICE_BIT_IN | AUDIO_DEVICE_BIT_DEFAULT, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:816:31: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 816 | AUDIO_DEVICE_IN_ALL = (AUDIO_DEVICE_IN_COMMUNICATION | | ^ /usr/include/android-7.1/system/audio.h:839:31: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 839 | AUDIO_DEVICE_IN_ALL_SCO = AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:840:32: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 840 | AUDIO_DEVICE_IN_ALL_USB = (AUDIO_DEVICE_IN_USB_ACCESSORY | | ^ /usr/include/android-7.1/system/audio.h:966:12: warning: obsolete use of designated initializer with ':' [-Wpedantic] 966 | version: AUDIO_OFFLOAD_INFO_VERSION_CURRENT, | ^ /usr/include/android-7.1/system/audio.h:967:9: warning: obsolete use of designated initializer with ':' [-Wpedantic] 967 | size: sizeof(audio_offload_info_t), | ^ /usr/include/android-7.1/system/audio.h:968:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 968 | sample_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:969:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 969 | channel_mask: 0, | ^ /usr/include/android-7.1/system/audio.h:970:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 970 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1/system/audio.h:971:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 971 | stream_type: AUDIO_STREAM_VOICE_CALL, | ^ /usr/include/android-7.1/system/audio.h:972:13: warning: obsolete use of designated initializer with ':' [-Wpedantic] 972 | bit_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:973:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 973 | duration_us: 0, | ^ /usr/include/android-7.1/system/audio.h:974:14: warning: obsolete use of designated initializer with ':' [-Wpedantic] 974 | has_video: false, | ^ /usr/include/android-7.1/system/audio.h:975:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 975 | is_streaming: false, | ^ /usr/include/android-7.1/system/audio.h:976:14: warning: obsolete use of designated initializer with ':' [-Wpedantic] 976 | bit_width: 16, | ^ /usr/include/android-7.1/system/audio.h:977:24: warning: obsolete use of designated initializer with ':' [-Wpedantic] 977 | offload_buffer_size: 0, | ^ /usr/include/android-7.1/system/audio.h:978:10: warning: obsolete use of designated initializer with ':' [-Wpedantic] 978 | usage: AUDIO_USAGE_UNKNOWN, | ^ /usr/include/android-7.1/system/audio.h:995:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 995 | sample_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:996:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 996 | channel_mask: AUDIO_CHANNEL_NONE, | ^ /usr/include/android-7.1/system/audio.h:997:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 997 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1/system/audio.h:998:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 998 | offload_info: { | ^ /usr/include/android-7.1/system/audio.h:999:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 999 | version: AUDIO_OFFLOAD_INFO_VERSION_CURRENT, | ^ /usr/include/android-7.1/system/audio.h:1000:13: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1000 | size: sizeof(audio_offload_info_t), | ^ /usr/include/android-7.1/system/audio.h:1001:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1001 | sample_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:1002:21: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1002 | channel_mask: 0, | ^ /usr/include/android-7.1/system/audio.h:1003:15: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1003 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1/system/audio.h:1004:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1004 | stream_type: AUDIO_STREAM_VOICE_CALL, | ^ /usr/include/android-7.1/system/audio.h:1005:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1005 | bit_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:1006:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1006 | duration_us: 0, | ^ /usr/include/android-7.1/system/audio.h:1007:18: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1007 | has_video: false, | ^ /usr/include/android-7.1/system/audio.h:1008:21: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1008 | is_streaming: false | ^ /usr/include/android-7.1/system/audio.h:1010:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1010 | frame_count: 0, | ^ /usr/include/android-7.1/system/audio.h:1022:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1022 | sample_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:1023:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1023 | channel_mask: AUDIO_CHANNEL_NONE, | ^ /usr/include/android-7.1/system/audio.h:1024:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1024 | format: AUDIO_FORMAT_DEFAULT | ^ /usr/include/android-7.1/system/audio.h: In function 'audio_device_address_to_parameter': /usr/include/android-7.1/system/audio.h:1672:5: warning: ISO C90 forbids array 'param' whose size can't be evaluated [-Wvla] 1672 | char param[kSize]; | ^~~~ In file included from /usr/include/android-7.1/hardware/audio_effect.h:24, from /usr/include/android-7.1/hardware/audio.h:30, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from droid-source.h:44, from droid-source.c:56: /usr/include/sys/cdefs.h: At top level: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ droid-source.c: In function 'thread_func': droid-source.c:213:9: warning: implicit declaration of function 'pa_thread_make_realtime' [-Wimplicit-function-declaration] 213 | pa_thread_make_realtime(u->core->realtime_priority); | ^~~~~~~~~~~~~~~~~~~~~~~ CC module_droid_sink_la-module-droid-sink.lo CC module_droid_source_la-module-droid-source.lo module-droid-keepalive.c:58:26: warning: 'valid_modargs' defined but not used [-Wunused-const-variable=] 58 | static const char* const valid_modargs[] = { | ^~~~~~~~~~~~~ In file included from /usr/include/android-7.1/hardware/audio.h:23, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from module-droid-source.c:40: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1/cutils/bitops.h:23, from /usr/include/android-7.1/hardware/audio.h:26, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from module-droid-source.c:40: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1/hardware/hardware.h:21, from /usr/include/android-7.1/hardware/audio.h:28, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from module-droid-source.c:40: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1/hardware/hardware.h:23, from /usr/include/android-7.1/hardware/audio.h:28, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from module-droid-source.c:40: /usr/include/android-7.1/cutils/native_handle.h:29:9: warning: ISO C forbids zero-size array 'data' [-Wpedantic] 29 | int data[0]; /* numFds + numInts ints */ | ^~~~ In file included from /usr/include/android-7.1/system/audio.h:24, from /usr/include/android-7.1/hardware/audio.h:29, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from module-droid-source.c:40: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1/hardware/audio.h:29, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from module-droid-source.c:40: /usr/include/android-7.1/system/audio.h:302:40: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 302 | AUDIO_FORMAT_INVALID = 0xFFFFFFFFUL, | ^~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:340:40: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 340 | AUDIO_FORMAT_MAIN_MASK = 0xFF000000UL, /* Deprecated. Use audio_get_main_format() */ | ^~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:411:47: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 411 | AUDIO_CHANNEL_INVALID = 0xC0000000, | ^~~~~~~~~~ /usr/include/android-7.1/system/audio.h:610:32: warning: enumerator value for 'AUDIO_CHANNEL_INDEX_HDR' is not an integer constant expression [-Wpedantic] 610 | AUDIO_CHANNEL_INDEX_HDR = AUDIO_CHANNEL_REPRESENTATION_INDEX << AUDIO_CHANNEL_COUNT_MAX, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:706:50: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 706 | AUDIO_DEVICE_BIT_IN = 0x80000000, | ^~~~~~~~~~ /usr/include/android-7.1/system/audio.h:784:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 784 | AUDIO_DEVICE_IN_COMMUNICATION = AUDIO_DEVICE_BIT_IN | 0x1, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:785:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 785 | AUDIO_DEVICE_IN_AMBIENT = AUDIO_DEVICE_BIT_IN | 0x2, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:786:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 786 | AUDIO_DEVICE_IN_BUILTIN_MIC = AUDIO_DEVICE_BIT_IN | 0x4, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:787:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 787 | AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET = AUDIO_DEVICE_BIT_IN | 0x8, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:788:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 788 | AUDIO_DEVICE_IN_WIRED_HEADSET = AUDIO_DEVICE_BIT_IN | 0x10, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:789:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 789 | AUDIO_DEVICE_IN_AUX_DIGITAL = AUDIO_DEVICE_BIT_IN | 0x20, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:790:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 790 | AUDIO_DEVICE_IN_HDMI = AUDIO_DEVICE_IN_AUX_DIGITAL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:792:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 792 | AUDIO_DEVICE_IN_VOICE_CALL = AUDIO_DEVICE_BIT_IN | 0x40, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:793:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 793 | AUDIO_DEVICE_IN_TELEPHONY_RX = AUDIO_DEVICE_IN_VOICE_CALL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:794:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 794 | AUDIO_DEVICE_IN_BACK_MIC = AUDIO_DEVICE_BIT_IN | 0x80, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:795:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 795 | AUDIO_DEVICE_IN_REMOTE_SUBMIX = AUDIO_DEVICE_BIT_IN | 0x100, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:796:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 796 | AUDIO_DEVICE_IN_ANLG_DOCK_HEADSET = AUDIO_DEVICE_BIT_IN | 0x200, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:797:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 797 | AUDIO_DEVICE_IN_DGTL_DOCK_HEADSET = AUDIO_DEVICE_BIT_IN | 0x400, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:798:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 798 | AUDIO_DEVICE_IN_USB_ACCESSORY = AUDIO_DEVICE_BIT_IN | 0x800, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:799:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 799 | AUDIO_DEVICE_IN_USB_DEVICE = AUDIO_DEVICE_BIT_IN | 0x1000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:801:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 801 | AUDIO_DEVICE_IN_FM_TUNER = AUDIO_DEVICE_BIT_IN | 0x2000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:803:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 803 | AUDIO_DEVICE_IN_TV_TUNER = AUDIO_DEVICE_BIT_IN | 0x4000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:805:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 805 | AUDIO_DEVICE_IN_LINE = AUDIO_DEVICE_BIT_IN | 0x8000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:807:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 807 | AUDIO_DEVICE_IN_SPDIF = AUDIO_DEVICE_BIT_IN | 0x10000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:808:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 808 | AUDIO_DEVICE_IN_BLUETOOTH_A2DP = AUDIO_DEVICE_BIT_IN | 0x20000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:809:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 809 | AUDIO_DEVICE_IN_LOOPBACK = AUDIO_DEVICE_BIT_IN | 0x40000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:810:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 810 | AUDIO_DEVICE_IN_IP = AUDIO_DEVICE_BIT_IN | 0x80000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:812:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 812 | AUDIO_DEVICE_IN_BUS = AUDIO_DEVICE_BIT_IN | 0x100000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:813:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 813 | AUDIO_DEVICE_IN_PROXY = AUDIO_DEVICE_BIT_IN | 0x1000000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:814:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 814 | AUDIO_DEVICE_IN_DEFAULT = AUDIO_DEVICE_BIT_IN | AUDIO_DEVICE_BIT_DEFAULT, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:816:31: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 816 | AUDIO_DEVICE_IN_ALL = (AUDIO_DEVICE_IN_COMMUNICATION | | ^ /usr/include/android-7.1/system/audio.h:839:31: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 839 | AUDIO_DEVICE_IN_ALL_SCO = AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:840:32: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 840 | AUDIO_DEVICE_IN_ALL_USB = (AUDIO_DEVICE_IN_USB_ACCESSORY | | ^ /usr/include/android-7.1/system/audio.h:966:12: warning: obsolete use of designated initializer with ':' [-Wpedantic] 966 | version: AUDIO_OFFLOAD_INFO_VERSION_CURRENT, | ^ /usr/include/android-7.1/system/audio.h:967:9: warning: obsolete use of designated initializer with ':' [-Wpedantic] 967 | size: sizeof(audio_offload_info_t), | ^ /usr/include/android-7.1/system/audio.h:968:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 968 | sample_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:969:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 969 | channel_mask: 0, | ^ /usr/include/android-7.1/system/audio.h:970:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 970 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1/system/audio.h:971:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 971 | stream_type: AUDIO_STREAM_VOICE_CALL, | ^ /usr/include/android-7.1/system/audio.h:972:13: warning: obsolete use of designated initializer with ':' [-Wpedantic] 972 | bit_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:973:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 973 | duration_us: 0, | ^ /usr/include/android-7.1/system/audio.h:974:14: warning: obsolete use of designated initializer with ':' [-Wpedantic] 974 | has_video: false, | ^ /usr/include/android-7.1/system/audio.h:975:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 975 | is_streaming: false, | ^ /usr/include/android-7.1/system/audio.h:976:14: warning: obsolete use of designated initializer with ':' [-Wpedantic] 976 | bit_width: 16, | ^ /usr/include/android-7.1/system/audio.h:977:24: warning: obsolete use of designated initializer with ':' [-Wpedantic] 977 | offload_buffer_size: 0, | ^ /usr/include/android-7.1/system/audio.h:978:10: warning: obsolete use of designated initializer with ':' [-Wpedantic] 978 | usage: AUDIO_USAGE_UNKNOWN, | ^ /usr/include/android-7.1/system/audio.h:995:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 995 | sample_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:996:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 996 | channel_mask: AUDIO_CHANNEL_NONE, | ^ /usr/include/android-7.1/system/audio.h:997:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 997 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1/system/audio.h:998:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 998 | offload_info: { | ^ /usr/include/android-7.1/system/audio.h:999:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 999 | version: AUDIO_OFFLOAD_INFO_VERSION_CURRENT, | ^ /usr/include/android-7.1/system/audio.h:1000:13: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1000 | size: sizeof(audio_offload_info_t), | ^ /usr/include/android-7.1/system/audio.h:1001:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1001 | sample_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:1002:21: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1002 | channel_mask: 0, | ^ /usr/include/android-7.1/system/audio.h:1003:15: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1003 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1/system/audio.h:1004:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1004 | stream_type: AUDIO_STREAM_VOICE_CALL, | ^ /usr/include/android-7.1/system/audio.h:1005:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1005 | bit_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:1006:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1006 | duration_us: 0, | ^ /usr/include/android-7.1/system/audio.h:1007:18: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1007 | has_video: false, | ^ /usr/include/android-7.1/system/audio.h:1008:21: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1008 | is_streaming: false | ^ /usr/include/android-7.1/system/audio.h:1010:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1010 | frame_count: 0, | ^ /usr/include/android-7.1/system/audio.h:1022:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1022 | sample_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:1023:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1023 | channel_mask: AUDIO_CHANNEL_NONE, | ^ /usr/include/android-7.1/system/audio.h:1024:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1024 | format: AUDIO_FORMAT_DEFAULT | ^ /usr/include/android-7.1/system/audio.h: In function 'audio_device_address_to_parameter': /usr/include/android-7.1/system/audio.h:1672:5: warning: ISO C90 forbids array 'param' whose size can't be evaluated [-Wvla] 1672 | char param[kSize]; | ^~~~ In file included from /usr/include/android-7.1/hardware/audio_effect.h:24, from /usr/include/android-7.1/hardware/audio.h:30, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from module-droid-source.c:40: /usr/include/sys/cdefs.h: At top level: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ CC module_droid_card_la-module-droid-card.lo In file included from /usr/include/android-7.1/hardware/audio.h:23, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from module-droid-sink.c:40: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1/cutils/bitops.h:23, from /usr/include/android-7.1/hardware/audio.h:26, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from module-droid-sink.c:40: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1/hardware/hardware.h:21, from /usr/include/android-7.1/hardware/audio.h:28, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from module-droid-sink.c:40: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1/hardware/hardware.h:23, from /usr/include/android-7.1/hardware/audio.h:28, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from module-droid-sink.c:40: /usr/include/android-7.1/cutils/native_handle.h:29:9: warning: ISO C forbids zero-size array 'data' [-Wpedantic] 29 | int data[0]; /* numFds + numInts ints */ | ^~~~ In file included from /usr/include/android-7.1/system/audio.h:24, from /usr/include/android-7.1/hardware/audio.h:29, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from module-droid-sink.c:40: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1/hardware/audio.h:29, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from module-droid-sink.c:40: /usr/include/android-7.1/system/audio.h:302:40: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 302 | AUDIO_FORMAT_INVALID = 0xFFFFFFFFUL, | ^~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:340:40: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 340 | AUDIO_FORMAT_MAIN_MASK = 0xFF000000UL, /* Deprecated. Use audio_get_main_format() */ | ^~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:411:47: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 411 | AUDIO_CHANNEL_INVALID = 0xC0000000, | ^~~~~~~~~~ /usr/include/android-7.1/system/audio.h:610:32: warning: enumerator value for 'AUDIO_CHANNEL_INDEX_HDR' is not an integer constant expression [-Wpedantic] 610 | AUDIO_CHANNEL_INDEX_HDR = AUDIO_CHANNEL_REPRESENTATION_INDEX << AUDIO_CHANNEL_COUNT_MAX, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:706:50: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 706 | AUDIO_DEVICE_BIT_IN = 0x80000000, | ^~~~~~~~~~ /usr/include/android-7.1/system/audio.h:784:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 784 | AUDIO_DEVICE_IN_COMMUNICATION = AUDIO_DEVICE_BIT_IN | 0x1, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:785:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 785 | AUDIO_DEVICE_IN_AMBIENT = AUDIO_DEVICE_BIT_IN | 0x2, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:786:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 786 | AUDIO_DEVICE_IN_BUILTIN_MIC = AUDIO_DEVICE_BIT_IN | 0x4, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:787:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 787 | AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET = AUDIO_DEVICE_BIT_IN | 0x8, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:788:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 788 | AUDIO_DEVICE_IN_WIRED_HEADSET = AUDIO_DEVICE_BIT_IN | 0x10, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:789:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 789 | AUDIO_DEVICE_IN_AUX_DIGITAL = AUDIO_DEVICE_BIT_IN | 0x20, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:790:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 790 | AUDIO_DEVICE_IN_HDMI = AUDIO_DEVICE_IN_AUX_DIGITAL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:792:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 792 | AUDIO_DEVICE_IN_VOICE_CALL = AUDIO_DEVICE_BIT_IN | 0x40, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:793:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 793 | AUDIO_DEVICE_IN_TELEPHONY_RX = AUDIO_DEVICE_IN_VOICE_CALL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:794:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 794 | AUDIO_DEVICE_IN_BACK_MIC = AUDIO_DEVICE_BIT_IN | 0x80, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:795:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 795 | AUDIO_DEVICE_IN_REMOTE_SUBMIX = AUDIO_DEVICE_BIT_IN | 0x100, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:796:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 796 | AUDIO_DEVICE_IN_ANLG_DOCK_HEADSET = AUDIO_DEVICE_BIT_IN | 0x200, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:797:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 797 | AUDIO_DEVICE_IN_DGTL_DOCK_HEADSET = AUDIO_DEVICE_BIT_IN | 0x400, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:798:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 798 | AUDIO_DEVICE_IN_USB_ACCESSORY = AUDIO_DEVICE_BIT_IN | 0x800, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:799:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 799 | AUDIO_DEVICE_IN_USB_DEVICE = AUDIO_DEVICE_BIT_IN | 0x1000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:801:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 801 | AUDIO_DEVICE_IN_FM_TUNER = AUDIO_DEVICE_BIT_IN | 0x2000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:803:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 803 | AUDIO_DEVICE_IN_TV_TUNER = AUDIO_DEVICE_BIT_IN | 0x4000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:805:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 805 | AUDIO_DEVICE_IN_LINE = AUDIO_DEVICE_BIT_IN | 0x8000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:807:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 807 | AUDIO_DEVICE_IN_SPDIF = AUDIO_DEVICE_BIT_IN | 0x10000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:808:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 808 | AUDIO_DEVICE_IN_BLUETOOTH_A2DP = AUDIO_DEVICE_BIT_IN | 0x20000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:809:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 809 | AUDIO_DEVICE_IN_LOOPBACK = AUDIO_DEVICE_BIT_IN | 0x40000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:810:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 810 | AUDIO_DEVICE_IN_IP = AUDIO_DEVICE_BIT_IN | 0x80000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:812:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 812 | AUDIO_DEVICE_IN_BUS = AUDIO_DEVICE_BIT_IN | 0x100000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:813:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 813 | AUDIO_DEVICE_IN_PROXY = AUDIO_DEVICE_BIT_IN | 0x1000000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:814:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 814 | AUDIO_DEVICE_IN_DEFAULT = AUDIO_DEVICE_BIT_IN | AUDIO_DEVICE_BIT_DEFAULT, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:816:31: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 816 | AUDIO_DEVICE_IN_ALL = (AUDIO_DEVICE_IN_COMMUNICATION | | ^ /usr/include/android-7.1/system/audio.h:839:31: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 839 | AUDIO_DEVICE_IN_ALL_SCO = AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:840:32: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 840 | AUDIO_DEVICE_IN_ALL_USB = (AUDIO_DEVICE_IN_USB_ACCESSORY | | ^ /usr/include/android-7.1/system/audio.h:966:12: warning: obsolete use of designated initializer with ':' [-Wpedantic] 966 | version: AUDIO_OFFLOAD_INFO_VERSION_CURRENT, | ^ /usr/include/android-7.1/system/audio.h:967:9: warning: obsolete use of designated initializer with ':' [-Wpedantic] 967 | size: sizeof(audio_offload_info_t), | ^ /usr/include/android-7.1/system/audio.h:968:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 968 | sample_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:969:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 969 | channel_mask: 0, | ^ /usr/include/android-7.1/system/audio.h:970:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 970 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1/system/audio.h:971:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 971 | stream_type: AUDIO_STREAM_VOICE_CALL, | ^ /usr/include/android-7.1/system/audio.h:972:13: warning: obsolete use of designated initializer with ':' [-Wpedantic] 972 | bit_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:973:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 973 | duration_us: 0, | ^ /usr/include/android-7.1/system/audio.h:974:14: warning: obsolete use of designated initializer with ':' [-Wpedantic] 974 | has_video: false, | ^ /usr/include/android-7.1/system/audio.h:975:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 975 | is_streaming: false, | ^ /usr/include/android-7.1/system/audio.h:976:14: warning: obsolete use of designated initializer with ':' [-Wpedantic] 976 | bit_width: 16, | ^ /usr/include/android-7.1/system/audio.h:977:24: warning: obsolete use of designated initializer with ':' [-Wpedantic] 977 | offload_buffer_size: 0, | ^ /usr/include/android-7.1/system/audio.h:978:10: warning: obsolete use of designated initializer with ':' [-Wpedantic] 978 | usage: AUDIO_USAGE_UNKNOWN, | ^ /usr/include/android-7.1/system/audio.h:995:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 995 | sample_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:996:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 996 | channel_mask: AUDIO_CHANNEL_NONE, | ^ /usr/include/android-7.1/system/audio.h:997:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 997 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1/system/audio.h:998:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 998 | offload_info: { | ^ /usr/include/android-7.1/system/audio.h:999:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 999 | version: AUDIO_OFFLOAD_INFO_VERSION_CURRENT, | ^ /usr/include/android-7.1/system/audio.h:1000:13: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1000 | size: sizeof(audio_offload_info_t), | ^ /usr/include/android-7.1/system/audio.h:1001:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1001 | sample_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:1002:21: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1002 | channel_mask: 0, | ^ /usr/include/android-7.1/system/audio.h:1003:15: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1003 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1/system/audio.h:1004:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1004 | stream_type: AUDIO_STREAM_VOICE_CALL, | ^ /usr/include/android-7.1/system/audio.h:1005:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1005 | bit_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:1006:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1006 | duration_us: 0, | ^ /usr/include/android-7.1/system/audio.h:1007:18: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1007 | has_video: false, | ^ /usr/include/android-7.1/system/audio.h:1008:21: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1008 | is_streaming: false | ^ /usr/include/android-7.1/system/audio.h:1010:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1010 | frame_count: 0, | ^ /usr/include/android-7.1/system/audio.h:1022:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1022 | sample_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:1023:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1023 | channel_mask: AUDIO_CHANNEL_NONE, | ^ /usr/include/android-7.1/system/audio.h:1024:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1024 | format: AUDIO_FORMAT_DEFAULT | ^ /usr/include/android-7.1/system/audio.h: In function 'audio_device_address_to_parameter': /usr/include/android-7.1/system/audio.h:1672:5: warning: ISO C90 forbids array 'param' whose size can't be evaluated [-Wvla] 1672 | char param[kSize]; | ^~~~ In file included from /usr/include/android-7.1/hardware/audio_effect.h:24, from /usr/include/android-7.1/hardware/audio.h:30, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from module-droid-sink.c:40: /usr/include/sys/cdefs.h: At top level: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ CCLD libdroid-sink.la CCLD libdroid-source.la In file included from /usr/include/android-7.1/hardware/audio.h:23, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from module-droid-card.c:62: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1/cutils/bitops.h:23, from /usr/include/android-7.1/hardware/audio.h:26, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from module-droid-card.c:62: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1/hardware/hardware.h:21, from /usr/include/android-7.1/hardware/audio.h:28, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from module-droid-card.c:62: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1/hardware/hardware.h:23, from /usr/include/android-7.1/hardware/audio.h:28, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from module-droid-card.c:62: /usr/include/android-7.1/cutils/native_handle.h:29:9: warning: ISO C forbids zero-size array 'data' [-Wpedantic] 29 | int data[0]; /* numFds + numInts ints */ | ^~~~ In file included from /usr/include/android-7.1/system/audio.h:24, from /usr/include/android-7.1/hardware/audio.h:29, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from module-droid-card.c:62: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1/hardware/audio.h:29, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from module-droid-card.c:62: /usr/include/android-7.1/system/audio.h:302:40: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 302 | AUDIO_FORMAT_INVALID = 0xFFFFFFFFUL, | ^~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:340:40: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 340 | AUDIO_FORMAT_MAIN_MASK = 0xFF000000UL, /* Deprecated. Use audio_get_main_format() */ | ^~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:411:47: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 411 | AUDIO_CHANNEL_INVALID = 0xC0000000, | ^~~~~~~~~~ /usr/include/android-7.1/system/audio.h:610:32: warning: enumerator value for 'AUDIO_CHANNEL_INDEX_HDR' is not an integer constant expression [-Wpedantic] 610 | AUDIO_CHANNEL_INDEX_HDR = AUDIO_CHANNEL_REPRESENTATION_INDEX << AUDIO_CHANNEL_COUNT_MAX, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:706:50: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 706 | AUDIO_DEVICE_BIT_IN = 0x80000000, | ^~~~~~~~~~ /usr/include/android-7.1/system/audio.h:784:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 784 | AUDIO_DEVICE_IN_COMMUNICATION = AUDIO_DEVICE_BIT_IN | 0x1, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:785:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 785 | AUDIO_DEVICE_IN_AMBIENT = AUDIO_DEVICE_BIT_IN | 0x2, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:786:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 786 | AUDIO_DEVICE_IN_BUILTIN_MIC = AUDIO_DEVICE_BIT_IN | 0x4, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:787:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 787 | AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET = AUDIO_DEVICE_BIT_IN | 0x8, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:788:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 788 | AUDIO_DEVICE_IN_WIRED_HEADSET = AUDIO_DEVICE_BIT_IN | 0x10, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:789:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 789 | AUDIO_DEVICE_IN_AUX_DIGITAL = AUDIO_DEVICE_BIT_IN | 0x20, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:790:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 790 | AUDIO_DEVICE_IN_HDMI = AUDIO_DEVICE_IN_AUX_DIGITAL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:792:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 792 | AUDIO_DEVICE_IN_VOICE_CALL = AUDIO_DEVICE_BIT_IN | 0x40, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:793:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 793 | AUDIO_DEVICE_IN_TELEPHONY_RX = AUDIO_DEVICE_IN_VOICE_CALL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:794:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 794 | AUDIO_DEVICE_IN_BACK_MIC = AUDIO_DEVICE_BIT_IN | 0x80, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:795:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 795 | AUDIO_DEVICE_IN_REMOTE_SUBMIX = AUDIO_DEVICE_BIT_IN | 0x100, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:796:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 796 | AUDIO_DEVICE_IN_ANLG_DOCK_HEADSET = AUDIO_DEVICE_BIT_IN | 0x200, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:797:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 797 | AUDIO_DEVICE_IN_DGTL_DOCK_HEADSET = AUDIO_DEVICE_BIT_IN | 0x400, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:798:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 798 | AUDIO_DEVICE_IN_USB_ACCESSORY = AUDIO_DEVICE_BIT_IN | 0x800, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:799:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 799 | AUDIO_DEVICE_IN_USB_DEVICE = AUDIO_DEVICE_BIT_IN | 0x1000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:801:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 801 | AUDIO_DEVICE_IN_FM_TUNER = AUDIO_DEVICE_BIT_IN | 0x2000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:803:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 803 | AUDIO_DEVICE_IN_TV_TUNER = AUDIO_DEVICE_BIT_IN | 0x4000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:805:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 805 | AUDIO_DEVICE_IN_LINE = AUDIO_DEVICE_BIT_IN | 0x8000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:807:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 807 | AUDIO_DEVICE_IN_SPDIF = AUDIO_DEVICE_BIT_IN | 0x10000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:808:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 808 | AUDIO_DEVICE_IN_BLUETOOTH_A2DP = AUDIO_DEVICE_BIT_IN | 0x20000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:809:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 809 | AUDIO_DEVICE_IN_LOOPBACK = AUDIO_DEVICE_BIT_IN | 0x40000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:810:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 810 | AUDIO_DEVICE_IN_IP = AUDIO_DEVICE_BIT_IN | 0x80000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:812:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 812 | AUDIO_DEVICE_IN_BUS = AUDIO_DEVICE_BIT_IN | 0x100000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:813:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 813 | AUDIO_DEVICE_IN_PROXY = AUDIO_DEVICE_BIT_IN | 0x1000000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:814:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 814 | AUDIO_DEVICE_IN_DEFAULT = AUDIO_DEVICE_BIT_IN | AUDIO_DEVICE_BIT_DEFAULT, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:816:31: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 816 | AUDIO_DEVICE_IN_ALL = (AUDIO_DEVICE_IN_COMMUNICATION | | ^ /usr/include/android-7.1/system/audio.h:839:31: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 839 | AUDIO_DEVICE_IN_ALL_SCO = AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1/system/audio.h:840:32: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 840 | AUDIO_DEVICE_IN_ALL_USB = (AUDIO_DEVICE_IN_USB_ACCESSORY | | ^ /usr/include/android-7.1/system/audio.h:966:12: warning: obsolete use of designated initializer with ':' [-Wpedantic] 966 | version: AUDIO_OFFLOAD_INFO_VERSION_CURRENT, | ^ /usr/include/android-7.1/system/audio.h:967:9: warning: obsolete use of designated initializer with ':' [-Wpedantic] 967 | size: sizeof(audio_offload_info_t), | ^ /usr/include/android-7.1/system/audio.h:968:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 968 | sample_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:969:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 969 | channel_mask: 0, | ^ /usr/include/android-7.1/system/audio.h:970:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 970 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1/system/audio.h:971:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 971 | stream_type: AUDIO_STREAM_VOICE_CALL, | ^ /usr/include/android-7.1/system/audio.h:972:13: warning: obsolete use of designated initializer with ':' [-Wpedantic] 972 | bit_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:973:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 973 | duration_us: 0, | ^ /usr/include/android-7.1/system/audio.h:974:14: warning: obsolete use of designated initializer with ':' [-Wpedantic] 974 | has_video: false, | ^ /usr/include/android-7.1/system/audio.h:975:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 975 | is_streaming: false, | ^ /usr/include/android-7.1/system/audio.h:976:14: warning: obsolete use of designated initializer with ':' [-Wpedantic] 976 | bit_width: 16, | ^ /usr/include/android-7.1/system/audio.h:977:24: warning: obsolete use of designated initializer with ':' [-Wpedantic] 977 | offload_buffer_size: 0, | ^ /usr/include/android-7.1/system/audio.h:978:10: warning: obsolete use of designated initializer with ':' [-Wpedantic] 978 | usage: AUDIO_USAGE_UNKNOWN, | ^ /usr/include/android-7.1/system/audio.h:995:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 995 | sample_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:996:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 996 | channel_mask: AUDIO_CHANNEL_NONE, | ^ /usr/include/android-7.1/system/audio.h:997:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 997 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1/system/audio.h:998:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 998 | offload_info: { | ^ /usr/include/android-7.1/system/audio.h:999:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 999 | version: AUDIO_OFFLOAD_INFO_VERSION_CURRENT, | ^ /usr/include/android-7.1/system/audio.h:1000:13: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1000 | size: sizeof(audio_offload_info_t), | ^ /usr/include/android-7.1/system/audio.h:1001:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1001 | sample_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:1002:21: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1002 | channel_mask: 0, | ^ /usr/include/android-7.1/system/audio.h:1003:15: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1003 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1/system/audio.h:1004:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1004 | stream_type: AUDIO_STREAM_VOICE_CALL, | ^ /usr/include/android-7.1/system/audio.h:1005:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1005 | bit_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:1006:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1006 | duration_us: 0, | ^ /usr/include/android-7.1/system/audio.h:1007:18: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1007 | has_video: false, | ^ /usr/include/android-7.1/system/audio.h:1008:21: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1008 | is_streaming: false | ^ /usr/include/android-7.1/system/audio.h:1010:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1010 | frame_count: 0, | ^ /usr/include/android-7.1/system/audio.h:1022:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1022 | sample_rate: 0, | ^ /usr/include/android-7.1/system/audio.h:1023:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1023 | channel_mask: AUDIO_CHANNEL_NONE, | ^ /usr/include/android-7.1/system/audio.h:1024:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1024 | format: AUDIO_FORMAT_DEFAULT | ^ /usr/include/android-7.1/system/audio.h: In function 'audio_device_address_to_parameter': /usr/include/android-7.1/system/audio.h:1672:5: warning: ISO C90 forbids array 'param' whose size can't be evaluated [-Wvla] 1672 | char param[kSize]; | ^~~~ In file included from /usr/include/android-7.1/hardware/audio_effect.h:24, from /usr/include/android-7.1/hardware/audio.h:30, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from module-droid-card.c:62: /usr/include/sys/cdefs.h: At top level: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ module-droid-card.c: In function 'add_virtual_profile': module-droid-card.c:241:30: warning: unused variable 'ext' [-Wunused-variable] 241 | struct profile_data *d, *ext; | ^~~ module-droid-card.c: In function 'voicecall_profile_event_cb': module-droid-card.c:450:22: warning: unused variable 'cp' [-Wunused-variable] 450 | pa_card_profile *cp = NULL; | ^~ CCLD module-droid-keepalive.la CCLD module-droid-sink.la CCLD module-droid-source.la CCLD module-droid-card.la make[3]: Leaving directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src/droid' make[3]: Entering directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src' make[2]: Leaving directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src' make[2]: Entering directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79' make[1]: Leaving directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79' Making install in src make[1]: Entering directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src' Making install in common make[2]: Entering directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src/common' make[3]: Entering directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src/common' ../.././install-sh -c -d '/home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1/usr/lib/pkgconfig' ../.././install-sh -c -d '/home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1/usr/include/pulsecore/modules/droid' ../.././install-sh -c -d '/home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1/usr/lib/pulse-13.0/modules' /usr/bin/install -c -m 644 libdroid-util.pc '/home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1/usr/lib/pkgconfig' /bin/sh ../../libtool --mode=install /usr/bin/install -c libdroid-util.la '/home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1/usr/lib/pulse-13.0/modules' /usr/bin/install -c -m 644 include/droid/version.h include/droid/conversion.h include/droid/droid-config.h include/droid/droid-util.h '/home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1/usr/include/pulsecore/modules/droid' libtool: install: /usr/bin/install -c .libs/libdroid-util.so /home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1/usr/lib/pulse-13.0/modules/libdroid-util.so libtool: install: /usr/bin/install -c .libs/libdroid-util.lai /home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1/usr/lib/pulse-13.0/modules/libdroid-util.la libtool: warning: remember to run 'libtool --finish /usr/lib/pulse-13.0/modules' make[3]: Leaving directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src/common' make[2]: Leaving directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src/common' Making install in droid make[2]: Entering directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src/droid' make[3]: Entering directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src/droid' make[3]: Nothing to be done for 'install-data-am'. ../.././install-sh -c -d '/home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1/usr/lib/pulse-13.0/modules' /bin/sh ../../libtool --mode=install /usr/bin/install -c libdroid-sink.la libdroid-source.la module-droid-keepalive.la module-droid-sink.la module-droid-source.la module-droid-card.la '/home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1/usr/lib/pulse-13.0/modules' libtool: warning: relinking 'libdroid-sink.la' libtool: install: (cd /home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src/droid; /bin/sh "/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/libtool" --silent --tag CC --mode=relink gcc -DDROID_DEVICE_GENERIC=1 "-DDROID_DEVICE_STRING=\"generic\"" -D_REENTRANT -D__INCLUDED_FROM_PULSE_AUDIO "-DPA_DEFAULT_CONFIG_DIR=\"/etc/pulse\"" -I/usr/include/android-7.1 -I/usr/include/android-7.1 -DPULSEAUDIO_VERSION=13 -I../../src/droid -I../../src/common/include -Os -fomit-frame-pointer -Wall -W -Wextra -pedantic -pipe -Wno-long-long -Winline -Wvla -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wpacked -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self -Wfloat-equal -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wstrict-aliasing=2 -Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option -avoid-version -Wl,-z,noexecstack -lhybris-common -Wl,--as-needed -o libdroid-sink.la -rpath /usr/lib/pulse-13.0/modules libdroid_sink_la-droid-sink.lo ../../src/common/libdroid-util.la -pthread -L/usr/lib/pulseaudio -L/usr/lib/pulse-13.0/modules -lpulsecore-13.0 -lpulsecommon-13.0 -lpulse -lhardware -inst-prefix-dir /home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1) libtool: install: /usr/bin/install -c .libs/libdroid-sink.soT /home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1/usr/lib/pulse-13.0/modules/libdroid-sink.so libtool: install: /usr/bin/install -c .libs/libdroid-sink.lai /home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1/usr/lib/pulse-13.0/modules/libdroid-sink.la libtool: warning: relinking 'libdroid-source.la' libtool: install: (cd /home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src/droid; /bin/sh "/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/libtool" --silent --tag CC --mode=relink gcc -DDROID_DEVICE_GENERIC=1 "-DDROID_DEVICE_STRING=\"generic\"" -D_REENTRANT -D__INCLUDED_FROM_PULSE_AUDIO "-DPA_DEFAULT_CONFIG_DIR=\"/etc/pulse\"" -I/usr/include/android-7.1 -I/usr/include/android-7.1 -DPULSEAUDIO_VERSION=13 -I../../src/droid -I../../src/common/include -Os -fomit-frame-pointer -Wall -W -Wextra -pedantic -pipe -Wno-long-long -Winline -Wvla -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wpacked -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self -Wfloat-equal -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wstrict-aliasing=2 -Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option -avoid-version -Wl,-z,noexecstack -lhybris-common -Wl,--as-needed -o libdroid-source.la -rpath /usr/lib/pulse-13.0/modules libdroid_source_la-droid-source.lo ../../src/common/libdroid-util.la -pthread -L/usr/lib/pulseaudio -L/usr/lib/pulse-13.0/modules -lpulsecore-13.0 -lpulsecommon-13.0 -lpulse -lhardware -inst-prefix-dir /home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1) libtool: install: /usr/bin/install -c .libs/libdroid-source.soT /home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1/usr/lib/pulse-13.0/modules/libdroid-source.so libtool: install: /usr/bin/install -c .libs/libdroid-source.lai /home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1/usr/lib/pulse-13.0/modules/libdroid-source.la libtool: install: /usr/bin/install -c .libs/module-droid-keepalive.so /home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1/usr/lib/pulse-13.0/modules/module-droid-keepalive.so libtool: install: /usr/bin/install -c .libs/module-droid-keepalive.lai /home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1/usr/lib/pulse-13.0/modules/module-droid-keepalive.la libtool: warning: relinking 'module-droid-sink.la' libtool: install: (cd /home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src/droid; /bin/sh "/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/libtool" --silent --tag CC --mode=relink gcc -DDROID_DEVICE_GENERIC=1 "-DDROID_DEVICE_STRING=\"generic\"" -D_REENTRANT -D__INCLUDED_FROM_PULSE_AUDIO "-DPA_DEFAULT_CONFIG_DIR=\"/etc/pulse\"" -I/usr/include/android-7.1 -I/usr/include/android-7.1 -DPULSEAUDIO_VERSION=13 -I../../src/droid -I../../src/common/include -Os -fomit-frame-pointer -Wall -W -Wextra -pedantic -pipe -Wno-long-long -Winline -Wvla -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wpacked -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self -Wfloat-equal -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wstrict-aliasing=2 -Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option -module -avoid-version -Wl,-z,noexecstack -lhybris-common -Wl,--as-needed -o module-droid-sink.la -rpath /usr/lib/pulse-13.0/modules module_droid_sink_la-module-droid-sink.lo -lm libdroid-sink.la -pthread -L/usr/lib/pulseaudio -L/usr/lib/pulse-13.0/modules -lpulsecore-13.0 -lpulsecommon-13.0 -lpulse -lhardware -inst-prefix-dir /home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1) libtool: install: /usr/bin/install -c .libs/module-droid-sink.soT /home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1/usr/lib/pulse-13.0/modules/module-droid-sink.so libtool: install: /usr/bin/install -c .libs/module-droid-sink.lai /home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1/usr/lib/pulse-13.0/modules/module-droid-sink.la libtool: warning: relinking 'module-droid-source.la' libtool: install: (cd /home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src/droid; /bin/sh "/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/libtool" --silent --tag CC --mode=relink gcc -DDROID_DEVICE_GENERIC=1 "-DDROID_DEVICE_STRING=\"generic\"" -D_REENTRANT -D__INCLUDED_FROM_PULSE_AUDIO "-DPA_DEFAULT_CONFIG_DIR=\"/etc/pulse\"" -I/usr/include/android-7.1 -I/usr/include/android-7.1 -DPULSEAUDIO_VERSION=13 -I../../src/droid -I../../src/common/include -Os -fomit-frame-pointer -Wall -W -Wextra -pedantic -pipe -Wno-long-long -Winline -Wvla -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wpacked -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self -Wfloat-equal -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wstrict-aliasing=2 -Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option -module -avoid-version -Wl,-z,noexecstack -lhybris-common -Wl,--as-needed -o module-droid-source.la -rpath /usr/lib/pulse-13.0/modules module_droid_source_la-module-droid-source.lo -lm libdroid-source.la -pthread -L/usr/lib/pulseaudio -L/usr/lib/pulse-13.0/modules -lpulsecore-13.0 -lpulsecommon-13.0 -lpulse -lhardware -inst-prefix-dir /home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1) libtool: install: /usr/bin/install -c .libs/module-droid-source.soT /home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1/usr/lib/pulse-13.0/modules/module-droid-source.so libtool: install: /usr/bin/install -c .libs/module-droid-source.lai /home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1/usr/lib/pulse-13.0/modules/module-droid-source.la libtool: warning: relinking 'module-droid-card.la' libtool: install: (cd /home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src/droid; /bin/sh "/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/libtool" --silent --tag CC --mode=relink gcc -DDROID_DEVICE_GENERIC=1 "-DDROID_DEVICE_STRING=\"generic\"" -D_REENTRANT -D__INCLUDED_FROM_PULSE_AUDIO "-DPA_DEFAULT_CONFIG_DIR=\"/etc/pulse\"" -I/usr/include/android-7.1 -I/usr/include/android-7.1 -DPULSEAUDIO_VERSION=13 -I../../src/droid -I../../src/common/include -Os -fomit-frame-pointer -Wall -W -Wextra -pedantic -pipe -Wno-long-long -Winline -Wvla -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wpacked -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self -Wfloat-equal -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wstrict-aliasing=2 -Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option -module -avoid-version -Wl,-z,noexecstack -lhybris-common -Wl,--as-needed -o module-droid-card.la -rpath /usr/lib/pulse-13.0/modules module_droid_card_la-module-droid-card.lo -lm libdroid-sink.la libdroid-source.la ../../src/common/libdroid-util.la -pthread -L/usr/lib/pulseaudio -L/usr/lib/pulse-13.0/modules -lpulsecore-13.0 -lpulsecommon-13.0 -lpulse -lhardware -inst-prefix-dir /home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1) libtool: install: /usr/bin/install -c .libs/module-droid-card.soT /home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1/usr/lib/pulse-13.0/modules/module-droid-card.so libtool: install: /usr/bin/install -c .libs/module-droid-card.lai /home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1/usr/lib/pulse-13.0/modules/module-droid-card.la libtool: warning: remember to run 'libtool --finish /usr/lib/pulse-13.0/modules' make[3]: Leaving directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src/droid' make[2]: Leaving directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src/droid' make[2]: Entering directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src' make[3]: Entering directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src' make[2]: Leaving directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src' make[1]: Leaving directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src' make[1]: Entering directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79' make[2]: Entering directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79' make[1]: Leaving directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79' >>> pulseaudio-modules-droid: building pulseaudio-modules-droid-7.1-caf Making clean in src make[1]: Entering directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src' Making clean in common make[2]: Entering directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src/common' rm -rf .libs _libs test -z "libdroid-util.la" || rm -f libdroid-util.la rm -f *.o rm -f *.lo rm -f ./so_locations make[2]: Leaving directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src/common' Making clean in droid make[2]: Entering directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src/droid' rm -rf .libs _libs test -z "libdroid-sink.la libdroid-source.la module-droid-keepalive.la module-droid-sink.la module-droid-source.la module-droid-card.la" || rm -f libdroid-sink.la libdroid-source.la module-droid-keepalive.la module-droid-sink.la module-droid-source.la module-droid-card.la rm -f *.o rm -f *.lo rm -f ./so_locations make[2]: Leaving directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src/droid' make[2]: Entering directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src' rm -rf .libs _libs rm -f *.lo make[2]: Leaving directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src' make[1]: Leaving directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src' make[1]: Entering directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79' rm -rf .libs _libs rm -f *.lo make[1]: Leaving directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79' /usr/bin/make all-recursive make[1]: Entering directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79' Making all in src make[2]: Entering directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src' Making all in common make[3]: Entering directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src/common' CC libdroid_util_la-droid-config.lo CC libdroid_util_la-conversion.lo CC libdroid_util_la-droid-util.lo In file included from /usr/include/android-7.1-caf/hardware/audio.h:23, from ../../src/common/include/droid/version.h:31, from droid-config.c:26: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1-caf/cutils/bitops.h:23, from /usr/include/android-7.1-caf/hardware/audio.h:26, from ../../src/common/include/droid/version.h:31, from droid-config.c:26: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1-caf/hardware/audio.h:26, from ../../src/common/include/droid/version.h:31, from droid-config.c:26: /usr/include/android-7.1-caf/cutils/bitops.h: In function 'bitmask_ffz': /usr/include/android-7.1-caf/cutils/bitops.h:65:15: warning: implicit declaration of function 'ffs' [-Wimplicit-function-declaration] 65 | bit = ffs(~bitmask[i]); | ^~~ /usr/include/android-7.1-caf/cutils/bitops.h:65:19: warning: 'ffs' argument 1 type is 'unsigned int' where 'int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 65 | bit = ffs(~bitmask[i]); | ^~~~~~~~~~~ : note: built-in 'ffs' declared here In file included from /usr/include/android-7.1-caf/hardware/hardware.h:21, from /usr/include/android-7.1-caf/hardware/audio.h:28, from ../../src/common/include/droid/version.h:31, from droid-config.c:26: /usr/include/sys/cdefs.h: At top level: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1-caf/hardware/hardware.h:23, from /usr/include/android-7.1-caf/hardware/audio.h:28, from ../../src/common/include/droid/version.h:31, from droid-config.c:26: /usr/include/android-7.1-caf/cutils/native_handle.h:29:9: warning: ISO C forbids zero-size array 'data' [-Wpedantic] 29 | int data[0]; /* numFds + numInts ints */ | ^~~~ In file included from /usr/include/android-7.1-caf/system/audio.h:24, from /usr/include/android-7.1-caf/hardware/audio.h:29, from ../../src/common/include/droid/version.h:31, from droid-config.c:26: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1-caf/hardware/audio.h:29, from ../../src/common/include/droid/version.h:31, from droid-config.c:26: /usr/include/android-7.1-caf/system/audio.h:302:40: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 302 | AUDIO_FORMAT_INVALID = 0xFFFFFFFFUL, | ^~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:340:40: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 340 | AUDIO_FORMAT_MAIN_MASK = 0xFF000000UL, /* Deprecated. Use audio_get_main_format() */ | ^~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:411:47: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 411 | AUDIO_CHANNEL_INVALID = 0xC0000000, | ^~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:610:32: warning: enumerator value for 'AUDIO_CHANNEL_INDEX_HDR' is not an integer constant expression [-Wpedantic] 610 | AUDIO_CHANNEL_INDEX_HDR = AUDIO_CHANNEL_REPRESENTATION_INDEX << AUDIO_CHANNEL_COUNT_MAX, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:706:50: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 706 | AUDIO_DEVICE_BIT_IN = 0x80000000, | ^~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:784:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 784 | AUDIO_DEVICE_IN_COMMUNICATION = AUDIO_DEVICE_BIT_IN | 0x1, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:785:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 785 | AUDIO_DEVICE_IN_AMBIENT = AUDIO_DEVICE_BIT_IN | 0x2, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:786:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 786 | AUDIO_DEVICE_IN_BUILTIN_MIC = AUDIO_DEVICE_BIT_IN | 0x4, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:787:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 787 | AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET = AUDIO_DEVICE_BIT_IN | 0x8, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:788:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 788 | AUDIO_DEVICE_IN_WIRED_HEADSET = AUDIO_DEVICE_BIT_IN | 0x10, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:789:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 789 | AUDIO_DEVICE_IN_AUX_DIGITAL = AUDIO_DEVICE_BIT_IN | 0x20, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:790:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 790 | AUDIO_DEVICE_IN_HDMI = AUDIO_DEVICE_IN_AUX_DIGITAL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:792:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 792 | AUDIO_DEVICE_IN_VOICE_CALL = AUDIO_DEVICE_BIT_IN | 0x40, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:793:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 793 | AUDIO_DEVICE_IN_TELEPHONY_RX = AUDIO_DEVICE_IN_VOICE_CALL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:794:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 794 | AUDIO_DEVICE_IN_BACK_MIC = AUDIO_DEVICE_BIT_IN | 0x80, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:795:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 795 | AUDIO_DEVICE_IN_REMOTE_SUBMIX = AUDIO_DEVICE_BIT_IN | 0x100, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:796:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 796 | AUDIO_DEVICE_IN_ANLG_DOCK_HEADSET = AUDIO_DEVICE_BIT_IN | 0x200, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:797:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 797 | AUDIO_DEVICE_IN_DGTL_DOCK_HEADSET = AUDIO_DEVICE_BIT_IN | 0x400, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:798:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 798 | AUDIO_DEVICE_IN_USB_ACCESSORY = AUDIO_DEVICE_BIT_IN | 0x800, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:799:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 799 | AUDIO_DEVICE_IN_USB_DEVICE = AUDIO_DEVICE_BIT_IN | 0x1000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:801:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 801 | AUDIO_DEVICE_IN_FM_TUNER = AUDIO_DEVICE_BIT_IN | 0x2000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:803:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 803 | AUDIO_DEVICE_IN_TV_TUNER = AUDIO_DEVICE_BIT_IN | 0x4000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:805:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 805 | AUDIO_DEVICE_IN_LINE = AUDIO_DEVICE_BIT_IN | 0x8000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:807:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 807 | AUDIO_DEVICE_IN_SPDIF = AUDIO_DEVICE_BIT_IN | 0x10000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:808:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 808 | AUDIO_DEVICE_IN_BLUETOOTH_A2DP = AUDIO_DEVICE_BIT_IN | 0x20000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:809:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 809 | AUDIO_DEVICE_IN_LOOPBACK = AUDIO_DEVICE_BIT_IN | 0x40000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:810:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 810 | AUDIO_DEVICE_IN_IP = AUDIO_DEVICE_BIT_IN | 0x80000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:812:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 812 | AUDIO_DEVICE_IN_BUS = AUDIO_DEVICE_BIT_IN | 0x100000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:813:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 813 | AUDIO_DEVICE_IN_PROXY = AUDIO_DEVICE_BIT_IN | 0x1000000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:814:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 814 | AUDIO_DEVICE_IN_DEFAULT = AUDIO_DEVICE_BIT_IN | AUDIO_DEVICE_BIT_DEFAULT, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:816:31: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 816 | AUDIO_DEVICE_IN_ALL = (AUDIO_DEVICE_IN_COMMUNICATION | | ^ /usr/include/android-7.1-caf/system/audio.h:839:31: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 839 | AUDIO_DEVICE_IN_ALL_SCO = AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:840:32: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 840 | AUDIO_DEVICE_IN_ALL_USB = (AUDIO_DEVICE_IN_USB_ACCESSORY | | ^ /usr/include/android-7.1-caf/system/audio.h:966:12: warning: obsolete use of designated initializer with ':' [-Wpedantic] 966 | version: AUDIO_OFFLOAD_INFO_VERSION_CURRENT, | ^ /usr/include/android-7.1-caf/system/audio.h:967:9: warning: obsolete use of designated initializer with ':' [-Wpedantic] 967 | size: sizeof(audio_offload_info_t), | ^ /usr/include/android-7.1-caf/system/audio.h:968:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 968 | sample_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:969:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 969 | channel_mask: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:970:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 970 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1-caf/system/audio.h:971:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 971 | stream_type: AUDIO_STREAM_VOICE_CALL, | ^ /usr/include/android-7.1-caf/system/audio.h:972:13: warning: obsolete use of designated initializer with ':' [-Wpedantic] 972 | bit_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:973:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 973 | duration_us: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:974:14: warning: obsolete use of designated initializer with ':' [-Wpedantic] 974 | has_video: false, | ^ /usr/include/android-7.1-caf/system/audio.h:975:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 975 | is_streaming: false, | ^ /usr/include/android-7.1-caf/system/audio.h:976:14: warning: obsolete use of designated initializer with ':' [-Wpedantic] 976 | bit_width: 16, | ^ /usr/include/android-7.1-caf/system/audio.h:977:24: warning: obsolete use of designated initializer with ':' [-Wpedantic] 977 | offload_buffer_size: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:978:10: warning: obsolete use of designated initializer with ':' [-Wpedantic] 978 | usage: AUDIO_USAGE_UNKNOWN, | ^ /usr/include/android-7.1-caf/system/audio.h:995:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 995 | sample_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:996:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 996 | channel_mask: AUDIO_CHANNEL_NONE, | ^ /usr/include/android-7.1-caf/system/audio.h:997:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 997 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1-caf/system/audio.h:998:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 998 | offload_info: { | ^ /usr/include/android-7.1-caf/system/audio.h:999:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 999 | version: AUDIO_OFFLOAD_INFO_VERSION_CURRENT, | ^ /usr/include/android-7.1-caf/system/audio.h:1000:13: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1000 | size: sizeof(audio_offload_info_t), | ^ /usr/include/android-7.1-caf/system/audio.h:1001:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1001 | sample_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1002:21: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1002 | channel_mask: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1003:15: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1003 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1-caf/system/audio.h:1004:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1004 | stream_type: AUDIO_STREAM_VOICE_CALL, | ^ /usr/include/android-7.1-caf/system/audio.h:1005:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1005 | bit_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1006:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1006 | duration_us: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1007:18: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1007 | has_video: false, | ^ /usr/include/android-7.1-caf/system/audio.h:1008:21: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1008 | is_streaming: false | ^ /usr/include/android-7.1-caf/system/audio.h:1010:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1010 | frame_count: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1022:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1022 | sample_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1023:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1023 | channel_mask: AUDIO_CHANNEL_NONE, | ^ /usr/include/android-7.1-caf/system/audio.h:1024:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1024 | format: AUDIO_FORMAT_DEFAULT | ^ /usr/include/android-7.1-caf/system/audio.h: In function 'audio_device_address_to_parameter': /usr/include/android-7.1-caf/system/audio.h:1672:5: warning: ISO C90 forbids array 'param' whose size can't be evaluated [-Wvla] 1672 | char param[kSize]; | ^~~~ In file included from /usr/include/android-7.1-caf/hardware/audio_effect.h:24, from /usr/include/android-7.1-caf/hardware/audio.h:30, from ../../src/common/include/droid/version.h:31, from droid-config.c:26: /usr/include/sys/cdefs.h: At top level: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ droid-config.c: In function 'pa_parse_droid_audio_config': droid-config.c:147:19: warning: implicit declaration of function 'rindex' [-Wimplicit-function-declaration] 147 | if ((suffix = rindex(filename, '.'))) { | ^~~~~~ droid-config.c:147:19: warning: incompatible implicit declaration of built-in function 'rindex' CC libdroid_util_la-config-parser-legacy.lo In file included from /usr/include/android-7.1-caf/hardware/audio.h:23, from ../../src/common/include/droid/version.h:31, from conversion.c:26: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1-caf/cutils/bitops.h:23, from /usr/include/android-7.1-caf/hardware/audio.h:26, from ../../src/common/include/droid/version.h:31, from conversion.c:26: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1-caf/hardware/audio.h:26, from ../../src/common/include/droid/version.h:31, from conversion.c:26: /usr/include/android-7.1-caf/cutils/bitops.h: In function 'bitmask_ffz': /usr/include/android-7.1-caf/cutils/bitops.h:65:15: warning: implicit declaration of function 'ffs' [-Wimplicit-function-declaration] 65 | bit = ffs(~bitmask[i]); | ^~~ /usr/include/android-7.1-caf/cutils/bitops.h:65:19: warning: 'ffs' argument 1 type is 'unsigned int' where 'int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 65 | bit = ffs(~bitmask[i]); | ^~~~~~~~~~~ : note: built-in 'ffs' declared here In file included from /usr/include/android-7.1-caf/hardware/hardware.h:21, from /usr/include/android-7.1-caf/hardware/audio.h:28, from ../../src/common/include/droid/version.h:31, from conversion.c:26: /usr/include/sys/cdefs.h: At top level: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1-caf/hardware/hardware.h:23, from /usr/include/android-7.1-caf/hardware/audio.h:28, from ../../src/common/include/droid/version.h:31, from conversion.c:26: /usr/include/android-7.1-caf/cutils/native_handle.h:29:9: warning: ISO C forbids zero-size array 'data' [-Wpedantic] 29 | int data[0]; /* numFds + numInts ints */ | ^~~~ In file included from /usr/include/android-7.1-caf/system/audio.h:24, from /usr/include/android-7.1-caf/hardware/audio.h:29, from ../../src/common/include/droid/version.h:31, from conversion.c:26: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1-caf/hardware/audio.h:29, from ../../src/common/include/droid/version.h:31, from conversion.c:26: /usr/include/android-7.1-caf/system/audio.h:302:40: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 302 | AUDIO_FORMAT_INVALID = 0xFFFFFFFFUL, | ^~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:340:40: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 340 | AUDIO_FORMAT_MAIN_MASK = 0xFF000000UL, /* Deprecated. Use audio_get_main_format() */ | ^~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:411:47: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 411 | AUDIO_CHANNEL_INVALID = 0xC0000000, | ^~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:610:32: warning: enumerator value for 'AUDIO_CHANNEL_INDEX_HDR' is not an integer constant expression [-Wpedantic] 610 | AUDIO_CHANNEL_INDEX_HDR = AUDIO_CHANNEL_REPRESENTATION_INDEX << AUDIO_CHANNEL_COUNT_MAX, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:706:50: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 706 | AUDIO_DEVICE_BIT_IN = 0x80000000, | ^~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:784:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 784 | AUDIO_DEVICE_IN_COMMUNICATION = AUDIO_DEVICE_BIT_IN | 0x1, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:785:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 785 | AUDIO_DEVICE_IN_AMBIENT = AUDIO_DEVICE_BIT_IN | 0x2, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:786:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 786 | AUDIO_DEVICE_IN_BUILTIN_MIC = AUDIO_DEVICE_BIT_IN | 0x4, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:787:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 787 | AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET = AUDIO_DEVICE_BIT_IN | 0x8, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:788:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 788 | AUDIO_DEVICE_IN_WIRED_HEADSET = AUDIO_DEVICE_BIT_IN | 0x10, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:789:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 789 | AUDIO_DEVICE_IN_AUX_DIGITAL = AUDIO_DEVICE_BIT_IN | 0x20, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:790:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 790 | AUDIO_DEVICE_IN_HDMI = AUDIO_DEVICE_IN_AUX_DIGITAL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:792:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 792 | AUDIO_DEVICE_IN_VOICE_CALL = AUDIO_DEVICE_BIT_IN | 0x40, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:793:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 793 | AUDIO_DEVICE_IN_TELEPHONY_RX = AUDIO_DEVICE_IN_VOICE_CALL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:794:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 794 | AUDIO_DEVICE_IN_BACK_MIC = AUDIO_DEVICE_BIT_IN | 0x80, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:795:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 795 | AUDIO_DEVICE_IN_REMOTE_SUBMIX = AUDIO_DEVICE_BIT_IN | 0x100, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:796:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 796 | AUDIO_DEVICE_IN_ANLG_DOCK_HEADSET = AUDIO_DEVICE_BIT_IN | 0x200, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:797:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 797 | AUDIO_DEVICE_IN_DGTL_DOCK_HEADSET = AUDIO_DEVICE_BIT_IN | 0x400, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:798:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 798 | AUDIO_DEVICE_IN_USB_ACCESSORY = AUDIO_DEVICE_BIT_IN | 0x800, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:799:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 799 | AUDIO_DEVICE_IN_USB_DEVICE = AUDIO_DEVICE_BIT_IN | 0x1000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:801:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 801 | AUDIO_DEVICE_IN_FM_TUNER = AUDIO_DEVICE_BIT_IN | 0x2000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:803:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 803 | AUDIO_DEVICE_IN_TV_TUNER = AUDIO_DEVICE_BIT_IN | 0x4000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:805:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 805 | AUDIO_DEVICE_IN_LINE = AUDIO_DEVICE_BIT_IN | 0x8000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:807:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 807 | AUDIO_DEVICE_IN_SPDIF = AUDIO_DEVICE_BIT_IN | 0x10000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:808:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 808 | AUDIO_DEVICE_IN_BLUETOOTH_A2DP = AUDIO_DEVICE_BIT_IN | 0x20000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:809:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 809 | AUDIO_DEVICE_IN_LOOPBACK = AUDIO_DEVICE_BIT_IN | 0x40000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:810:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 810 | AUDIO_DEVICE_IN_IP = AUDIO_DEVICE_BIT_IN | 0x80000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:812:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 812 | AUDIO_DEVICE_IN_BUS = AUDIO_DEVICE_BIT_IN | 0x100000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:813:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 813 | AUDIO_DEVICE_IN_PROXY = AUDIO_DEVICE_BIT_IN | 0x1000000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:814:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 814 | AUDIO_DEVICE_IN_DEFAULT = AUDIO_DEVICE_BIT_IN | AUDIO_DEVICE_BIT_DEFAULT, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:816:31: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 816 | AUDIO_DEVICE_IN_ALL = (AUDIO_DEVICE_IN_COMMUNICATION | | ^ /usr/include/android-7.1-caf/system/audio.h:839:31: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 839 | AUDIO_DEVICE_IN_ALL_SCO = AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:840:32: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 840 | AUDIO_DEVICE_IN_ALL_USB = (AUDIO_DEVICE_IN_USB_ACCESSORY | | ^ /usr/include/android-7.1-caf/system/audio.h:966:12: warning: obsolete use of designated initializer with ':' [-Wpedantic] 966 | version: AUDIO_OFFLOAD_INFO_VERSION_CURRENT, | ^ /usr/include/android-7.1-caf/system/audio.h:967:9: warning: obsolete use of designated initializer with ':' [-Wpedantic] 967 | size: sizeof(audio_offload_info_t), | ^ /usr/include/android-7.1-caf/system/audio.h:968:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 968 | sample_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:969:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 969 | channel_mask: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:970:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 970 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1-caf/system/audio.h:971:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 971 | stream_type: AUDIO_STREAM_VOICE_CALL, | ^ /usr/include/android-7.1-caf/system/audio.h:972:13: warning: obsolete use of designated initializer with ':' [-Wpedantic] 972 | bit_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:973:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 973 | duration_us: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:974:14: warning: obsolete use of designated initializer with ':' [-Wpedantic] 974 | has_video: false, | ^ /usr/include/android-7.1-caf/system/audio.h:975:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 975 | is_streaming: false, | ^ /usr/include/android-7.1-caf/system/audio.h:976:14: warning: obsolete use of designated initializer with ':' [-Wpedantic] 976 | bit_width: 16, | ^ /usr/include/android-7.1-caf/system/audio.h:977:24: warning: obsolete use of designated initializer with ':' [-Wpedantic] 977 | offload_buffer_size: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:978:10: warning: obsolete use of designated initializer with ':' [-Wpedantic] 978 | usage: AUDIO_USAGE_UNKNOWN, | ^ /usr/include/android-7.1-caf/system/audio.h:995:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 995 | sample_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:996:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 996 | channel_mask: AUDIO_CHANNEL_NONE, | ^ /usr/include/android-7.1-caf/system/audio.h:997:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 997 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1-caf/system/audio.h:998:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 998 | offload_info: { | ^ /usr/include/android-7.1-caf/system/audio.h:999:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 999 | version: AUDIO_OFFLOAD_INFO_VERSION_CURRENT, | ^ /usr/include/android-7.1-caf/system/audio.h:1000:13: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1000 | size: sizeof(audio_offload_info_t), | ^ /usr/include/android-7.1-caf/system/audio.h:1001:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1001 | sample_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1002:21: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1002 | channel_mask: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1003:15: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1003 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1-caf/system/audio.h:1004:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1004 | stream_type: AUDIO_STREAM_VOICE_CALL, | ^ /usr/include/android-7.1-caf/system/audio.h:1005:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1005 | bit_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1006:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1006 | duration_us: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1007:18: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1007 | has_video: false, | ^ /usr/include/android-7.1-caf/system/audio.h:1008:21: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1008 | is_streaming: false | ^ /usr/include/android-7.1-caf/system/audio.h:1010:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1010 | frame_count: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1022:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1022 | sample_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1023:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1023 | channel_mask: AUDIO_CHANNEL_NONE, | ^ /usr/include/android-7.1-caf/system/audio.h:1024:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1024 | format: AUDIO_FORMAT_DEFAULT | ^ /usr/include/android-7.1-caf/system/audio.h: In function 'audio_device_address_to_parameter': /usr/include/android-7.1-caf/system/audio.h:1672:5: warning: ISO C90 forbids array 'param' whose size can't be evaluated [-Wvla] 1672 | char param[kSize]; | ^~~~ In file included from /usr/include/android-7.1-caf/hardware/audio_effect.h:24, from /usr/include/android-7.1-caf/hardware/audio.h:30, from ../../src/common/include/droid/version.h:31, from conversion.c:26: /usr/include/sys/cdefs.h: At top level: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ CC libdroid_util_la-config-parser-xml.lo In file included from /usr/include/android-7.1-caf/hardware/audio.h:23, from ../../src/common/include/droid/version.h:31, from droid-util.c:63: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1-caf/cutils/bitops.h:23, from /usr/include/android-7.1-caf/hardware/audio.h:26, from ../../src/common/include/droid/version.h:31, from droid-util.c:63: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1-caf/hardware/hardware.h:21, from /usr/include/android-7.1-caf/hardware/audio.h:28, from ../../src/common/include/droid/version.h:31, from droid-util.c:63: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1-caf/hardware/hardware.h:23, from /usr/include/android-7.1-caf/hardware/audio.h:28, from ../../src/common/include/droid/version.h:31, from droid-util.c:63: /usr/include/android-7.1-caf/cutils/native_handle.h:29:9: warning: ISO C forbids zero-size array 'data' [-Wpedantic] 29 | int data[0]; /* numFds + numInts ints */ | ^~~~ In file included from /usr/include/android-7.1-caf/system/audio.h:24, from /usr/include/android-7.1-caf/hardware/audio.h:29, from ../../src/common/include/droid/version.h:31, from droid-util.c:63: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1-caf/hardware/audio.h:29, from ../../src/common/include/droid/version.h:31, from droid-util.c:63: /usr/include/android-7.1-caf/system/audio.h:302:40: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 302 | AUDIO_FORMAT_INVALID = 0xFFFFFFFFUL, | ^~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:340:40: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 340 | AUDIO_FORMAT_MAIN_MASK = 0xFF000000UL, /* Deprecated. Use audio_get_main_format() */ | ^~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:411:47: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 411 | AUDIO_CHANNEL_INVALID = 0xC0000000, | ^~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:610:32: warning: enumerator value for 'AUDIO_CHANNEL_INDEX_HDR' is not an integer constant expression [-Wpedantic] 610 | AUDIO_CHANNEL_INDEX_HDR = AUDIO_CHANNEL_REPRESENTATION_INDEX << AUDIO_CHANNEL_COUNT_MAX, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:706:50: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 706 | AUDIO_DEVICE_BIT_IN = 0x80000000, | ^~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:784:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 784 | AUDIO_DEVICE_IN_COMMUNICATION = AUDIO_DEVICE_BIT_IN | 0x1, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:785:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 785 | AUDIO_DEVICE_IN_AMBIENT = AUDIO_DEVICE_BIT_IN | 0x2, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:786:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 786 | AUDIO_DEVICE_IN_BUILTIN_MIC = AUDIO_DEVICE_BIT_IN | 0x4, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:787:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 787 | AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET = AUDIO_DEVICE_BIT_IN | 0x8, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:788:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 788 | AUDIO_DEVICE_IN_WIRED_HEADSET = AUDIO_DEVICE_BIT_IN | 0x10, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:789:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 789 | AUDIO_DEVICE_IN_AUX_DIGITAL = AUDIO_DEVICE_BIT_IN | 0x20, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:790:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 790 | AUDIO_DEVICE_IN_HDMI = AUDIO_DEVICE_IN_AUX_DIGITAL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:792:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 792 | AUDIO_DEVICE_IN_VOICE_CALL = AUDIO_DEVICE_BIT_IN | 0x40, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:793:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 793 | AUDIO_DEVICE_IN_TELEPHONY_RX = AUDIO_DEVICE_IN_VOICE_CALL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:794:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 794 | AUDIO_DEVICE_IN_BACK_MIC = AUDIO_DEVICE_BIT_IN | 0x80, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:795:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 795 | AUDIO_DEVICE_IN_REMOTE_SUBMIX = AUDIO_DEVICE_BIT_IN | 0x100, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:796:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 796 | AUDIO_DEVICE_IN_ANLG_DOCK_HEADSET = AUDIO_DEVICE_BIT_IN | 0x200, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:797:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 797 | AUDIO_DEVICE_IN_DGTL_DOCK_HEADSET = AUDIO_DEVICE_BIT_IN | 0x400, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:798:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 798 | AUDIO_DEVICE_IN_USB_ACCESSORY = AUDIO_DEVICE_BIT_IN | 0x800, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:799:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 799 | AUDIO_DEVICE_IN_USB_DEVICE = AUDIO_DEVICE_BIT_IN | 0x1000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:801:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 801 | AUDIO_DEVICE_IN_FM_TUNER = AUDIO_DEVICE_BIT_IN | 0x2000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:803:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 803 | AUDIO_DEVICE_IN_TV_TUNER = AUDIO_DEVICE_BIT_IN | 0x4000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:805:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 805 | AUDIO_DEVICE_IN_LINE = AUDIO_DEVICE_BIT_IN | 0x8000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:807:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 807 | AUDIO_DEVICE_IN_SPDIF = AUDIO_DEVICE_BIT_IN | 0x10000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:808:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 808 | AUDIO_DEVICE_IN_BLUETOOTH_A2DP = AUDIO_DEVICE_BIT_IN | 0x20000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:809:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 809 | AUDIO_DEVICE_IN_LOOPBACK = AUDIO_DEVICE_BIT_IN | 0x40000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:810:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 810 | AUDIO_DEVICE_IN_IP = AUDIO_DEVICE_BIT_IN | 0x80000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:812:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 812 | AUDIO_DEVICE_IN_BUS = AUDIO_DEVICE_BIT_IN | 0x100000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:813:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 813 | AUDIO_DEVICE_IN_PROXY = AUDIO_DEVICE_BIT_IN | 0x1000000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:814:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 814 | AUDIO_DEVICE_IN_DEFAULT = AUDIO_DEVICE_BIT_IN | AUDIO_DEVICE_BIT_DEFAULT, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:816:31: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 816 | AUDIO_DEVICE_IN_ALL = (AUDIO_DEVICE_IN_COMMUNICATION | | ^ /usr/include/android-7.1-caf/system/audio.h:839:31: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 839 | AUDIO_DEVICE_IN_ALL_SCO = AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:840:32: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 840 | AUDIO_DEVICE_IN_ALL_USB = (AUDIO_DEVICE_IN_USB_ACCESSORY | | ^ /usr/include/android-7.1-caf/system/audio.h:966:12: warning: obsolete use of designated initializer with ':' [-Wpedantic] 966 | version: AUDIO_OFFLOAD_INFO_VERSION_CURRENT, | ^ /usr/include/android-7.1-caf/system/audio.h:967:9: warning: obsolete use of designated initializer with ':' [-Wpedantic] 967 | size: sizeof(audio_offload_info_t), | ^ /usr/include/android-7.1-caf/system/audio.h:968:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 968 | sample_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:969:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 969 | channel_mask: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:970:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 970 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1-caf/system/audio.h:971:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 971 | stream_type: AUDIO_STREAM_VOICE_CALL, | ^ /usr/include/android-7.1-caf/system/audio.h:972:13: warning: obsolete use of designated initializer with ':' [-Wpedantic] 972 | bit_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:973:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 973 | duration_us: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:974:14: warning: obsolete use of designated initializer with ':' [-Wpedantic] 974 | has_video: false, | ^ /usr/include/android-7.1-caf/system/audio.h:975:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 975 | is_streaming: false, | ^ /usr/include/android-7.1-caf/system/audio.h:976:14: warning: obsolete use of designated initializer with ':' [-Wpedantic] 976 | bit_width: 16, | ^ /usr/include/android-7.1-caf/system/audio.h:977:24: warning: obsolete use of designated initializer with ':' [-Wpedantic] 977 | offload_buffer_size: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:978:10: warning: obsolete use of designated initializer with ':' [-Wpedantic] 978 | usage: AUDIO_USAGE_UNKNOWN, | ^ /usr/include/android-7.1-caf/system/audio.h:995:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 995 | sample_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:996:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 996 | channel_mask: AUDIO_CHANNEL_NONE, | ^ /usr/include/android-7.1-caf/system/audio.h:997:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 997 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1-caf/system/audio.h:998:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 998 | offload_info: { | ^ /usr/include/android-7.1-caf/system/audio.h:999:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 999 | version: AUDIO_OFFLOAD_INFO_VERSION_CURRENT, | ^ /usr/include/android-7.1-caf/system/audio.h:1000:13: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1000 | size: sizeof(audio_offload_info_t), | ^ /usr/include/android-7.1-caf/system/audio.h:1001:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1001 | sample_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1002:21: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1002 | channel_mask: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1003:15: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1003 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1-caf/system/audio.h:1004:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1004 | stream_type: AUDIO_STREAM_VOICE_CALL, | ^ /usr/include/android-7.1-caf/system/audio.h:1005:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1005 | bit_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1006:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1006 | duration_us: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1007:18: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1007 | has_video: false, | ^ /usr/include/android-7.1-caf/system/audio.h:1008:21: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1008 | is_streaming: false | ^ /usr/include/android-7.1-caf/system/audio.h:1010:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1010 | frame_count: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1022:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1022 | sample_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1023:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1023 | channel_mask: AUDIO_CHANNEL_NONE, | ^ /usr/include/android-7.1-caf/system/audio.h:1024:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1024 | format: AUDIO_FORMAT_DEFAULT | ^ /usr/include/android-7.1-caf/system/audio.h: In function 'audio_device_address_to_parameter': /usr/include/android-7.1-caf/system/audio.h:1672:5: warning: ISO C90 forbids array 'param' whose size can't be evaluated [-Wvla] 1672 | char param[kSize]; | ^~~~ In file included from /usr/include/android-7.1-caf/hardware/audio_effect.h:24, from /usr/include/android-7.1-caf/hardware/audio.h:30, from ../../src/common/include/droid/version.h:31, from droid-util.c:63: /usr/include/sys/cdefs.h: At top level: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ droid-util.c:90:27: warning: 'droid_combined_auto_inputs' defined but not used [-Wunused-const-variable=] 90 | static const char * const droid_combined_auto_inputs[2] = { "primary", NULL }; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ droid-util.c:89:27: warning: 'droid_combined_auto_outputs' defined but not used [-Wunused-const-variable=] 89 | static const char * const droid_combined_auto_outputs[3] = { "primary", "low_latency", NULL }; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from droid-util.c:64: droid-util.c: In function 'input_stream_set_route': ../../src/common/include/droid/droid-util.h:239:20: warning: inlining failed in call to 'pa_droid_quirk': call is unlikely and code size would grow [-Winline] 239 | static inline bool pa_droid_quirk(pa_droid_hw_module *hw, enum pa_droid_quirk_type quirk) { | ^~~~~~~~~~~~~~ droid-util.c:1694:13: note: called from here 1694 | if (pa_droid_quirk(s->module, QUIRK_INPUT_ATOI)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from droid-util.c:64: ../../src/common/include/droid/droid-util.h:239:20: warning: inlining failed in call to 'pa_droid_quirk': call is unlikely and code size would grow [-Winline] 239 | static inline bool pa_droid_quirk(pa_droid_hw_module *hw, enum pa_droid_quirk_type quirk) { | ^~~~~~~~~~~~~~ droid-util.c:1707:9: note: called from here 1707 | if (pa_droid_quirk(s->module, QUIRK_SET_PARAMETERS)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from droid-util.c:64: droid-util.c: In function 'pa_droid_hw_module_unref': ../../src/common/include/droid/droid-util.h:239:20: warning: inlining failed in call to 'pa_droid_quirk': call is unlikely and code size would grow [-Winline] 239 | static inline bool pa_droid_quirk(pa_droid_hw_module *hw, enum pa_droid_quirk_type quirk) { | ^~~~~~~~~~~~~~ droid-util.c:1152:13: note: called from here 1152 | if (pa_droid_quirk(hw, QUIRK_UNLOAD_CALL_EXIT)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from droid-util.c:64: ../../src/common/include/droid/droid-util.h:239:20: warning: inlining failed in call to 'pa_droid_quirk': call is unlikely and code size would grow [-Winline] 239 | static inline bool pa_droid_quirk(pa_droid_hw_module *hw, enum pa_droid_quirk_type quirk) { | ^~~~~~~~~~~~~~ droid-util.c:1154:19: note: called from here 1154 | else if (!pa_droid_quirk(hw, QUIRK_UNLOAD_NO_CLOSE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from droid-util.c:64: droid-util.c: In function 'pa_droid_stream_suspend': ../../src/common/include/droid/droid-util.h:239:20: warning: inlining failed in call to 'pa_droid_quirk': call is unlikely and code size would grow [-Winline] 239 | static inline bool pa_droid_quirk(pa_droid_hw_module *hw, enum pa_droid_quirk_type quirk) { | ^~~~~~~~~~~~~~ droid-util.c:1826:41: note: called from here 1826 | if (s->input->merged || pa_droid_quirk(s->module, QUIRK_CLOSE_INPUT)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from droid-util.c:64: ../../src/common/include/droid/droid-util.h:239:20: warning: inlining failed in call to 'pa_droid_quirk': call is unlikely and code size would grow [-Winline] 239 | static inline bool pa_droid_quirk(pa_droid_hw_module *hw, enum pa_droid_quirk_type quirk) { | ^~~~~~~~~~~~~~ droid-util.c:1832:40: note: called from here 1832 | } else if (s->input->merged || pa_droid_quirk(s->module, QUIRK_CLOSE_INPUT)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from droid-util.c:64: droid-util.c: In function 'pa_droid_open_input_stream': ../../src/common/include/droid/droid-util.h:239:20: warning: inlining failed in call to 'pa_droid_quirk': call is unlikely and code size would grow [-Winline] 239 | static inline bool pa_droid_quirk(pa_droid_hw_module *hw, enum pa_droid_quirk_type quirk) { | ^~~~~~~~~~~~~~ droid-util.c:1549:31: note: called from here 1549 | if (!s->input->merged && !pa_droid_quirk(module, QUIRK_CLOSE_INPUT)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/android-7.1-caf/hardware/audio.h:23, from ../../src/common/include/droid/version.h:31, from config-parser-legacy.c:34: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1-caf/cutils/bitops.h:23, from /usr/include/android-7.1-caf/hardware/audio.h:26, from ../../src/common/include/droid/version.h:31, from config-parser-legacy.c:34: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1-caf/hardware/hardware.h:21, from /usr/include/android-7.1-caf/hardware/audio.h:28, from ../../src/common/include/droid/version.h:31, from config-parser-legacy.c:34: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1-caf/hardware/hardware.h:23, from /usr/include/android-7.1-caf/hardware/audio.h:28, from ../../src/common/include/droid/version.h:31, from config-parser-legacy.c:34: /usr/include/android-7.1-caf/cutils/native_handle.h:29:9: warning: ISO C forbids zero-size array 'data' [-Wpedantic] 29 | int data[0]; /* numFds + numInts ints */ | ^~~~ In file included from /usr/include/android-7.1-caf/system/audio.h:24, from /usr/include/android-7.1-caf/hardware/audio.h:29, from ../../src/common/include/droid/version.h:31, from config-parser-legacy.c:34: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1-caf/hardware/audio.h:29, from ../../src/common/include/droid/version.h:31, from config-parser-legacy.c:34: /usr/include/android-7.1-caf/system/audio.h:302:40: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 302 | AUDIO_FORMAT_INVALID = 0xFFFFFFFFUL, | ^~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:340:40: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 340 | AUDIO_FORMAT_MAIN_MASK = 0xFF000000UL, /* Deprecated. Use audio_get_main_format() */ | ^~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:411:47: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 411 | AUDIO_CHANNEL_INVALID = 0xC0000000, | ^~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:610:32: warning: enumerator value for 'AUDIO_CHANNEL_INDEX_HDR' is not an integer constant expression [-Wpedantic] 610 | AUDIO_CHANNEL_INDEX_HDR = AUDIO_CHANNEL_REPRESENTATION_INDEX << AUDIO_CHANNEL_COUNT_MAX, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:706:50: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 706 | AUDIO_DEVICE_BIT_IN = 0x80000000, | ^~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:784:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 784 | AUDIO_DEVICE_IN_COMMUNICATION = AUDIO_DEVICE_BIT_IN | 0x1, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:785:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 785 | AUDIO_DEVICE_IN_AMBIENT = AUDIO_DEVICE_BIT_IN | 0x2, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:786:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 786 | AUDIO_DEVICE_IN_BUILTIN_MIC = AUDIO_DEVICE_BIT_IN | 0x4, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:787:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 787 | AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET = AUDIO_DEVICE_BIT_IN | 0x8, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:788:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 788 | AUDIO_DEVICE_IN_WIRED_HEADSET = AUDIO_DEVICE_BIT_IN | 0x10, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:789:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 789 | AUDIO_DEVICE_IN_AUX_DIGITAL = AUDIO_DEVICE_BIT_IN | 0x20, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:790:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 790 | AUDIO_DEVICE_IN_HDMI = AUDIO_DEVICE_IN_AUX_DIGITAL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:792:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 792 | AUDIO_DEVICE_IN_VOICE_CALL = AUDIO_DEVICE_BIT_IN | 0x40, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:793:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 793 | AUDIO_DEVICE_IN_TELEPHONY_RX = AUDIO_DEVICE_IN_VOICE_CALL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:794:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 794 | AUDIO_DEVICE_IN_BACK_MIC = AUDIO_DEVICE_BIT_IN | 0x80, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:795:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 795 | AUDIO_DEVICE_IN_REMOTE_SUBMIX = AUDIO_DEVICE_BIT_IN | 0x100, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:796:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 796 | AUDIO_DEVICE_IN_ANLG_DOCK_HEADSET = AUDIO_DEVICE_BIT_IN | 0x200, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:797:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 797 | AUDIO_DEVICE_IN_DGTL_DOCK_HEADSET = AUDIO_DEVICE_BIT_IN | 0x400, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:798:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 798 | AUDIO_DEVICE_IN_USB_ACCESSORY = AUDIO_DEVICE_BIT_IN | 0x800, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:799:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 799 | AUDIO_DEVICE_IN_USB_DEVICE = AUDIO_DEVICE_BIT_IN | 0x1000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:801:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 801 | AUDIO_DEVICE_IN_FM_TUNER = AUDIO_DEVICE_BIT_IN | 0x2000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:803:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 803 | AUDIO_DEVICE_IN_TV_TUNER = AUDIO_DEVICE_BIT_IN | 0x4000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:805:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 805 | AUDIO_DEVICE_IN_LINE = AUDIO_DEVICE_BIT_IN | 0x8000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:807:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 807 | AUDIO_DEVICE_IN_SPDIF = AUDIO_DEVICE_BIT_IN | 0x10000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:808:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 808 | AUDIO_DEVICE_IN_BLUETOOTH_A2DP = AUDIO_DEVICE_BIT_IN | 0x20000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:809:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 809 | AUDIO_DEVICE_IN_LOOPBACK = AUDIO_DEVICE_BIT_IN | 0x40000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:810:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 810 | AUDIO_DEVICE_IN_IP = AUDIO_DEVICE_BIT_IN | 0x80000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:812:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 812 | AUDIO_DEVICE_IN_BUS = AUDIO_DEVICE_BIT_IN | 0x100000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:813:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 813 | AUDIO_DEVICE_IN_PROXY = AUDIO_DEVICE_BIT_IN | 0x1000000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:814:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 814 | AUDIO_DEVICE_IN_DEFAULT = AUDIO_DEVICE_BIT_IN | AUDIO_DEVICE_BIT_DEFAULT, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:816:31: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 816 | AUDIO_DEVICE_IN_ALL = (AUDIO_DEVICE_IN_COMMUNICATION | | ^ /usr/include/android-7.1-caf/system/audio.h:839:31: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 839 | AUDIO_DEVICE_IN_ALL_SCO = AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:840:32: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 840 | AUDIO_DEVICE_IN_ALL_USB = (AUDIO_DEVICE_IN_USB_ACCESSORY | | ^ /usr/include/android-7.1-caf/system/audio.h:966:12: warning: obsolete use of designated initializer with ':' [-Wpedantic] 966 | version: AUDIO_OFFLOAD_INFO_VERSION_CURRENT, | ^ /usr/include/android-7.1-caf/system/audio.h:967:9: warning: obsolete use of designated initializer with ':' [-Wpedantic] 967 | size: sizeof(audio_offload_info_t), | ^ /usr/include/android-7.1-caf/system/audio.h:968:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 968 | sample_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:969:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 969 | channel_mask: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:970:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 970 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1-caf/system/audio.h:971:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 971 | stream_type: AUDIO_STREAM_VOICE_CALL, | ^ /usr/include/android-7.1-caf/system/audio.h:972:13: warning: obsolete use of designated initializer with ':' [-Wpedantic] 972 | bit_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:973:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 973 | duration_us: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:974:14: warning: obsolete use of designated initializer with ':' [-Wpedantic] 974 | has_video: false, | ^ /usr/include/android-7.1-caf/system/audio.h:975:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 975 | is_streaming: false, | ^ /usr/include/android-7.1-caf/system/audio.h:976:14: warning: obsolete use of designated initializer with ':' [-Wpedantic] 976 | bit_width: 16, | ^ /usr/include/android-7.1-caf/system/audio.h:977:24: warning: obsolete use of designated initializer with ':' [-Wpedantic] 977 | offload_buffer_size: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:978:10: warning: obsolete use of designated initializer with ':' [-Wpedantic] 978 | usage: AUDIO_USAGE_UNKNOWN, | ^ /usr/include/android-7.1-caf/system/audio.h:995:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 995 | sample_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:996:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 996 | channel_mask: AUDIO_CHANNEL_NONE, | ^ /usr/include/android-7.1-caf/system/audio.h:997:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 997 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1-caf/system/audio.h:998:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 998 | offload_info: { | ^ /usr/include/android-7.1-caf/system/audio.h:999:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 999 | version: AUDIO_OFFLOAD_INFO_VERSION_CURRENT, | ^ /usr/include/android-7.1-caf/system/audio.h:1000:13: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1000 | size: sizeof(audio_offload_info_t), | ^ /usr/include/android-7.1-caf/system/audio.h:1001:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1001 | sample_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1002:21: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1002 | channel_mask: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1003:15: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1003 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1-caf/system/audio.h:1004:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1004 | stream_type: AUDIO_STREAM_VOICE_CALL, | ^ /usr/include/android-7.1-caf/system/audio.h:1005:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1005 | bit_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1006:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1006 | duration_us: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1007:18: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1007 | has_video: false, | ^ /usr/include/android-7.1-caf/system/audio.h:1008:21: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1008 | is_streaming: false | ^ /usr/include/android-7.1-caf/system/audio.h:1010:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1010 | frame_count: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1022:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1022 | sample_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1023:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1023 | channel_mask: AUDIO_CHANNEL_NONE, | ^ /usr/include/android-7.1-caf/system/audio.h:1024:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1024 | format: AUDIO_FORMAT_DEFAULT | ^ /usr/include/android-7.1-caf/system/audio.h: In function 'audio_device_address_to_parameter': /usr/include/android-7.1-caf/system/audio.h:1672:5: warning: ISO C90 forbids array 'param' whose size can't be evaluated [-Wvla] 1672 | char param[kSize]; | ^~~~ In file included from /usr/include/android-7.1-caf/hardware/audio_effect.h:24, from /usr/include/android-7.1-caf/hardware/audio.h:30, from ../../src/common/include/droid/version.h:31, from config-parser-legacy.c:34: /usr/include/sys/cdefs.h: At top level: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1-caf/hardware/audio.h:23, from ../../src/common/include/droid/droid-config.h:31, from config-parser-xml.c:27: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1-caf/cutils/bitops.h:23, from /usr/include/android-7.1-caf/hardware/audio.h:26, from ../../src/common/include/droid/droid-config.h:31, from config-parser-xml.c:27: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1-caf/hardware/hardware.h:21, from /usr/include/android-7.1-caf/hardware/audio.h:28, from ../../src/common/include/droid/droid-config.h:31, from config-parser-xml.c:27: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1-caf/hardware/hardware.h:23, from /usr/include/android-7.1-caf/hardware/audio.h:28, from ../../src/common/include/droid/droid-config.h:31, from config-parser-xml.c:27: /usr/include/android-7.1-caf/cutils/native_handle.h:29:9: warning: ISO C forbids zero-size array 'data' [-Wpedantic] 29 | int data[0]; /* numFds + numInts ints */ | ^~~~ In file included from /usr/include/android-7.1-caf/system/audio.h:24, from /usr/include/android-7.1-caf/hardware/audio.h:29, from ../../src/common/include/droid/droid-config.h:31, from config-parser-xml.c:27: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1-caf/hardware/audio.h:29, from ../../src/common/include/droid/droid-config.h:31, from config-parser-xml.c:27: /usr/include/android-7.1-caf/system/audio.h:302:40: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 302 | AUDIO_FORMAT_INVALID = 0xFFFFFFFFUL, | ^~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:340:40: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 340 | AUDIO_FORMAT_MAIN_MASK = 0xFF000000UL, /* Deprecated. Use audio_get_main_format() */ | ^~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:411:47: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 411 | AUDIO_CHANNEL_INVALID = 0xC0000000, | ^~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:610:32: warning: enumerator value for 'AUDIO_CHANNEL_INDEX_HDR' is not an integer constant expression [-Wpedantic] 610 | AUDIO_CHANNEL_INDEX_HDR = AUDIO_CHANNEL_REPRESENTATION_INDEX << AUDIO_CHANNEL_COUNT_MAX, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:706:50: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 706 | AUDIO_DEVICE_BIT_IN = 0x80000000, | ^~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:784:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 784 | AUDIO_DEVICE_IN_COMMUNICATION = AUDIO_DEVICE_BIT_IN | 0x1, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:785:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 785 | AUDIO_DEVICE_IN_AMBIENT = AUDIO_DEVICE_BIT_IN | 0x2, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:786:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 786 | AUDIO_DEVICE_IN_BUILTIN_MIC = AUDIO_DEVICE_BIT_IN | 0x4, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:787:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 787 | AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET = AUDIO_DEVICE_BIT_IN | 0x8, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:788:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 788 | AUDIO_DEVICE_IN_WIRED_HEADSET = AUDIO_DEVICE_BIT_IN | 0x10, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:789:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 789 | AUDIO_DEVICE_IN_AUX_DIGITAL = AUDIO_DEVICE_BIT_IN | 0x20, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:790:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 790 | AUDIO_DEVICE_IN_HDMI = AUDIO_DEVICE_IN_AUX_DIGITAL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:792:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 792 | AUDIO_DEVICE_IN_VOICE_CALL = AUDIO_DEVICE_BIT_IN | 0x40, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:793:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 793 | AUDIO_DEVICE_IN_TELEPHONY_RX = AUDIO_DEVICE_IN_VOICE_CALL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:794:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 794 | AUDIO_DEVICE_IN_BACK_MIC = AUDIO_DEVICE_BIT_IN | 0x80, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:795:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 795 | AUDIO_DEVICE_IN_REMOTE_SUBMIX = AUDIO_DEVICE_BIT_IN | 0x100, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:796:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 796 | AUDIO_DEVICE_IN_ANLG_DOCK_HEADSET = AUDIO_DEVICE_BIT_IN | 0x200, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:797:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 797 | AUDIO_DEVICE_IN_DGTL_DOCK_HEADSET = AUDIO_DEVICE_BIT_IN | 0x400, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:798:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 798 | AUDIO_DEVICE_IN_USB_ACCESSORY = AUDIO_DEVICE_BIT_IN | 0x800, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:799:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 799 | AUDIO_DEVICE_IN_USB_DEVICE = AUDIO_DEVICE_BIT_IN | 0x1000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:801:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 801 | AUDIO_DEVICE_IN_FM_TUNER = AUDIO_DEVICE_BIT_IN | 0x2000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:803:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 803 | AUDIO_DEVICE_IN_TV_TUNER = AUDIO_DEVICE_BIT_IN | 0x4000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:805:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 805 | AUDIO_DEVICE_IN_LINE = AUDIO_DEVICE_BIT_IN | 0x8000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:807:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 807 | AUDIO_DEVICE_IN_SPDIF = AUDIO_DEVICE_BIT_IN | 0x10000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:808:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 808 | AUDIO_DEVICE_IN_BLUETOOTH_A2DP = AUDIO_DEVICE_BIT_IN | 0x20000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:809:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 809 | AUDIO_DEVICE_IN_LOOPBACK = AUDIO_DEVICE_BIT_IN | 0x40000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:810:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 810 | AUDIO_DEVICE_IN_IP = AUDIO_DEVICE_BIT_IN | 0x80000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:812:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 812 | AUDIO_DEVICE_IN_BUS = AUDIO_DEVICE_BIT_IN | 0x100000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:813:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 813 | AUDIO_DEVICE_IN_PROXY = AUDIO_DEVICE_BIT_IN | 0x1000000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:814:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 814 | AUDIO_DEVICE_IN_DEFAULT = AUDIO_DEVICE_BIT_IN | AUDIO_DEVICE_BIT_DEFAULT, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:816:31: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 816 | AUDIO_DEVICE_IN_ALL = (AUDIO_DEVICE_IN_COMMUNICATION | | ^ /usr/include/android-7.1-caf/system/audio.h:839:31: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 839 | AUDIO_DEVICE_IN_ALL_SCO = AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:840:32: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 840 | AUDIO_DEVICE_IN_ALL_USB = (AUDIO_DEVICE_IN_USB_ACCESSORY | | ^ /usr/include/android-7.1-caf/system/audio.h:966:12: warning: obsolete use of designated initializer with ':' [-Wpedantic] 966 | version: AUDIO_OFFLOAD_INFO_VERSION_CURRENT, | ^ /usr/include/android-7.1-caf/system/audio.h:967:9: warning: obsolete use of designated initializer with ':' [-Wpedantic] 967 | size: sizeof(audio_offload_info_t), | ^ /usr/include/android-7.1-caf/system/audio.h:968:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 968 | sample_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:969:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 969 | channel_mask: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:970:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 970 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1-caf/system/audio.h:971:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 971 | stream_type: AUDIO_STREAM_VOICE_CALL, | ^ /usr/include/android-7.1-caf/system/audio.h:972:13: warning: obsolete use of designated initializer with ':' [-Wpedantic] 972 | bit_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:973:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 973 | duration_us: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:974:14: warning: obsolete use of designated initializer with ':' [-Wpedantic] 974 | has_video: false, | ^ /usr/include/android-7.1-caf/system/audio.h:975:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 975 | is_streaming: false, | ^ /usr/include/android-7.1-caf/system/audio.h:976:14: warning: obsolete use of designated initializer with ':' [-Wpedantic] 976 | bit_width: 16, | ^ /usr/include/android-7.1-caf/system/audio.h:977:24: warning: obsolete use of designated initializer with ':' [-Wpedantic] 977 | offload_buffer_size: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:978:10: warning: obsolete use of designated initializer with ':' [-Wpedantic] 978 | usage: AUDIO_USAGE_UNKNOWN, | ^ /usr/include/android-7.1-caf/system/audio.h:995:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 995 | sample_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:996:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 996 | channel_mask: AUDIO_CHANNEL_NONE, | ^ /usr/include/android-7.1-caf/system/audio.h:997:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 997 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1-caf/system/audio.h:998:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 998 | offload_info: { | ^ /usr/include/android-7.1-caf/system/audio.h:999:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 999 | version: AUDIO_OFFLOAD_INFO_VERSION_CURRENT, | ^ /usr/include/android-7.1-caf/system/audio.h:1000:13: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1000 | size: sizeof(audio_offload_info_t), | ^ /usr/include/android-7.1-caf/system/audio.h:1001:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1001 | sample_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1002:21: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1002 | channel_mask: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1003:15: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1003 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1-caf/system/audio.h:1004:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1004 | stream_type: AUDIO_STREAM_VOICE_CALL, | ^ /usr/include/android-7.1-caf/system/audio.h:1005:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1005 | bit_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1006:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1006 | duration_us: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1007:18: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1007 | has_video: false, | ^ /usr/include/android-7.1-caf/system/audio.h:1008:21: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1008 | is_streaming: false | ^ /usr/include/android-7.1-caf/system/audio.h:1010:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1010 | frame_count: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1022:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1022 | sample_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1023:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1023 | channel_mask: AUDIO_CHANNEL_NONE, | ^ /usr/include/android-7.1-caf/system/audio.h:1024:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1024 | format: AUDIO_FORMAT_DEFAULT | ^ /usr/include/android-7.1-caf/system/audio.h: In function 'audio_device_address_to_parameter': /usr/include/android-7.1-caf/system/audio.h:1672:5: warning: ISO C90 forbids array 'param' whose size can't be evaluated [-Wvla] 1672 | char param[kSize]; | ^~~~ In file included from /usr/include/android-7.1-caf/hardware/audio_effect.h:24, from /usr/include/android-7.1-caf/hardware/audio.h:30, from ../../src/common/include/droid/droid-config.h:31, from config-parser-xml.c:27: /usr/include/sys/cdefs.h: At top level: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ CCLD libdroid-util.la make[3]: Leaving directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src/common' Making all in droid make[3]: Entering directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src/droid' CC module_droid_keepalive_la-keepalive.lo CC libdroid_sink_la-droid-sink.lo CC libdroid_source_la-droid-source.lo CC module_droid_keepalive_la-module-droid-keepalive.lo In file included from /usr/include/android-7.1-caf/hardware/audio.h:23, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from droid-source.h:44, from droid-source.c:56: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1-caf/cutils/bitops.h:23, from /usr/include/android-7.1-caf/hardware/audio.h:26, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from droid-source.h:44, from droid-source.c:56: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1-caf/hardware/hardware.h:21, from /usr/include/android-7.1-caf/hardware/audio.h:28, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from droid-source.h:44, from droid-source.c:56: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1-caf/hardware/hardware.h:23, from /usr/include/android-7.1-caf/hardware/audio.h:28, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from droid-source.h:44, from droid-source.c:56: /usr/include/android-7.1-caf/cutils/native_handle.h:29:9: warning: ISO C forbids zero-size array 'data' [-Wpedantic] 29 | int data[0]; /* numFds + numInts ints */ | ^~~~ In file included from /usr/include/android-7.1-caf/system/audio.h:24, from /usr/include/android-7.1-caf/hardware/audio.h:29, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from droid-source.h:44, from droid-source.c:56: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1-caf/hardware/audio.h:29, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from droid-source.h:44, from droid-source.c:56: /usr/include/android-7.1-caf/system/audio.h:302:40: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 302 | AUDIO_FORMAT_INVALID = 0xFFFFFFFFUL, | ^~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:340:40: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 340 | AUDIO_FORMAT_MAIN_MASK = 0xFF000000UL, /* Deprecated. Use audio_get_main_format() */ | ^~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:411:47: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 411 | AUDIO_CHANNEL_INVALID = 0xC0000000, | ^~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:610:32: warning: enumerator value for 'AUDIO_CHANNEL_INDEX_HDR' is not an integer constant expression [-Wpedantic] 610 | AUDIO_CHANNEL_INDEX_HDR = AUDIO_CHANNEL_REPRESENTATION_INDEX << AUDIO_CHANNEL_COUNT_MAX, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:706:50: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 706 | AUDIO_DEVICE_BIT_IN = 0x80000000, | ^~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:784:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 784 | AUDIO_DEVICE_IN_COMMUNICATION = AUDIO_DEVICE_BIT_IN | 0x1, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:785:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 785 | AUDIO_DEVICE_IN_AMBIENT = AUDIO_DEVICE_BIT_IN | 0x2, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:786:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 786 | AUDIO_DEVICE_IN_BUILTIN_MIC = AUDIO_DEVICE_BIT_IN | 0x4, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:787:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 787 | AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET = AUDIO_DEVICE_BIT_IN | 0x8, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:788:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 788 | AUDIO_DEVICE_IN_WIRED_HEADSET = AUDIO_DEVICE_BIT_IN | 0x10, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:789:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 789 | AUDIO_DEVICE_IN_AUX_DIGITAL = AUDIO_DEVICE_BIT_IN | 0x20, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:790:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 790 | AUDIO_DEVICE_IN_HDMI = AUDIO_DEVICE_IN_AUX_DIGITAL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:792:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 792 | AUDIO_DEVICE_IN_VOICE_CALL = AUDIO_DEVICE_BIT_IN | 0x40, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:793:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 793 | AUDIO_DEVICE_IN_TELEPHONY_RX = AUDIO_DEVICE_IN_VOICE_CALL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:794:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 794 | AUDIO_DEVICE_IN_BACK_MIC = AUDIO_DEVICE_BIT_IN | 0x80, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:795:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 795 | AUDIO_DEVICE_IN_REMOTE_SUBMIX = AUDIO_DEVICE_BIT_IN | 0x100, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:796:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 796 | AUDIO_DEVICE_IN_ANLG_DOCK_HEADSET = AUDIO_DEVICE_BIT_IN | 0x200, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:797:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 797 | AUDIO_DEVICE_IN_DGTL_DOCK_HEADSET = AUDIO_DEVICE_BIT_IN | 0x400, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:798:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 798 | AUDIO_DEVICE_IN_USB_ACCESSORY = AUDIO_DEVICE_BIT_IN | 0x800, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:799:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 799 | AUDIO_DEVICE_IN_USB_DEVICE = AUDIO_DEVICE_BIT_IN | 0x1000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:801:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 801 | AUDIO_DEVICE_IN_FM_TUNER = AUDIO_DEVICE_BIT_IN | 0x2000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:803:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 803 | AUDIO_DEVICE_IN_TV_TUNER = AUDIO_DEVICE_BIT_IN | 0x4000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:805:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 805 | AUDIO_DEVICE_IN_LINE = AUDIO_DEVICE_BIT_IN | 0x8000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:807:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 807 | AUDIO_DEVICE_IN_SPDIF = AUDIO_DEVICE_BIT_IN | 0x10000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:808:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 808 | AUDIO_DEVICE_IN_BLUETOOTH_A2DP = AUDIO_DEVICE_BIT_IN | 0x20000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:809:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 809 | AUDIO_DEVICE_IN_LOOPBACK = AUDIO_DEVICE_BIT_IN | 0x40000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:810:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 810 | AUDIO_DEVICE_IN_IP = AUDIO_DEVICE_BIT_IN | 0x80000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:812:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 812 | AUDIO_DEVICE_IN_BUS = AUDIO_DEVICE_BIT_IN | 0x100000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:813:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 813 | AUDIO_DEVICE_IN_PROXY = AUDIO_DEVICE_BIT_IN | 0x1000000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:814:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 814 | AUDIO_DEVICE_IN_DEFAULT = AUDIO_DEVICE_BIT_IN | AUDIO_DEVICE_BIT_DEFAULT, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:816:31: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 816 | AUDIO_DEVICE_IN_ALL = (AUDIO_DEVICE_IN_COMMUNICATION | | ^ /usr/include/android-7.1-caf/system/audio.h:839:31: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 839 | AUDIO_DEVICE_IN_ALL_SCO = AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:840:32: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 840 | AUDIO_DEVICE_IN_ALL_USB = (AUDIO_DEVICE_IN_USB_ACCESSORY | | ^ /usr/include/android-7.1-caf/system/audio.h:966:12: warning: obsolete use of designated initializer with ':' [-Wpedantic] 966 | version: AUDIO_OFFLOAD_INFO_VERSION_CURRENT, | ^ /usr/include/android-7.1-caf/system/audio.h:967:9: warning: obsolete use of designated initializer with ':' [-Wpedantic] 967 | size: sizeof(audio_offload_info_t), | ^ /usr/include/android-7.1-caf/system/audio.h:968:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 968 | sample_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:969:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 969 | channel_mask: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:970:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 970 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1-caf/system/audio.h:971:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 971 | stream_type: AUDIO_STREAM_VOICE_CALL, | ^ /usr/include/android-7.1-caf/system/audio.h:972:13: warning: obsolete use of designated initializer with ':' [-Wpedantic] 972 | bit_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:973:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 973 | duration_us: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:974:14: warning: obsolete use of designated initializer with ':' [-Wpedantic] 974 | has_video: false, | ^ /usr/include/android-7.1-caf/system/audio.h:975:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 975 | is_streaming: false, | ^ /usr/include/android-7.1-caf/system/audio.h:976:14: warning: obsolete use of designated initializer with ':' [-Wpedantic] 976 | bit_width: 16, | ^ /usr/include/android-7.1-caf/system/audio.h:977:24: warning: obsolete use of designated initializer with ':' [-Wpedantic] 977 | offload_buffer_size: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:978:10: warning: obsolete use of designated initializer with ':' [-Wpedantic] 978 | usage: AUDIO_USAGE_UNKNOWN, | ^ /usr/include/android-7.1-caf/system/audio.h:995:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 995 | sample_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:996:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 996 | channel_mask: AUDIO_CHANNEL_NONE, | ^ /usr/include/android-7.1-caf/system/audio.h:997:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 997 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1-caf/system/audio.h:998:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 998 | offload_info: { | ^ /usr/include/android-7.1-caf/system/audio.h:999:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 999 | version: AUDIO_OFFLOAD_INFO_VERSION_CURRENT, | ^ /usr/include/android-7.1-caf/system/audio.h:1000:13: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1000 | size: sizeof(audio_offload_info_t), | ^ /usr/include/android-7.1-caf/system/audio.h:1001:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1001 | sample_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1002:21: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1002 | channel_mask: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1003:15: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1003 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1-caf/system/audio.h:1004:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1004 | stream_type: AUDIO_STREAM_VOICE_CALL, | ^ /usr/include/android-7.1-caf/system/audio.h:1005:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1005 | bit_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1006:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1006 | duration_us: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1007:18: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1007 | has_video: false, | ^ /usr/include/android-7.1-caf/system/audio.h:1008:21: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1008 | is_streaming: false | ^ /usr/include/android-7.1-caf/system/audio.h:1010:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1010 | frame_count: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1022:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1022 | sample_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1023:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1023 | channel_mask: AUDIO_CHANNEL_NONE, | ^ /usr/include/android-7.1-caf/system/audio.h:1024:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1024 | format: AUDIO_FORMAT_DEFAULT | ^ /usr/include/android-7.1-caf/system/audio.h: In function 'audio_device_address_to_parameter': /usr/include/android-7.1-caf/system/audio.h:1672:5: warning: ISO C90 forbids array 'param' whose size can't be evaluated [-Wvla] 1672 | char param[kSize]; | ^~~~ In file included from /usr/include/android-7.1-caf/hardware/audio_effect.h:24, from /usr/include/android-7.1-caf/hardware/audio.h:30, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from droid-source.h:44, from droid-source.c:56: /usr/include/sys/cdefs.h: At top level: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ droid-source.c: In function 'thread_func': droid-source.c:213:9: warning: implicit declaration of function 'pa_thread_make_realtime' [-Wimplicit-function-declaration] 213 | pa_thread_make_realtime(u->core->realtime_priority); | ^~~~~~~~~~~~~~~~~~~~~~~ CC module_droid_sink_la-module-droid-sink.lo In file included from /usr/include/android-7.1-caf/hardware/audio.h:23, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from droid-sink.h:44, from droid-sink.c:59: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1-caf/cutils/bitops.h:23, from /usr/include/android-7.1-caf/hardware/audio.h:26, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from droid-sink.h:44, from droid-sink.c:59: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1-caf/hardware/hardware.h:21, from /usr/include/android-7.1-caf/hardware/audio.h:28, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from droid-sink.h:44, from droid-sink.c:59: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1-caf/hardware/hardware.h:23, from /usr/include/android-7.1-caf/hardware/audio.h:28, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from droid-sink.h:44, from droid-sink.c:59: /usr/include/android-7.1-caf/cutils/native_handle.h:29:9: warning: ISO C forbids zero-size array 'data' [-Wpedantic] 29 | int data[0]; /* numFds + numInts ints */ | ^~~~ In file included from /usr/include/android-7.1-caf/system/audio.h:24, from /usr/include/android-7.1-caf/hardware/audio.h:29, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from droid-sink.h:44, from droid-sink.c:59: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1-caf/hardware/audio.h:29, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from droid-sink.h:44, from droid-sink.c:59: /usr/include/android-7.1-caf/system/audio.h:302:40: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 302 | AUDIO_FORMAT_INVALID = 0xFFFFFFFFUL, | ^~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:340:40: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 340 | AUDIO_FORMAT_MAIN_MASK = 0xFF000000UL, /* Deprecated. Use audio_get_main_format() */ | ^~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:411:47: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 411 | AUDIO_CHANNEL_INVALID = 0xC0000000, | ^~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:610:32: warning: enumerator value for 'AUDIO_CHANNEL_INDEX_HDR' is not an integer constant expression [-Wpedantic] 610 | AUDIO_CHANNEL_INDEX_HDR = AUDIO_CHANNEL_REPRESENTATION_INDEX << AUDIO_CHANNEL_COUNT_MAX, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:706:50: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 706 | AUDIO_DEVICE_BIT_IN = 0x80000000, | ^~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:784:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 784 | AUDIO_DEVICE_IN_COMMUNICATION = AUDIO_DEVICE_BIT_IN | 0x1, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:785:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 785 | AUDIO_DEVICE_IN_AMBIENT = AUDIO_DEVICE_BIT_IN | 0x2, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:786:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 786 | AUDIO_DEVICE_IN_BUILTIN_MIC = AUDIO_DEVICE_BIT_IN | 0x4, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:787:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 787 | AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET = AUDIO_DEVICE_BIT_IN | 0x8, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:788:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 788 | AUDIO_DEVICE_IN_WIRED_HEADSET = AUDIO_DEVICE_BIT_IN | 0x10, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:789:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 789 | AUDIO_DEVICE_IN_AUX_DIGITAL = AUDIO_DEVICE_BIT_IN | 0x20, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:790:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 790 | AUDIO_DEVICE_IN_HDMI = AUDIO_DEVICE_IN_AUX_DIGITAL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:792:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 792 | AUDIO_DEVICE_IN_VOICE_CALL = AUDIO_DEVICE_BIT_IN | 0x40, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:793:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 793 | AUDIO_DEVICE_IN_TELEPHONY_RX = AUDIO_DEVICE_IN_VOICE_CALL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:794:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 794 | AUDIO_DEVICE_IN_BACK_MIC = AUDIO_DEVICE_BIT_IN | 0x80, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:795:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 795 | AUDIO_DEVICE_IN_REMOTE_SUBMIX = AUDIO_DEVICE_BIT_IN | 0x100, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:796:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 796 | AUDIO_DEVICE_IN_ANLG_DOCK_HEADSET = AUDIO_DEVICE_BIT_IN | 0x200, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:797:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 797 | AUDIO_DEVICE_IN_DGTL_DOCK_HEADSET = AUDIO_DEVICE_BIT_IN | 0x400, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:798:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 798 | AUDIO_DEVICE_IN_USB_ACCESSORY = AUDIO_DEVICE_BIT_IN | 0x800, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:799:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 799 | AUDIO_DEVICE_IN_USB_DEVICE = AUDIO_DEVICE_BIT_IN | 0x1000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:801:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 801 | AUDIO_DEVICE_IN_FM_TUNER = AUDIO_DEVICE_BIT_IN | 0x2000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:803:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 803 | AUDIO_DEVICE_IN_TV_TUNER = AUDIO_DEVICE_BIT_IN | 0x4000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:805:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 805 | AUDIO_DEVICE_IN_LINE = AUDIO_DEVICE_BIT_IN | 0x8000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:807:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 807 | AUDIO_DEVICE_IN_SPDIF = AUDIO_DEVICE_BIT_IN | 0x10000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:808:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 808 | AUDIO_DEVICE_IN_BLUETOOTH_A2DP = AUDIO_DEVICE_BIT_IN | 0x20000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:809:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 809 | AUDIO_DEVICE_IN_LOOPBACK = AUDIO_DEVICE_BIT_IN | 0x40000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:810:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 810 | AUDIO_DEVICE_IN_IP = AUDIO_DEVICE_BIT_IN | 0x80000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:812:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 812 | AUDIO_DEVICE_IN_BUS = AUDIO_DEVICE_BIT_IN | 0x100000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:813:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 813 | AUDIO_DEVICE_IN_PROXY = AUDIO_DEVICE_BIT_IN | 0x1000000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:814:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 814 | AUDIO_DEVICE_IN_DEFAULT = AUDIO_DEVICE_BIT_IN | AUDIO_DEVICE_BIT_DEFAULT, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:816:31: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 816 | AUDIO_DEVICE_IN_ALL = (AUDIO_DEVICE_IN_COMMUNICATION | | ^ /usr/include/android-7.1-caf/system/audio.h:839:31: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 839 | AUDIO_DEVICE_IN_ALL_SCO = AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:840:32: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 840 | AUDIO_DEVICE_IN_ALL_USB = (AUDIO_DEVICE_IN_USB_ACCESSORY | | ^ /usr/include/android-7.1-caf/system/audio.h:966:12: warning: obsolete use of designated initializer with ':' [-Wpedantic] 966 | version: AUDIO_OFFLOAD_INFO_VERSION_CURRENT, | ^ /usr/include/android-7.1-caf/system/audio.h:967:9: warning: obsolete use of designated initializer with ':' [-Wpedantic] 967 | size: sizeof(audio_offload_info_t), | ^ /usr/include/android-7.1-caf/system/audio.h:968:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 968 | sample_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:969:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 969 | channel_mask: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:970:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 970 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1-caf/system/audio.h:971:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 971 | stream_type: AUDIO_STREAM_VOICE_CALL, | ^ /usr/include/android-7.1-caf/system/audio.h:972:13: warning: obsolete use of designated initializer with ':' [-Wpedantic] 972 | bit_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:973:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 973 | duration_us: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:974:14: warning: obsolete use of designated initializer with ':' [-Wpedantic] 974 | has_video: false, | ^ /usr/include/android-7.1-caf/system/audio.h:975:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 975 | is_streaming: false, | ^ /usr/include/android-7.1-caf/system/audio.h:976:14: warning: obsolete use of designated initializer with ':' [-Wpedantic] 976 | bit_width: 16, | ^ /usr/include/android-7.1-caf/system/audio.h:977:24: warning: obsolete use of designated initializer with ':' [-Wpedantic] 977 | offload_buffer_size: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:978:10: warning: obsolete use of designated initializer with ':' [-Wpedantic] 978 | usage: AUDIO_USAGE_UNKNOWN, | ^ /usr/include/android-7.1-caf/system/audio.h:995:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 995 | sample_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:996:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 996 | channel_mask: AUDIO_CHANNEL_NONE, | ^ /usr/include/android-7.1-caf/system/audio.h:997:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 997 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1-caf/system/audio.h:998:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 998 | offload_info: { | ^ /usr/include/android-7.1-caf/system/audio.h:999:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 999 | version: AUDIO_OFFLOAD_INFO_VERSION_CURRENT, | ^ /usr/include/android-7.1-caf/system/audio.h:1000:13: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1000 | size: sizeof(audio_offload_info_t), | ^ /usr/include/android-7.1-caf/system/audio.h:1001:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1001 | sample_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1002:21: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1002 | channel_mask: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1003:15: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1003 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1-caf/system/audio.h:1004:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1004 | stream_type: AUDIO_STREAM_VOICE_CALL, | ^ /usr/include/android-7.1-caf/system/audio.h:1005:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1005 | bit_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1006:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1006 | duration_us: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1007:18: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1007 | has_video: false, | ^ /usr/include/android-7.1-caf/system/audio.h:1008:21: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1008 | is_streaming: false | ^ /usr/include/android-7.1-caf/system/audio.h:1010:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1010 | frame_count: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1022:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1022 | sample_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1023:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1023 | channel_mask: AUDIO_CHANNEL_NONE, | ^ /usr/include/android-7.1-caf/system/audio.h:1024:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1024 | format: AUDIO_FORMAT_DEFAULT | ^ /usr/include/android-7.1-caf/system/audio.h: In function 'audio_device_address_to_parameter': /usr/include/android-7.1-caf/system/audio.h:1672:5: warning: ISO C90 forbids array 'param' whose size can't be evaluated [-Wvla] 1672 | char param[kSize]; | ^~~~ In file included from /usr/include/android-7.1-caf/hardware/audio_effect.h:24, from /usr/include/android-7.1-caf/hardware/audio.h:30, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from droid-sink.h:44, from droid-sink.c:59: /usr/include/sys/cdefs.h: At top level: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ droid-sink.c: In function 'thread_func': droid-sink.c:376:9: warning: implicit declaration of function 'pa_thread_make_realtime' [-Wimplicit-function-declaration] 376 | pa_thread_make_realtime(u->core->realtime_priority); | ^~~~~~~~~~~~~~~~~~~~~~~ CC module_droid_source_la-module-droid-source.lo module-droid-keepalive.c:58:26: warning: 'valid_modargs' defined but not used [-Wunused-const-variable=] 58 | static const char* const valid_modargs[] = { | ^~~~~~~~~~~~~ CC module_droid_card_la-module-droid-card.lo In file included from /usr/include/android-7.1-caf/hardware/audio.h:23, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from module-droid-sink.c:40: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1-caf/cutils/bitops.h:23, from /usr/include/android-7.1-caf/hardware/audio.h:26, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from module-droid-sink.c:40: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1-caf/hardware/hardware.h:21, from /usr/include/android-7.1-caf/hardware/audio.h:28, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from module-droid-sink.c:40: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1-caf/hardware/hardware.h:23, from /usr/include/android-7.1-caf/hardware/audio.h:28, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from module-droid-sink.c:40: /usr/include/android-7.1-caf/cutils/native_handle.h:29:9: warning: ISO C forbids zero-size array 'data' [-Wpedantic] 29 | int data[0]; /* numFds + numInts ints */ | ^~~~ In file included from /usr/include/android-7.1-caf/system/audio.h:24, from /usr/include/android-7.1-caf/hardware/audio.h:29, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from module-droid-sink.c:40: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1-caf/hardware/audio.h:29, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from module-droid-sink.c:40: /usr/include/android-7.1-caf/system/audio.h:302:40: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 302 | AUDIO_FORMAT_INVALID = 0xFFFFFFFFUL, | ^~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:340:40: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 340 | AUDIO_FORMAT_MAIN_MASK = 0xFF000000UL, /* Deprecated. Use audio_get_main_format() */ | ^~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:411:47: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 411 | AUDIO_CHANNEL_INVALID = 0xC0000000, | ^~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:610:32: warning: enumerator value for 'AUDIO_CHANNEL_INDEX_HDR' is not an integer constant expression [-Wpedantic] 610 | AUDIO_CHANNEL_INDEX_HDR = AUDIO_CHANNEL_REPRESENTATION_INDEX << AUDIO_CHANNEL_COUNT_MAX, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:706:50: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 706 | AUDIO_DEVICE_BIT_IN = 0x80000000, | ^~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:784:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 784 | AUDIO_DEVICE_IN_COMMUNICATION = AUDIO_DEVICE_BIT_IN | 0x1, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:785:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 785 | AUDIO_DEVICE_IN_AMBIENT = AUDIO_DEVICE_BIT_IN | 0x2, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:786:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 786 | AUDIO_DEVICE_IN_BUILTIN_MIC = AUDIO_DEVICE_BIT_IN | 0x4, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:787:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 787 | AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET = AUDIO_DEVICE_BIT_IN | 0x8, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:788:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 788 | AUDIO_DEVICE_IN_WIRED_HEADSET = AUDIO_DEVICE_BIT_IN | 0x10, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:789:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 789 | AUDIO_DEVICE_IN_AUX_DIGITAL = AUDIO_DEVICE_BIT_IN | 0x20, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:790:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 790 | AUDIO_DEVICE_IN_HDMI = AUDIO_DEVICE_IN_AUX_DIGITAL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:792:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 792 | AUDIO_DEVICE_IN_VOICE_CALL = AUDIO_DEVICE_BIT_IN | 0x40, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:793:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 793 | AUDIO_DEVICE_IN_TELEPHONY_RX = AUDIO_DEVICE_IN_VOICE_CALL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:794:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 794 | AUDIO_DEVICE_IN_BACK_MIC = AUDIO_DEVICE_BIT_IN | 0x80, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:795:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 795 | AUDIO_DEVICE_IN_REMOTE_SUBMIX = AUDIO_DEVICE_BIT_IN | 0x100, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:796:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 796 | AUDIO_DEVICE_IN_ANLG_DOCK_HEADSET = AUDIO_DEVICE_BIT_IN | 0x200, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:797:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 797 | AUDIO_DEVICE_IN_DGTL_DOCK_HEADSET = AUDIO_DEVICE_BIT_IN | 0x400, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:798:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 798 | AUDIO_DEVICE_IN_USB_ACCESSORY = AUDIO_DEVICE_BIT_IN | 0x800, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:799:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 799 | AUDIO_DEVICE_IN_USB_DEVICE = AUDIO_DEVICE_BIT_IN | 0x1000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:801:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 801 | AUDIO_DEVICE_IN_FM_TUNER = AUDIO_DEVICE_BIT_IN | 0x2000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:803:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 803 | AUDIO_DEVICE_IN_TV_TUNER = AUDIO_DEVICE_BIT_IN | 0x4000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:805:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 805 | AUDIO_DEVICE_IN_LINE = AUDIO_DEVICE_BIT_IN | 0x8000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:807:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 807 | AUDIO_DEVICE_IN_SPDIF = AUDIO_DEVICE_BIT_IN | 0x10000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:808:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 808 | AUDIO_DEVICE_IN_BLUETOOTH_A2DP = AUDIO_DEVICE_BIT_IN | 0x20000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:809:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 809 | AUDIO_DEVICE_IN_LOOPBACK = AUDIO_DEVICE_BIT_IN | 0x40000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:810:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 810 | AUDIO_DEVICE_IN_IP = AUDIO_DEVICE_BIT_IN | 0x80000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:812:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 812 | AUDIO_DEVICE_IN_BUS = AUDIO_DEVICE_BIT_IN | 0x100000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:813:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 813 | AUDIO_DEVICE_IN_PROXY = AUDIO_DEVICE_BIT_IN | 0x1000000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:814:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 814 | AUDIO_DEVICE_IN_DEFAULT = AUDIO_DEVICE_BIT_IN | AUDIO_DEVICE_BIT_DEFAULT, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:816:31: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 816 | AUDIO_DEVICE_IN_ALL = (AUDIO_DEVICE_IN_COMMUNICATION | | ^ /usr/include/android-7.1-caf/system/audio.h:839:31: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 839 | AUDIO_DEVICE_IN_ALL_SCO = AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:840:32: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 840 | AUDIO_DEVICE_IN_ALL_USB = (AUDIO_DEVICE_IN_USB_ACCESSORY | | ^ /usr/include/android-7.1-caf/system/audio.h:966:12: warning: obsolete use of designated initializer with ':' [-Wpedantic] 966 | version: AUDIO_OFFLOAD_INFO_VERSION_CURRENT, | ^ /usr/include/android-7.1-caf/system/audio.h:967:9: warning: obsolete use of designated initializer with ':' [-Wpedantic] 967 | size: sizeof(audio_offload_info_t), | ^ /usr/include/android-7.1-caf/system/audio.h:968:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 968 | sample_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:969:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 969 | channel_mask: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:970:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 970 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1-caf/system/audio.h:971:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 971 | stream_type: AUDIO_STREAM_VOICE_CALL, | ^ /usr/include/android-7.1-caf/system/audio.h:972:13: warning: obsolete use of designated initializer with ':' [-Wpedantic] 972 | bit_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:973:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 973 | duration_us: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:974:14: warning: obsolete use of designated initializer with ':' [-Wpedantic] 974 | has_video: false, | ^ /usr/include/android-7.1-caf/system/audio.h:975:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 975 | is_streaming: false, | ^ /usr/include/android-7.1-caf/system/audio.h:976:14: warning: obsolete use of designated initializer with ':' [-Wpedantic] 976 | bit_width: 16, | ^ /usr/include/android-7.1-caf/system/audio.h:977:24: warning: obsolete use of designated initializer with ':' [-Wpedantic] 977 | offload_buffer_size: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:978:10: warning: obsolete use of designated initializer with ':' [-Wpedantic] 978 | usage: AUDIO_USAGE_UNKNOWN, | ^ /usr/include/android-7.1-caf/system/audio.h:995:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 995 | sample_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:996:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 996 | channel_mask: AUDIO_CHANNEL_NONE, | ^ /usr/include/android-7.1-caf/system/audio.h:997:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 997 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1-caf/system/audio.h:998:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 998 | offload_info: { | ^ /usr/include/android-7.1-caf/system/audio.h:999:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 999 | version: AUDIO_OFFLOAD_INFO_VERSION_CURRENT, | ^ /usr/include/android-7.1-caf/system/audio.h:1000:13: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1000 | size: sizeof(audio_offload_info_t), | ^ /usr/include/android-7.1-caf/system/audio.h:1001:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1001 | sample_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1002:21: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1002 | channel_mask: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1003:15: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1003 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1-caf/system/audio.h:1004:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1004 | stream_type: AUDIO_STREAM_VOICE_CALL, | ^ /usr/include/android-7.1-caf/system/audio.h:1005:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1005 | bit_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1006:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1006 | duration_us: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1007:18: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1007 | has_video: false, | ^ /usr/include/android-7.1-caf/system/audio.h:1008:21: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1008 | is_streaming: false | ^ /usr/include/android-7.1-caf/system/audio.h:1010:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1010 | frame_count: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1022:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1022 | sample_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1023:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1023 | channel_mask: AUDIO_CHANNEL_NONE, | ^ /usr/include/android-7.1-caf/system/audio.h:1024:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1024 | format: AUDIO_FORMAT_DEFAULT | ^ /usr/include/android-7.1-caf/system/audio.h: In function 'audio_device_address_to_parameter': /usr/include/android-7.1-caf/system/audio.h:1672:5: warning: ISO C90 forbids array 'param' whose size can't be evaluated [-Wvla] 1672 | char param[kSize]; | ^~~~ In file included from /usr/include/android-7.1-caf/hardware/audio_effect.h:24, from /usr/include/android-7.1-caf/hardware/audio.h:30, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from module-droid-sink.c:40: /usr/include/sys/cdefs.h: At top level: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1-caf/hardware/audio.h:23, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from module-droid-source.c:40: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1-caf/cutils/bitops.h:23, from /usr/include/android-7.1-caf/hardware/audio.h:26, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from module-droid-source.c:40: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1-caf/hardware/hardware.h:21, from /usr/include/android-7.1-caf/hardware/audio.h:28, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from module-droid-source.c:40: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1-caf/hardware/hardware.h:23, from /usr/include/android-7.1-caf/hardware/audio.h:28, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from module-droid-source.c:40: /usr/include/android-7.1-caf/cutils/native_handle.h:29:9: warning: ISO C forbids zero-size array 'data' [-Wpedantic] 29 | int data[0]; /* numFds + numInts ints */ | ^~~~ In file included from /usr/include/android-7.1-caf/system/audio.h:24, from /usr/include/android-7.1-caf/hardware/audio.h:29, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from module-droid-source.c:40: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1-caf/hardware/audio.h:29, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from module-droid-source.c:40: /usr/include/android-7.1-caf/system/audio.h:302:40: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 302 | AUDIO_FORMAT_INVALID = 0xFFFFFFFFUL, | ^~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:340:40: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 340 | AUDIO_FORMAT_MAIN_MASK = 0xFF000000UL, /* Deprecated. Use audio_get_main_format() */ | ^~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:411:47: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 411 | AUDIO_CHANNEL_INVALID = 0xC0000000, | ^~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:610:32: warning: enumerator value for 'AUDIO_CHANNEL_INDEX_HDR' is not an integer constant expression [-Wpedantic] 610 | AUDIO_CHANNEL_INDEX_HDR = AUDIO_CHANNEL_REPRESENTATION_INDEX << AUDIO_CHANNEL_COUNT_MAX, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:706:50: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 706 | AUDIO_DEVICE_BIT_IN = 0x80000000, | ^~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:784:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 784 | AUDIO_DEVICE_IN_COMMUNICATION = AUDIO_DEVICE_BIT_IN | 0x1, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:785:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 785 | AUDIO_DEVICE_IN_AMBIENT = AUDIO_DEVICE_BIT_IN | 0x2, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:786:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 786 | AUDIO_DEVICE_IN_BUILTIN_MIC = AUDIO_DEVICE_BIT_IN | 0x4, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:787:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 787 | AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET = AUDIO_DEVICE_BIT_IN | 0x8, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:788:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 788 | AUDIO_DEVICE_IN_WIRED_HEADSET = AUDIO_DEVICE_BIT_IN | 0x10, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:789:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 789 | AUDIO_DEVICE_IN_AUX_DIGITAL = AUDIO_DEVICE_BIT_IN | 0x20, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:790:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 790 | AUDIO_DEVICE_IN_HDMI = AUDIO_DEVICE_IN_AUX_DIGITAL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:792:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 792 | AUDIO_DEVICE_IN_VOICE_CALL = AUDIO_DEVICE_BIT_IN | 0x40, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:793:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 793 | AUDIO_DEVICE_IN_TELEPHONY_RX = AUDIO_DEVICE_IN_VOICE_CALL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:794:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 794 | AUDIO_DEVICE_IN_BACK_MIC = AUDIO_DEVICE_BIT_IN | 0x80, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:795:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 795 | AUDIO_DEVICE_IN_REMOTE_SUBMIX = AUDIO_DEVICE_BIT_IN | 0x100, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:796:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 796 | AUDIO_DEVICE_IN_ANLG_DOCK_HEADSET = AUDIO_DEVICE_BIT_IN | 0x200, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:797:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 797 | AUDIO_DEVICE_IN_DGTL_DOCK_HEADSET = AUDIO_DEVICE_BIT_IN | 0x400, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:798:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 798 | AUDIO_DEVICE_IN_USB_ACCESSORY = AUDIO_DEVICE_BIT_IN | 0x800, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:799:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 799 | AUDIO_DEVICE_IN_USB_DEVICE = AUDIO_DEVICE_BIT_IN | 0x1000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:801:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 801 | AUDIO_DEVICE_IN_FM_TUNER = AUDIO_DEVICE_BIT_IN | 0x2000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:803:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 803 | AUDIO_DEVICE_IN_TV_TUNER = AUDIO_DEVICE_BIT_IN | 0x4000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:805:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 805 | AUDIO_DEVICE_IN_LINE = AUDIO_DEVICE_BIT_IN | 0x8000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:807:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 807 | AUDIO_DEVICE_IN_SPDIF = AUDIO_DEVICE_BIT_IN | 0x10000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:808:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 808 | AUDIO_DEVICE_IN_BLUETOOTH_A2DP = AUDIO_DEVICE_BIT_IN | 0x20000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:809:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 809 | AUDIO_DEVICE_IN_LOOPBACK = AUDIO_DEVICE_BIT_IN | 0x40000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:810:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 810 | AUDIO_DEVICE_IN_IP = AUDIO_DEVICE_BIT_IN | 0x80000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:812:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 812 | AUDIO_DEVICE_IN_BUS = AUDIO_DEVICE_BIT_IN | 0x100000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:813:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 813 | AUDIO_DEVICE_IN_PROXY = AUDIO_DEVICE_BIT_IN | 0x1000000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:814:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 814 | AUDIO_DEVICE_IN_DEFAULT = AUDIO_DEVICE_BIT_IN | AUDIO_DEVICE_BIT_DEFAULT, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:816:31: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 816 | AUDIO_DEVICE_IN_ALL = (AUDIO_DEVICE_IN_COMMUNICATION | | ^ /usr/include/android-7.1-caf/system/audio.h:839:31: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 839 | AUDIO_DEVICE_IN_ALL_SCO = AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:840:32: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 840 | AUDIO_DEVICE_IN_ALL_USB = (AUDIO_DEVICE_IN_USB_ACCESSORY | | ^ /usr/include/android-7.1-caf/system/audio.h:966:12: warning: obsolete use of designated initializer with ':' [-Wpedantic] 966 | version: AUDIO_OFFLOAD_INFO_VERSION_CURRENT, | ^ /usr/include/android-7.1-caf/system/audio.h:967:9: warning: obsolete use of designated initializer with ':' [-Wpedantic] 967 | size: sizeof(audio_offload_info_t), | ^ /usr/include/android-7.1-caf/system/audio.h:968:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 968 | sample_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:969:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 969 | channel_mask: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:970:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 970 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1-caf/system/audio.h:971:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 971 | stream_type: AUDIO_STREAM_VOICE_CALL, | ^ /usr/include/android-7.1-caf/system/audio.h:972:13: warning: obsolete use of designated initializer with ':' [-Wpedantic] 972 | bit_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:973:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 973 | duration_us: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:974:14: warning: obsolete use of designated initializer with ':' [-Wpedantic] 974 | has_video: false, | ^ /usr/include/android-7.1-caf/system/audio.h:975:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 975 | is_streaming: false, | ^ /usr/include/android-7.1-caf/system/audio.h:976:14: warning: obsolete use of designated initializer with ':' [-Wpedantic] 976 | bit_width: 16, | ^ /usr/include/android-7.1-caf/system/audio.h:977:24: warning: obsolete use of designated initializer with ':' [-Wpedantic] 977 | offload_buffer_size: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:978:10: warning: obsolete use of designated initializer with ':' [-Wpedantic] 978 | usage: AUDIO_USAGE_UNKNOWN, | ^ /usr/include/android-7.1-caf/system/audio.h:995:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 995 | sample_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:996:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 996 | channel_mask: AUDIO_CHANNEL_NONE, | ^ /usr/include/android-7.1-caf/system/audio.h:997:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 997 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1-caf/system/audio.h:998:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 998 | offload_info: { | ^ /usr/include/android-7.1-caf/system/audio.h:999:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 999 | version: AUDIO_OFFLOAD_INFO_VERSION_CURRENT, | ^ /usr/include/android-7.1-caf/system/audio.h:1000:13: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1000 | size: sizeof(audio_offload_info_t), | ^ /usr/include/android-7.1-caf/system/audio.h:1001:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1001 | sample_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1002:21: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1002 | channel_mask: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1003:15: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1003 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1-caf/system/audio.h:1004:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1004 | stream_type: AUDIO_STREAM_VOICE_CALL, | ^ /usr/include/android-7.1-caf/system/audio.h:1005:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1005 | bit_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1006:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1006 | duration_us: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1007:18: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1007 | has_video: false, | ^ /usr/include/android-7.1-caf/system/audio.h:1008:21: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1008 | is_streaming: false | ^ /usr/include/android-7.1-caf/system/audio.h:1010:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1010 | frame_count: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1022:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1022 | sample_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1023:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1023 | channel_mask: AUDIO_CHANNEL_NONE, | ^ /usr/include/android-7.1-caf/system/audio.h:1024:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1024 | format: AUDIO_FORMAT_DEFAULT | ^ /usr/include/android-7.1-caf/system/audio.h: In function 'audio_device_address_to_parameter': /usr/include/android-7.1-caf/system/audio.h:1672:5: warning: ISO C90 forbids array 'param' whose size can't be evaluated [-Wvla] 1672 | char param[kSize]; | ^~~~ In file included from /usr/include/android-7.1-caf/hardware/audio_effect.h:24, from /usr/include/android-7.1-caf/hardware/audio.h:30, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from module-droid-source.c:40: /usr/include/sys/cdefs.h: At top level: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ CCLD libdroid-source.la CCLD libdroid-sink.la In file included from /usr/include/android-7.1-caf/hardware/audio.h:23, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from module-droid-card.c:62: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1-caf/cutils/bitops.h:23, from /usr/include/android-7.1-caf/hardware/audio.h:26, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from module-droid-card.c:62: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1-caf/hardware/hardware.h:21, from /usr/include/android-7.1-caf/hardware/audio.h:28, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from module-droid-card.c:62: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1-caf/hardware/hardware.h:23, from /usr/include/android-7.1-caf/hardware/audio.h:28, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from module-droid-card.c:62: /usr/include/android-7.1-caf/cutils/native_handle.h:29:9: warning: ISO C forbids zero-size array 'data' [-Wpedantic] 29 | int data[0]; /* numFds + numInts ints */ | ^~~~ In file included from /usr/include/android-7.1-caf/system/audio.h:24, from /usr/include/android-7.1-caf/hardware/audio.h:29, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from module-droid-card.c:62: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/android-7.1-caf/hardware/audio.h:29, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from module-droid-card.c:62: /usr/include/android-7.1-caf/system/audio.h:302:40: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 302 | AUDIO_FORMAT_INVALID = 0xFFFFFFFFUL, | ^~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:340:40: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 340 | AUDIO_FORMAT_MAIN_MASK = 0xFF000000UL, /* Deprecated. Use audio_get_main_format() */ | ^~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:411:47: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 411 | AUDIO_CHANNEL_INVALID = 0xC0000000, | ^~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:610:32: warning: enumerator value for 'AUDIO_CHANNEL_INDEX_HDR' is not an integer constant expression [-Wpedantic] 610 | AUDIO_CHANNEL_INDEX_HDR = AUDIO_CHANNEL_REPRESENTATION_INDEX << AUDIO_CHANNEL_COUNT_MAX, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:706:50: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 706 | AUDIO_DEVICE_BIT_IN = 0x80000000, | ^~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:784:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 784 | AUDIO_DEVICE_IN_COMMUNICATION = AUDIO_DEVICE_BIT_IN | 0x1, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:785:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 785 | AUDIO_DEVICE_IN_AMBIENT = AUDIO_DEVICE_BIT_IN | 0x2, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:786:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 786 | AUDIO_DEVICE_IN_BUILTIN_MIC = AUDIO_DEVICE_BIT_IN | 0x4, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:787:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 787 | AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET = AUDIO_DEVICE_BIT_IN | 0x8, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:788:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 788 | AUDIO_DEVICE_IN_WIRED_HEADSET = AUDIO_DEVICE_BIT_IN | 0x10, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:789:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 789 | AUDIO_DEVICE_IN_AUX_DIGITAL = AUDIO_DEVICE_BIT_IN | 0x20, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:790:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 790 | AUDIO_DEVICE_IN_HDMI = AUDIO_DEVICE_IN_AUX_DIGITAL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:792:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 792 | AUDIO_DEVICE_IN_VOICE_CALL = AUDIO_DEVICE_BIT_IN | 0x40, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:793:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 793 | AUDIO_DEVICE_IN_TELEPHONY_RX = AUDIO_DEVICE_IN_VOICE_CALL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:794:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 794 | AUDIO_DEVICE_IN_BACK_MIC = AUDIO_DEVICE_BIT_IN | 0x80, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:795:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 795 | AUDIO_DEVICE_IN_REMOTE_SUBMIX = AUDIO_DEVICE_BIT_IN | 0x100, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:796:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 796 | AUDIO_DEVICE_IN_ANLG_DOCK_HEADSET = AUDIO_DEVICE_BIT_IN | 0x200, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:797:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 797 | AUDIO_DEVICE_IN_DGTL_DOCK_HEADSET = AUDIO_DEVICE_BIT_IN | 0x400, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:798:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 798 | AUDIO_DEVICE_IN_USB_ACCESSORY = AUDIO_DEVICE_BIT_IN | 0x800, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:799:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 799 | AUDIO_DEVICE_IN_USB_DEVICE = AUDIO_DEVICE_BIT_IN | 0x1000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:801:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 801 | AUDIO_DEVICE_IN_FM_TUNER = AUDIO_DEVICE_BIT_IN | 0x2000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:803:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 803 | AUDIO_DEVICE_IN_TV_TUNER = AUDIO_DEVICE_BIT_IN | 0x4000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:805:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 805 | AUDIO_DEVICE_IN_LINE = AUDIO_DEVICE_BIT_IN | 0x8000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:807:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 807 | AUDIO_DEVICE_IN_SPDIF = AUDIO_DEVICE_BIT_IN | 0x10000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:808:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 808 | AUDIO_DEVICE_IN_BLUETOOTH_A2DP = AUDIO_DEVICE_BIT_IN | 0x20000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:809:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 809 | AUDIO_DEVICE_IN_LOOPBACK = AUDIO_DEVICE_BIT_IN | 0x40000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:810:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 810 | AUDIO_DEVICE_IN_IP = AUDIO_DEVICE_BIT_IN | 0x80000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:812:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 812 | AUDIO_DEVICE_IN_BUS = AUDIO_DEVICE_BIT_IN | 0x100000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:813:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 813 | AUDIO_DEVICE_IN_PROXY = AUDIO_DEVICE_BIT_IN | 0x1000000, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:814:45: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 814 | AUDIO_DEVICE_IN_DEFAULT = AUDIO_DEVICE_BIT_IN | AUDIO_DEVICE_BIT_DEFAULT, | ^~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:816:31: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 816 | AUDIO_DEVICE_IN_ALL = (AUDIO_DEVICE_IN_COMMUNICATION | | ^ /usr/include/android-7.1-caf/system/audio.h:839:31: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 839 | AUDIO_DEVICE_IN_ALL_SCO = AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/android-7.1-caf/system/audio.h:840:32: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic] 840 | AUDIO_DEVICE_IN_ALL_USB = (AUDIO_DEVICE_IN_USB_ACCESSORY | | ^ /usr/include/android-7.1-caf/system/audio.h:966:12: warning: obsolete use of designated initializer with ':' [-Wpedantic] 966 | version: AUDIO_OFFLOAD_INFO_VERSION_CURRENT, | ^ /usr/include/android-7.1-caf/system/audio.h:967:9: warning: obsolete use of designated initializer with ':' [-Wpedantic] 967 | size: sizeof(audio_offload_info_t), | ^ /usr/include/android-7.1-caf/system/audio.h:968:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 968 | sample_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:969:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 969 | channel_mask: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:970:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 970 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1-caf/system/audio.h:971:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 971 | stream_type: AUDIO_STREAM_VOICE_CALL, | ^ /usr/include/android-7.1-caf/system/audio.h:972:13: warning: obsolete use of designated initializer with ':' [-Wpedantic] 972 | bit_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:973:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 973 | duration_us: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:974:14: warning: obsolete use of designated initializer with ':' [-Wpedantic] 974 | has_video: false, | ^ /usr/include/android-7.1-caf/system/audio.h:975:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 975 | is_streaming: false, | ^ /usr/include/android-7.1-caf/system/audio.h:976:14: warning: obsolete use of designated initializer with ':' [-Wpedantic] 976 | bit_width: 16, | ^ /usr/include/android-7.1-caf/system/audio.h:977:24: warning: obsolete use of designated initializer with ':' [-Wpedantic] 977 | offload_buffer_size: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:978:10: warning: obsolete use of designated initializer with ':' [-Wpedantic] 978 | usage: AUDIO_USAGE_UNKNOWN, | ^ /usr/include/android-7.1-caf/system/audio.h:995:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 995 | sample_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:996:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 996 | channel_mask: AUDIO_CHANNEL_NONE, | ^ /usr/include/android-7.1-caf/system/audio.h:997:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 997 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1-caf/system/audio.h:998:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 998 | offload_info: { | ^ /usr/include/android-7.1-caf/system/audio.h:999:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 999 | version: AUDIO_OFFLOAD_INFO_VERSION_CURRENT, | ^ /usr/include/android-7.1-caf/system/audio.h:1000:13: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1000 | size: sizeof(audio_offload_info_t), | ^ /usr/include/android-7.1-caf/system/audio.h:1001:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1001 | sample_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1002:21: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1002 | channel_mask: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1003:15: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1003 | format: AUDIO_FORMAT_DEFAULT, | ^ /usr/include/android-7.1-caf/system/audio.h:1004:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1004 | stream_type: AUDIO_STREAM_VOICE_CALL, | ^ /usr/include/android-7.1-caf/system/audio.h:1005:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1005 | bit_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1006:20: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1006 | duration_us: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1007:18: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1007 | has_video: false, | ^ /usr/include/android-7.1-caf/system/audio.h:1008:21: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1008 | is_streaming: false | ^ /usr/include/android-7.1-caf/system/audio.h:1010:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1010 | frame_count: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1022:16: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1022 | sample_rate: 0, | ^ /usr/include/android-7.1-caf/system/audio.h:1023:17: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1023 | channel_mask: AUDIO_CHANNEL_NONE, | ^ /usr/include/android-7.1-caf/system/audio.h:1024:11: warning: obsolete use of designated initializer with ':' [-Wpedantic] 1024 | format: AUDIO_FORMAT_DEFAULT | ^ /usr/include/android-7.1-caf/system/audio.h: In function 'audio_device_address_to_parameter': /usr/include/android-7.1-caf/system/audio.h:1672:5: warning: ISO C90 forbids array 'param' whose size can't be evaluated [-Wvla] 1672 | char param[kSize]; | ^~~~ In file included from /usr/include/android-7.1-caf/hardware/audio_effect.h:24, from /usr/include/android-7.1-caf/hardware/audio.h:30, from ../../src/common/include/droid/version.h:31, from ../../src/common/include/droid/droid-util.h:34, from module-droid-card.c:62: /usr/include/sys/cdefs.h: At top level: /usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 1 | #warning usage of non-standard #include is deprecated | ^~~~~~~ module-droid-card.c: In function 'add_virtual_profile': module-droid-card.c:241:30: warning: unused variable 'ext' [-Wunused-variable] 241 | struct profile_data *d, *ext; | ^~~ module-droid-card.c: In function 'voicecall_profile_event_cb': module-droid-card.c:450:22: warning: unused variable 'cp' [-Wunused-variable] 450 | pa_card_profile *cp = NULL; | ^~ CCLD module-droid-keepalive.la CCLD module-droid-source.la CCLD module-droid-sink.la CCLD module-droid-card.la make[3]: Leaving directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src/droid' make[3]: Entering directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src' make[2]: Leaving directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src' make[2]: Entering directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79' make[1]: Leaving directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79' Making install in src make[1]: Entering directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src' Making install in common make[2]: Entering directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src/common' make[3]: Entering directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src/common' ../.././install-sh -c -d '/home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1-caf/usr/lib/pkgconfig' ../.././install-sh -c -d '/home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1-caf/usr/lib/pulse-13.0/modules' ../.././install-sh -c -d '/home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1-caf/usr/include/pulsecore/modules/droid' /bin/sh ../../libtool --mode=install /usr/bin/install -c libdroid-util.la '/home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1-caf/usr/lib/pulse-13.0/modules' /usr/bin/install -c -m 644 include/droid/version.h include/droid/conversion.h include/droid/droid-config.h include/droid/droid-util.h '/home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1-caf/usr/include/pulsecore/modules/droid' /usr/bin/install -c -m 644 libdroid-util.pc '/home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1-caf/usr/lib/pkgconfig' libtool: install: /usr/bin/install -c .libs/libdroid-util.so /home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1-caf/usr/lib/pulse-13.0/modules/libdroid-util.so libtool: install: /usr/bin/install -c .libs/libdroid-util.lai /home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1-caf/usr/lib/pulse-13.0/modules/libdroid-util.la libtool: warning: remember to run 'libtool --finish /usr/lib/pulse-13.0/modules' make[3]: Leaving directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src/common' make[2]: Leaving directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src/common' Making install in droid make[2]: Entering directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src/droid' make[3]: Entering directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src/droid' make[3]: Nothing to be done for 'install-data-am'. ../.././install-sh -c -d '/home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1-caf/usr/lib/pulse-13.0/modules' /bin/sh ../../libtool --mode=install /usr/bin/install -c libdroid-sink.la libdroid-source.la module-droid-keepalive.la module-droid-sink.la module-droid-source.la module-droid-card.la '/home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1-caf/usr/lib/pulse-13.0/modules' libtool: warning: relinking 'libdroid-sink.la' libtool: install: (cd /home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src/droid; /bin/sh "/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/libtool" --silent --tag CC --mode=relink gcc -DDROID_DEVICE_GENERIC=1 "-DDROID_DEVICE_STRING=\"generic\"" -D_REENTRANT -D__INCLUDED_FROM_PULSE_AUDIO "-DPA_DEFAULT_CONFIG_DIR=\"/etc/pulse\"" -I/usr/include/android-7.1-caf -I/usr/include/android-7.1-caf -DPULSEAUDIO_VERSION=13 -I../../src/droid -I../../src/common/include -Os -fomit-frame-pointer -Wall -W -Wextra -pedantic -pipe -Wno-long-long -Winline -Wvla -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wpacked -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self -Wfloat-equal -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wstrict-aliasing=2 -Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option -avoid-version -Wl,-z,noexecstack -lhybris-common -Wl,--as-needed -o libdroid-sink.la -rpath /usr/lib/pulse-13.0/modules libdroid_sink_la-droid-sink.lo ../../src/common/libdroid-util.la -pthread -L/usr/lib/pulseaudio -L/usr/lib/pulse-13.0/modules -lpulsecore-13.0 -lpulsecommon-13.0 -lpulse -lhardware -inst-prefix-dir /home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1-caf) libtool: install: /usr/bin/install -c .libs/libdroid-sink.soT /home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1-caf/usr/lib/pulse-13.0/modules/libdroid-sink.so libtool: install: /usr/bin/install -c .libs/libdroid-sink.lai /home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1-caf/usr/lib/pulse-13.0/modules/libdroid-sink.la libtool: warning: relinking 'libdroid-source.la' libtool: install: (cd /home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src/droid; /bin/sh "/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/libtool" --silent --tag CC --mode=relink gcc -DDROID_DEVICE_GENERIC=1 "-DDROID_DEVICE_STRING=\"generic\"" -D_REENTRANT -D__INCLUDED_FROM_PULSE_AUDIO "-DPA_DEFAULT_CONFIG_DIR=\"/etc/pulse\"" -I/usr/include/android-7.1-caf -I/usr/include/android-7.1-caf -DPULSEAUDIO_VERSION=13 -I../../src/droid -I../../src/common/include -Os -fomit-frame-pointer -Wall -W -Wextra -pedantic -pipe -Wno-long-long -Winline -Wvla -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wpacked -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self -Wfloat-equal -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wstrict-aliasing=2 -Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option -avoid-version -Wl,-z,noexecstack -lhybris-common -Wl,--as-needed -o libdroid-source.la -rpath /usr/lib/pulse-13.0/modules libdroid_source_la-droid-source.lo ../../src/common/libdroid-util.la -pthread -L/usr/lib/pulseaudio -L/usr/lib/pulse-13.0/modules -lpulsecore-13.0 -lpulsecommon-13.0 -lpulse -lhardware -inst-prefix-dir /home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1-caf) libtool: install: /usr/bin/install -c .libs/libdroid-source.soT /home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1-caf/usr/lib/pulse-13.0/modules/libdroid-source.so libtool: install: /usr/bin/install -c .libs/libdroid-source.lai /home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1-caf/usr/lib/pulse-13.0/modules/libdroid-source.la libtool: install: /usr/bin/install -c .libs/module-droid-keepalive.so /home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1-caf/usr/lib/pulse-13.0/modules/module-droid-keepalive.so libtool: install: /usr/bin/install -c .libs/module-droid-keepalive.lai /home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1-caf/usr/lib/pulse-13.0/modules/module-droid-keepalive.la libtool: warning: relinking 'module-droid-sink.la' libtool: install: (cd /home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src/droid; /bin/sh "/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/libtool" --silent --tag CC --mode=relink gcc -DDROID_DEVICE_GENERIC=1 "-DDROID_DEVICE_STRING=\"generic\"" -D_REENTRANT -D__INCLUDED_FROM_PULSE_AUDIO "-DPA_DEFAULT_CONFIG_DIR=\"/etc/pulse\"" -I/usr/include/android-7.1-caf -I/usr/include/android-7.1-caf -DPULSEAUDIO_VERSION=13 -I../../src/droid -I../../src/common/include -Os -fomit-frame-pointer -Wall -W -Wextra -pedantic -pipe -Wno-long-long -Winline -Wvla -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wpacked -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self -Wfloat-equal -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wstrict-aliasing=2 -Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option -module -avoid-version -Wl,-z,noexecstack -lhybris-common -Wl,--as-needed -o module-droid-sink.la -rpath /usr/lib/pulse-13.0/modules module_droid_sink_la-module-droid-sink.lo -lm libdroid-sink.la -pthread -L/usr/lib/pulseaudio -L/usr/lib/pulse-13.0/modules -lpulsecore-13.0 -lpulsecommon-13.0 -lpulse -lhardware -inst-prefix-dir /home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1-caf) libtool: install: /usr/bin/install -c .libs/module-droid-sink.soT /home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1-caf/usr/lib/pulse-13.0/modules/module-droid-sink.so libtool: install: /usr/bin/install -c .libs/module-droid-sink.lai /home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1-caf/usr/lib/pulse-13.0/modules/module-droid-sink.la libtool: warning: relinking 'module-droid-source.la' libtool: install: (cd /home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src/droid; /bin/sh "/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/libtool" --silent --tag CC --mode=relink gcc -DDROID_DEVICE_GENERIC=1 "-DDROID_DEVICE_STRING=\"generic\"" -D_REENTRANT -D__INCLUDED_FROM_PULSE_AUDIO "-DPA_DEFAULT_CONFIG_DIR=\"/etc/pulse\"" -I/usr/include/android-7.1-caf -I/usr/include/android-7.1-caf -DPULSEAUDIO_VERSION=13 -I../../src/droid -I../../src/common/include -Os -fomit-frame-pointer -Wall -W -Wextra -pedantic -pipe -Wno-long-long -Winline -Wvla -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wpacked -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self -Wfloat-equal -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wstrict-aliasing=2 -Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option -module -avoid-version -Wl,-z,noexecstack -lhybris-common -Wl,--as-needed -o module-droid-source.la -rpath /usr/lib/pulse-13.0/modules module_droid_source_la-module-droid-source.lo -lm libdroid-source.la -pthread -L/usr/lib/pulseaudio -L/usr/lib/pulse-13.0/modules -lpulsecore-13.0 -lpulsecommon-13.0 -lpulse -lhardware -inst-prefix-dir /home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1-caf) libtool: install: /usr/bin/install -c .libs/module-droid-source.soT /home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1-caf/usr/lib/pulse-13.0/modules/module-droid-source.so libtool: install: /usr/bin/install -c .libs/module-droid-source.lai /home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1-caf/usr/lib/pulse-13.0/modules/module-droid-source.la libtool: warning: relinking 'module-droid-card.la' libtool: install: (cd /home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src/droid; /bin/sh "/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/libtool" --silent --tag CC --mode=relink gcc -DDROID_DEVICE_GENERIC=1 "-DDROID_DEVICE_STRING=\"generic\"" -D_REENTRANT -D__INCLUDED_FROM_PULSE_AUDIO "-DPA_DEFAULT_CONFIG_DIR=\"/etc/pulse\"" -I/usr/include/android-7.1-caf -I/usr/include/android-7.1-caf -DPULSEAUDIO_VERSION=13 -I../../src/droid -I../../src/common/include -Os -fomit-frame-pointer -Wall -W -Wextra -pedantic -pipe -Wno-long-long -Winline -Wvla -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wpacked -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self -Wfloat-equal -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wstrict-aliasing=2 -Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option -module -avoid-version -Wl,-z,noexecstack -lhybris-common -Wl,--as-needed -o module-droid-card.la -rpath /usr/lib/pulse-13.0/modules module_droid_card_la-module-droid-card.lo -lm libdroid-sink.la libdroid-source.la ../../src/common/libdroid-util.la -pthread -L/usr/lib/pulseaudio -L/usr/lib/pulse-13.0/modules -lpulsecore-13.0 -lpulsecommon-13.0 -lpulse -lhardware -inst-prefix-dir /home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1-caf) libtool: install: /usr/bin/install -c .libs/module-droid-card.soT /home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1-caf/usr/lib/pulse-13.0/modules/module-droid-card.so libtool: install: /usr/bin/install -c .libs/module-droid-card.lai /home/pmos/build/src/tmpinstall/pulseaudio-modules-droid-7.1-caf/usr/lib/pulse-13.0/modules/module-droid-card.la libtool: warning: remember to run 'libtool --finish /usr/lib/pulse-13.0/modules' make[3]: Leaving directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src/droid' make[2]: Leaving directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src/droid' make[2]: Entering directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src' make[3]: Entering directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src' make[2]: Leaving directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src' make[1]: Leaving directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79/src' make[1]: Entering directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79' make[2]: Entering directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79' make[1]: Leaving directory '/home/pmos/build/src/pulseaudio-modules-droid-12.2.79' >>> pulseaudio-modules-droid: Entering fakeroot... ]0;abuild: pulseaudio-modules-droid>>> pulseaudio-modules-droid-7.1*: Running split function _variant... >>> pulseaudio-modules-droid-7.1*: Preparing subpackage pulseaudio-modules-droid-7.1... >>> pulseaudio-modules-droid-7.1*: Stripping binaries >>> pulseaudio-modules-droid-7.1*: Running postcheck for pulseaudio-modules-droid-7.1 >>> pulseaudio-modules-droid-7.1-caf*: Running split function _variant... >>> pulseaudio-modules-droid-7.1-caf*: Preparing subpackage pulseaudio-modules-droid-7.1-caf... >>> pulseaudio-modules-droid-7.1-caf*: Stripping binaries >>> pulseaudio-modules-droid-7.1-caf*: Running postcheck for pulseaudio-modules-droid-7.1-caf >>> pulseaudio-modules-droid*: Running postcheck for pulseaudio-modules-droid >>> pulseaudio-modules-droid*: Preparing package pulseaudio-modules-droid... >>> pulseaudio-modules-droid*: Stripping binaries >>> pulseaudio-modules-droid*: Script found. /bin/sh added as a dependency for pulseaudio-modules-droid-13.0-r1.apk >>> pulseaudio-modules-droid*: Adding .post-install >>> WARNING: pulseaudio-modules-droid*: No arch specific binaries found so arch should probably be set to "noarch" >>> pulseaudio-modules-droid-7.1-caf*: Scanning shared objects >>> pulseaudio-modules-droid-7.1*: Scanning shared objects >>> pulseaudio-modules-droid*: Scanning shared objects >>> pulseaudio-modules-droid-7.1-caf*: Tracing dependencies... pulseaudio-modules-droid libhybris-7.1 so:libc.musl-armv7.so.1 so:libdbus-1.so.3 so:libexpat.so.1 so:libpulse.so.0 so:libpulsecommon-13.0.so so:libpulsecore-13.0.so >>> pulseaudio-modules-droid-7.1-caf*: Package size: 188.0 KB >>> pulseaudio-modules-droid-7.1-caf*: Compressing data... >>> pulseaudio-modules-droid-7.1-caf*: Create checksum... >>> pulseaudio-modules-droid-7.1-caf*: Create pulseaudio-modules-droid-7.1-caf-13.0-r1.apk >>> pulseaudio-modules-droid-7.1*: Tracing dependencies... pulseaudio-modules-droid libhybris-7.1 so:libc.musl-armv7.so.1 so:libdbus-1.so.3 so:libexpat.so.1 so:libpulse.so.0 so:libpulsecommon-13.0.so so:libpulsecore-13.0.so >>> pulseaudio-modules-droid-7.1*: Package size: 188.0 KB >>> pulseaudio-modules-droid-7.1*: Compressing data... >>> pulseaudio-modules-droid-7.1*: Create checksum... >>> pulseaudio-modules-droid-7.1*: Create pulseaudio-modules-droid-7.1-13.0-r1.apk >>> pulseaudio-modules-droid*: Tracing dependencies... >>> pulseaudio-modules-droid*: Package size: 4.0 KB >>> pulseaudio-modules-droid*: Compressing data... >>> pulseaudio-modules-droid*: Create checksum... >>> pulseaudio-modules-droid*: Create pulseaudio-modules-droid-13.0-r1.apk ]0;>>> pulseaudio-modules-droid: Build complete at Sun, 17 Nov 2019 18:41:18 +0000 elapsed time 0h 4m 25s ]0;>>> pulseaudio-modules-droid: Updating the pmos/armv7 repository index... >>> pulseaudio-modules-droid: Signing the index... mv: can't preserve ownership of '/mnt/pmbootstrap-packages/armv7/APKINDEX.tar.gz.2545': Operation not permitted ]0;(002181) [18:41:18] (buildroot_armv7) uninstall build dependencies (002181) [18:41:18] (buildroot_armv7) % cd /home/pmos/build; busybox su pmos -c SUDO_APK='abuild-apk --no-progress' HOME=/home/pmos abuild undeps ]0;abuild: pulseaudio-modules-droidWARNING: Ignoring APKINDEX.3f9c67ba.tar.gz: No such file or directory (1/108) Purging .makedepends-pulseaudio-modules-droid (20191117.183657) (2/108) Purging pulseaudio-openrc (13.0-r2) (3/108) Purging pulseaudio (13.0-r2) (4/108) Purging autoconf (2.69-r2) (5/108) Purging automake (1.16.1-r0) (6/108) Purging libtool (2.4.6-r6) (7/108) Purging bash (5.0.11-r1) Executing bash-5.0.11-r1.pre-deinstall (8/108) Purging m4 (1.4.18-r1) (9/108) Purging intltool (0.51.0-r4) (10/108) Purging perl-xml-parser (2.46-r0) (11/108) Purging perl-libwww (6.41-r0) (12/108) Purging perl-http-cookies (6.05-r0) (13/108) Purging perl-net-http (6.19-r0) (14/108) Purging perl-http-daemon (6.06-r0) (15/108) Purging perl-html-parser (3.72-r4) (16/108) Purging perl-html-tagset (3.20-r1) (17/108) Purging perl-file-listing (6.04-r1) (18/108) Purging perl-www-robotrules (6.02-r1) (19/108) Purging perl-http-negotiate (6.01-r1) (20/108) Purging perl-http-message (6.18-r0) (21/108) Purging perl-http-date (6.04-r0) (22/108) Purging perl-uri (1.76-r0) (23/108) Purging perl-io-html (1.001-r2) (24/108) Purging perl-lwp-mediatypes (6.04-r0) (25/108) Purging perl-encode-locale (1.05-r1) (26/108) Purging perl-try-tiny (0.30-r1) (27/108) Purging perl-capture-tiny (0.48-r0) (28/108) Purging perl-pod-coverage (0.23-r0) (29/108) Purging perl (5.30.0-r2) (30/108) Purging perl-devel-symdump (2.18-r0) (31/108) Purging perl-test-pod (1.52-r0) (32/108) Purging dbus-dev (1.12.16-r1) (33/108) Purging expat-dev (2.2.9-r0) (34/108) Purging pulsecore-private-headers (13.0-r0) (35/108) Purging pulseaudio-dev (13.0-r2) (36/108) Purging libpulse-mainloop-glib (13.0-r2) (37/108) Purging libpulse (13.0-r2) (38/108) Purging android-headers-7.1 (7.1_git20170630-r0) (39/108) Purging android-headers-7.1-caf (7.1_git20170630-r0) (40/108) Purging libhybris-dev (1.0_git20191001-r1) (41/108) Purging bsd-compat-headers (0.7.1-r0) (42/108) Purging android-headers-9.0 (9.0_git20190803-r0) (43/108) Purging libhybris-7.1 (1.0_git20191001-r1) (44/108) Purging libhybris (1.0_git20191001-r1) (45/108) Purging libsm (1.2.3-r0) (46/108) Purging libice (1.0.10-r0) (47/108) Purging glib-dev (2.62.2-r0) (48/108) Purging python3 (3.8.0-r0) (49/108) Purging gettext-dev (0.20.1-r1) (50/108) Purging gettext-asprintf (0.20.1-r1) (51/108) Purging gettext (0.20.1-r1) (52/108) Purging bzip2-dev (1.0.8-r1) (53/108) Purging libbz2 (1.0.8-r1) (54/108) Purging docbook-xsl (1.79.2-r2) Executing docbook-xsl-1.79.2-r2.post-deinstall (55/108) Purging libxslt (1.1.34-r0) (56/108) Purging docbook-xml (4.5-r6) Executing docbook-xml-4.5-r6.post-deinstall (57/108) Purging libxml2-utils (2.9.10-r0) (58/108) Purging util-linux-dev (2.34-r1) (59/108) Purging libfdisk (2.34-r1) (60/108) Purging libsmartcols (2.34-r1) (61/108) Purging libuuid (2.34-r1) (62/108) Purging libxtst (1.2.3-r3) (63/108) Purging libxext (1.3.4-r0) (64/108) Purging libx11 (1.6.9-r0) (65/108) Purging libxcb (1.13.1-r0) (66/108) Purging libxau (1.0.9-r0) (67/108) Purging libxdmcp (1.1.3-r0) (68/108) Purging libbsd (0.10.0-r0) (69/108) Purging dbus-libs (1.12.16-r1) (70/108) Purging libffi-dev (3.2.1-r6) (71/108) Purging linux-headers (4.19.36-r0) (72/108) Purging glib (2.62.2-r0) (73/108) Purging libffi (3.2.1-r6) (74/108) Purging gettext-libs (0.20.1-r1) (75/108) Purging libintl (0.20.1-r1) (76/108) Purging xz (5.2.4-r0) (77/108) Purging libxml2 (2.9.10-r0) (78/108) Purging xz-libs (5.2.4-r0) (79/108) Purging libmount (2.34-r1) (80/108) Purging libblkid (2.34-r1) (81/108) Purging pcre-dev (8.43-r0) (82/108) Purging libpcre16 (8.43-r0) (83/108) Purging libpcre32 (8.43-r0) (84/108) Purging libpcrecpp (8.43-r0) (85/108) Purging pcre (8.43-r0) (86/108) Purging libltdl (2.4.6-r6) (87/108) Purging orc (0.4.31-r0) (88/108) Purging libasyncns (0.8-r1) (89/108) Purging libsndfile (1.0.28-r8) (90/108) Purging libvorbis (1.3.6-r2) (91/108) Purging flac (1.3.3-r0) (92/108) Purging libogg (1.3.4-r0) (93/108) Purging alsa-lib (1.1.9-r0) (94/108) Purging soxr (0.1.3-r1) (95/108) Purging speexdsp (1.2.0-r0) (96/108) Purging tdb-libs (1.4.2-r0) (97/108) Purging eudev-libs (3.2.9-r1) (98/108) Purging readline (8.0.1-r0) (99/108) Purging ncurses-libs (6.1_p20191019-r0) (100/108) Purging ncurses-terminfo (6.1_p20191019-r0) (101/108) Purging ncurses-terminfo-base (6.1_p20191019-r0) (102/108) Purging expat (2.2.9-r0) (103/108) Purging libunistring (0.9.10-r0) (104/108) Purging gdbm (1.13-r1) (105/108) Purging sqlite-libs (3.30.1-r0) (106/108) Purging libgcrypt (1.8.5-r0) (107/108) Purging libgpg-error (1.36-r2) (108/108) Purging zlib-dev (1.2.11-r3) Executing busybox-1.31.1-r0.trigger OK: 126 MiB in 55 packages ]0;(002181) [18:41:21] NOTE: chroot is still active (use 'pmbootstrap shutdown' as necessary) (002181) [18:41:21] Done